Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2021 07:20:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252661] benchmarks/stress-ng fails to build if libinotify is installed
Message-ID:  <bug-252661-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252661

            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@freebsd.org
          Reporter: dewayne@heuristicsystems.com.au
          Assignee: pizzamig@freebsd.org
             Flags: maintainer-feedback?(pizzamig@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=20
# pkg delete libinotify-20180201_2
# make -C /usr/ports/benchmarks/stress-ng  clean package
...
=3D=3D=3D>  Building package for stress-ng-0.12.01
:)

I really don't know how this can be captured in the Makefile - its not real=
ly a
conflict but it is a barrier.  It seems that there are tests during the bui=
ld
around HAVE_INOTIFY which triggers if libinotify is installed.=20=20

Aside: Changing my build sequence putting stress-ng before devel/libinotify=
 is
successful.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252661-7788>