Bug 242236 - devel/libsysinfo: move headers under include/libsysinfo/ prefix
Summary: devel/libsysinfo: move headers under include/libsysinfo/ prefix
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-11-25 21:55 UTC by Jan Beich
Modified: 2019-11-25 21:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (imp)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-11-25 21:55:11 UTC
Ports with USES=localbase and lang/gcc* look under /usr/local/include by default. Unexpected consumers may auto-detect sysinfo() based on sys/sysinfo.h availability but assume the symbol is in libc, not a separate library. In shared libraries underlinking may go unnoticed.

Steps to reproduce:
1. pkg install gcc9 libsysinfo xorg-minimal
2. CC=gcc9 make install clean -C/usr/ports/x11-drivers/xf86-video-intel
3. Adjust xorg.conf to use "intel" driver
4. startx
5. Livelock from VT switch to X server that failed to start
Comment 1 Jan Beich freebsd_committer 2019-11-25 21:58:44 UTC
3.1. Add xorg.conf to use Option "AccelMethod" "SNA"