[Bug 239605] net-p2p/rtorrent - build fails: undefined reference to inotify_add_watch/inotify_init

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 2 16:05:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239605

            Bug ID: 239605
           Summary: net-p2p/rtorrent - build fails: undefined reference to
                    inotify_add_watch/inotify_init
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dbaio at freebsd.org
          Reporter: freebsd at never4evil.com
             Flags: maintainer-feedback?(dbaio at freebsd.org)
          Assignee: dbaio at freebsd.org

Not sure if issue is libtorrent or rtorrent, but since libtorrent builds and
rtorrent does not, I am submitting the bug here.  I have a fresh ports tree on
11.3-RELEASE-p1.  Have rebuilt libtorrent (0.13.8), curl (7.65.3), xmlrpc-c
(1.51.03_1) ports and get the following build error that is repeatable on
multiple boxes:

#################TRIMMED#################

--- rtorrent ---
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -Wall
-I/usr/local/include  -D_THREAD_SAFE    -I/usr/local/include 
-I/usr/local/include  -lexecinfo -pthread -fstack-protector-strong -o rtorrent
main.o libsub_root.a  ui/libsub_ui.a  core/libsub_core.a 
display/libsub_display.a  input/libsub_input.a  rpc/libsub_rpc.a 
utils/libsub_utils.a -lncursesw    -L/usr/local/lib -lcurl  -L/usr/local/lib
-ltorrent   -L/usr/local/lib  -Wl,-rpath,/usr/local/lib  -lxmlrpc_server
-lxmlrpc  -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread
libtool: link: c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DNDEBUG -Wall -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include
-I/usr/local/include -pthread -fstack-protector-strong -o rtorrent main.o
-Wl,-rpath -Wl,/usr/local/lib  -lexecinfo libsub_root.a ui/libsub_ui.a
core/libsub_core.a display/libsub_display.a input/libsub_input.a
rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib -lcurl
-ltorrent -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok
-lxmlrpc_util -lpthread -pthread
/usr/local/lib/libtorrent.so: undefined reference to `inotify_add_watch'
/usr/local/lib/libtorrent.so: undefined reference to `inotify_init'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [rtorrent] Error code 1

make[5]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8/src
1 error

make[5]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8/src
*** [all-recursive] Error code 1

make[4]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8/src
1 error

make[4]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8/src
*** [all-recursive] Error code 1

make[3]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8
1 error

make[3]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8
*** [all] Error code 2

make[2]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8
1 error

make[2]: stopped in /usr/ports/net-p2p/rtorrent/work/rtorrent-0.9.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-p2p/rtorrent
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/rtorrent

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


More information about the freebsd-ports-bugs mailing list