[Bug 252661] benchmarks/stress-ng fails to build if libinotify is installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 14 07:20:11 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252661
Bug ID: 252661
Summary: benchmarks/stress-ng fails to build if libinotify is
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: pizzamig at freebsd.org
Reporter: dewayne at heuristicsystems.com.au
Assignee: pizzamig at freebsd.org
Flags: maintainer-feedback?(pizzamig at freebsd.org)
On FreeBSD12.2Stable on both amd64 and i386,
# make -C /usr/ports/benchmarks/stress-ng clean package
...
/usr/bin/ld: stress-resources.o: in function `stress_resources':
stress-resources.c:(.text+0x5d2): undefined reference to `inotify_init'
/usr/bin/ld: stress-resources.c:(.text+0x76b): undefined reference to
`inotify_add_watch'
collect2: error: ld returned 1 exit status
However
# pkg delete libinotify-20180201_2
# make -C /usr/ports/benchmarks/stress-ng clean package
...
===> Building package for stress-ng-0.12.01
:)
I really don't know how this can be captured in the Makefile - its not really a
conflict but it is a barrier. It seems that there are tests during the build
around HAVE_INOTIFY which triggers if libinotify is installed.
Aside: Changing my build sequence putting stress-ng before devel/libinotify is
successful.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list