rtorrent/libtorrent compile fail

Felipe Mannshardt Oliveira felipe.de at gmail.com
Wed Oct 14 00:29:33 PDT 2015


Hello,

can some one please help me out?

First, why is the macports rtorrent version so old?

> Felipes-MacBook-Pro:~ fmo$ port search rtorrent
> rtorrent @0.9.2_1 (net)
>     console-based BitTorrent client
> 
> rtorrent-devel @0.9.3_1 (net)
>     console-based BitTorrent client (unstable release)
> 
> Found 2 ports.


Ain’t rtorrent at version 0.9.6?

Anyway, back to my problem:

I am trying to install rtorrent and i get the following error:

> Felipes-MacBook-Pro:~ fmo$ sudo port install rtorrent
> --->  Computing dependencies for rtorrent
> --->  Dependencies to be installed: libtorrent
> --->  Fetching archive for libtorrent
> --->  Attempting to fetch libtorrent-0.13.2_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/libtorrent
> --->  Attempting to fetch libtorrent-0.13.2_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/libtorrent
> --->  Attempting to fetch libtorrent-0.13.2_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/libtorrent
> --->  Fetching distfiles for libtorrent
> --->  Verifying checksums for libtorrent
> --->  Extracting libtorrent
> --->  Configuring libtorrent
> --->  Building libtorrent
> Error: org.macports.build for port libtorrent returned: command execution failed
> Error: Failed to install libtorrent
> Please see the log file for port libtorrent for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/main.log
> Error: The following dependencies were not installed: libtorrent
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port rtorrent failed
> Felipes-MacBook-Pro:~ fmo$


Checking the log file, the problem seems to start here (fatal error: 'tr1/functional' file not found):

> :info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc  -fno-common -DPIC -o .libs/block.o
> :info:build In file included from download_data.cc:41:
> :info:build ./download_data.h:40:10: fatal error: 'tr1/functional' file not found
> :info:build #include <tr1/functional>
> :info:build          ^
> :info:build 1 error generated.
> :info:build In file included from block.cc:44:
> :info:build In file included from ./../../protocol/peer_connection_base.h:42:
> :info:build ./../../torrent/poll.h:40:10: fatal error: 'tr1/functional' file not found
> :info:build #include <tr1/functional>
> :info:build          ^
> :info:build make[4]: *** [download_data.lo] Error 1
> :info:build make[4]: *** Waiting for unfinished jobs....
> :info:build In file included from chunk_utils.cc:43:
> :info:build In file included from ./../../manager.h:42:
> :info:build ../../../rak/priority_queue_default.h:41:10: fatal error: 'tr1/functional' file not found
> :info:build #include <tr1/functional>
> :info:build          ^
> :info:build mv -f .deps/block_list.Tpo .deps/block_list.Plo
> :info:build 1 error generated.
> :info:build make[4]: *** [block.lo] Error 1
> :info:build 1 error generated.
> :info:build make[4]: *** [chunk_utils.lo] Error 1
> :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2/src/torrent/data'
> :info:build make[3]: *** [all-recursive] Error 1
> :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2/src/torrent'
> :info:build make[2]: *** [all-recursive] Error 1
> :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2/src'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2'
> :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2" && /usr/bin/make -j4 -w all 
> :info:build Exit code: 2
> :error:build org.macports.build for port libtorrent returned: command execution failed
> :debug:build Error code: CHILDSTATUS 81148 2
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
>     invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "portbuild::build_main org.macports.build"
>     ("eval" body line 1)
>     invoked from within
> "eval $procedure $targetname"
> :info:build Warning: targets not executed for libtorrent: org.macports.activate org.macports.build org.macports.destroot org.macports.install
> :error:build Failed to install libtorrent
> :debug:build Registry error: libtorrent not registered as installed & active.
>     invoked from within
> "registry_active $subport"
>     invoked from within
> "$workername eval registry_active \$subport"
> :notice:build Please see the log file for port libtorrent for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/main.log
>  


Any help would be welcomed!

Take care!


More information about the macports-users mailing list