Date: Fri, 02 Aug 2019 16:04:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239605] net-p2p/rtorrent - build fails: undefined reference to inotify_add_watch/inotify_init Message-ID: <bug-239605-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239605 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@freebsd.org Reporter: freebsd@never4evil.com Flags: maintainer-feedback?(dbaio@freebsd.org) Assignee: dbaio@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=3DCXX --mode=3Dlink c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Wall -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include=20 -I/usr/local/include -lexecinfo -pthread -fstack-protector-strong -o rtorr= ent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a=20 display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a=20 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 invocatio= n) *** [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 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes 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 --=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-239605-7788>