Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 08:45:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208795] [PATCH] multimedia/tvheadend: build fails when devel/libinotify is installed
Message-ID:  <bug-208795-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 208795
           Summary: [PATCH] multimedia/tvheadend: build fails when
                    devel/libinotify is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: razzfazz@gmail.com
                CC: decke@FreeBSD.org, delphij@FreeBSD.org
          Keywords: patch
                CC: decke@FreeBSD.org, delphij@FreeBSD.org

Created attachment 169309
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169309&action=
=3Dedit
add --disable-inotify to CONFIGURE_ARGS

The configure script attempts to determine presence of the inotify API; when
devel/libinotify is installed, it thinks the API is present, but does not
actually link the necessary library; as a result, the build fails with erro=
rs
like these:

/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/fs=
monitor.o:
In function `fsmonitor_del':
fsmonitor.c:(.text+0x1fc): undefined reference to `inotify_rm_watch'
/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/fs=
monitor.o:
In function `fsmonitor_init':
fsmonitor.c:(.text+0x6ca): undefined reference to `inotify_init1'
/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/fs=
monitor.o:
In function `fsmonitor_add':
fsmonitor.c:(.text+0xa4e): undefined reference to `inotify_add_watch'
/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/dv=
r/dvr_inotify.o:
In function `dvr_inotify_del':
dvr_inotify.c:(.text+0x3c2): undefined reference to `inotify_rm_watch'
/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/dv=
r/dvr_inotify.o:
In function `dvr_inotify_add':
dvr_inotify.c:(.text+0x913): undefined reference to `inotify_add_watch'
/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/src/dv=
r/dvr_inotify.o:
In function `dvr_inotify_init':
dvr_inotify.c:(.text+0xbfa): undefined reference to `inotify_init1'
Makefile:437: recipe for target
'/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/tvhea=
dend'
failed
gmake: ***
[/usr/ports/multimedia/tvheadend/work/tvheadend-0499859/build.freebsd/tvhea=
dend]
Error 1
*** [do-build] Error code 1

Attached patch adds --disable-inotify to CONFIGURE_ARGS to avoid this.

--=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-208795-13>