Opened 10 years ago

Closed 5 years ago

#41417 closed defect (fixed)

libtorrent, libtorrent-devel: fatal error: 'tr1/functional' file not found

Reported by: sbinshabib@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks yosemite elcapitan sierra highsierra mojave Cc: kakuro69@…, rmerpes, sebastian@…, jf (Jeffrey 'jf' Lim), SickTeddyBear, mwinmwin@…, ClintO (Clint O), macports@…, shadowswan@…, krissen (Kristian Niemi), desertshadow@…, posita (Matt Bogosian), borgo1971, n7zzt (eric oyen)
Port: libtorrent, libtorrent-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have searched through the Trac system and I have tried most of the fixes, but still encountering this issue. please assist.

I am currently Running:
OS X Mavericks
MacPorts 2.2.1
xcode-select version 2333
Xcode 5.0.2

version:1
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libtorrent/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (libtorrent)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Mon Nov 18 12:36:29 GST 2013
:msg:archivefetch --->  Fetching archive for libtorrent
:debug:archivefetch Executing org.macports.archivefetch (libtorrent)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  libtorrent-0.13.2_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch libtorrent-0.13.2_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/libtorrent
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch libtorrent-0.13.2_0.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libtorrent
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch libtorrent-0.13.2_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libtorrent
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Nov 18 12:36:30 GST 2013
:notice:fetch --->  Fetching distfiles for libtorrent
:debug:fetch Executing org.macports.fetch (libtorrent)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Nov 18 12:36:30 GST 2013
:notice:checksum --->  Verifying checksums for libtorrent
:debug:checksum Executing org.macports.checksum (libtorrent)
:info:checksum --->  Checksumming libtorrent-0.13.2.tar.gz
:debug:checksum Correct (rmd160) checksum for libtorrent-0.13.2.tar.gz
:debug:checksum Correct (sha256) checksum for libtorrent-0.13.2.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Nov 18 12:36:30 GST 2013
:notice:extract --->  Extracting libtorrent
:debug:extract Executing org.macports.extract (libtorrent)
:info:extract --->  Extracting libtorrent-0.13.2.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/libtorrent/libtorrent-0.13.2.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libtorrent/libtorrent-0.13.2.tar.gz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libtorrent/libtorrent-0.13.2.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Nov 18 12:36:30 GST 2013
:debug:patch Executing org.macports.patch (libtorrent)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Nov 18 12:36:30 GST 2013
:notice:configure --->  Configuring libtorrent
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (libtorrent)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -Os -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -Os -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.9' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -Os -m64' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' FCFLAGS='-pipe -Os -m64' OBJC='/usr/bin/clang' OBJCXX='/usr/bin/clang++' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64' OBJCXXFLAGS='-pipe -Os -arch x86_64' FFLAGS='-pipe -Os -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: '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" && ./configure --prefix=/opt/local --disable-debug --enable-ipv6 --with-kqueue'
:debug:configure Executing command line:  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" && ./configure --prefix=/opt/local --disable-debug --enable-ipv6 --with-kqueue 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... no
:info:configure checking for mawk... no
:info:configure checking for nawk... no
:info:configure checking for awk... awk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking for cppunit-config... no
:info:configure checking for Cppunit - version >= 1.9.6... no
:info:configure checking build system type... x86_64-apple-darwin13.0.0
:info:configure checking host system type... x86_64-apple-darwin13.0.0
:info:configure checking how to print strings... printf
:info:configure checking for style of include used by make... GNU
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking for a sed that does not truncate output... /usr/bin/sed
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for fgrep... /usr/bin/grep -F
:info:configure checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
:info:configure checking the name lister (/usr/bin/nm) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking whether the shell understands some XSI constructs... yes
:info:configure checking whether the shell understands "+="... yes
:info:configure checking how to convert x86_64-apple-darwin13.0.0 file names to x86_64-apple-darwin13.0.0 format... func_convert_file_noop
:info:configure checking how to convert x86_64-apple-darwin13.0.0 file names to toolchain format... func_convert_file_noop
:info:configure checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
:info:configure checking for objdump... no
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for dlltool... no
:info:configure checking how to associate runtime and link libraries... printf %s\n
:info:configure checking for ar... ar
:info:configure checking for archiver @FILE support... no
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
:info:configure checking for sysroot... no
:info:configure checking for mt... no
:info:configure checking if : is a manifest tool... no
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking for -force_load linker flag... yes
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
:info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
:info:configure checking if /usr/bin/clang static flag -static works... no
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking if /usr/bin/clang supports -c -o file.o... (cached) yes
:info:configure checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.0.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... no
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking dependency style of /usr/bin/clang++... gcc3
:info:configure checking how to run the C++ preprocessor... /usr/bin/clang++ -E
:info:configure checking for ld used by /usr/bin/clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
:info:configure checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
:info:configure checking if /usr/bin/clang++ static flag -static works... no
:info:configure checking if /usr/bin/clang++ supports -c -o file.o... yes
:info:configure checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.0.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether byte ordering is bigendian... no
:info:configure checking the byte alignment... required
:info:configure checking for user-defined CXXFLAGS... user-defined "-pipe -Os -arch x86_64"
:info:configure checking for TR1 support... no
:info:configure checking for C++11 support... no
:info:configure checking for special C compiler options needed for large files... no
:info:configure checking for _FILE_OFFSET_BITS value needed for large files... no
:info:configure checking for sysroot... no
:info:configure checking for kqueue support... yes
:info:configure checking whether kqueue supports pipes and ptys... no
:info:configure checking for epoll support... no
:info:configure checking for fallocate... no
:info:configure checking size of long... 8
:info:configure checking sys/vfs.h usability... no
:info:configure checking sys/vfs.h presence... no
:info:configure checking for sys/vfs.h... no
:info:configure checking sys/statvfs.h usability... yes
:info:configure checking sys/statvfs.h presence... yes
:info:configure checking for sys/statvfs.h... yes
:info:configure checking sys/statfs.h usability... no
:info:configure checking sys/statfs.h presence... no
:info:configure checking for sys/statfs.h... no
:info:configure checking for statvfs... ok
:info:configure checking if compiler supports __attribute__((visibility("default")))... yes
:info:configure checking whether pthreads work with -pthread... yes
:info:configure checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
:info:configure checking if more special flags are required for pthreads... -D_THREAD_SAFE
:info:configure checking for PTHREAD_PRIO_INHERIT... yes
:info:configure checking for pkg-config... /opt/local/bin/pkg-config
:info:configure checking pkg-config is at least version 0.9.0... yes
:info:configure checking for OPENSSL... yes
:info:configure checking for STUFF... yes
:info:configure checking for posix_memalign... yes
:info:configure checking for madvise... no
:info:configure checking for cacheline... using default 128 bytes
:info:configure checking for __builtin_popcount... yes
:info:configure checking signedness of mincore parameter... signed
:info:configure checking for proper overloaded template function disambiguation... yes
:info:configure checking if compiler supports __attribute__((unused))... yes
:info:configure configure: creating ./config.status
:info:configure config.status: creating libtorrent.pc
:info:configure config.status: creating Makefile
:info:configure config.status: creating src/Makefile
:info:configure config.status: creating src/torrent/Makefile
:info:configure config.status: creating src/torrent/peer/Makefile
:info:configure config.status: creating src/torrent/data/Makefile
:info:configure config.status: creating src/torrent/download/Makefile
:info:configure config.status: creating src/torrent/utils/Makefile
:info:configure config.status: creating src/data/Makefile
:info:configure config.status: creating src/dht/Makefile
:info:configure config.status: creating src/download/Makefile
:info:configure config.status: creating src/net/Makefile
:info:configure config.status: creating src/protocol/Makefile
:info:configure config.status: creating src/tracker/Makefile
:info:configure config.status: creating src/utils/Makefile
:info:configure config.status: creating test/Makefile
:info:configure config.status: creating config.h
:info:configure config.status: executing depfiles commands
:info:configure config.status: executing libtool commands
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Nov 18 12:36:41 GST 2013
:notice:build --->  Building libtorrent
:debug:build Executing org.macports.build (libtorrent)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: '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'
:debug:build Executing command line:  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 make: Entering 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 /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[1]: Entering 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 Making all in src
:info:build make[2]: Entering 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 Making all in torrent
:info:build make[3]: Entering 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 Making all in data
:info:build make[4]: Entering 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 /bin/sh ../../../libtool --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../..  -I/opt/local/include  -pipe -Os -arch x86_64 -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 -o block.lo block.cc
:info:build /bin/sh ../../../libtool --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../..  -I/opt/local/include  -pipe -Os -arch x86_64 -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_list.lo -MD -MP -MF .deps/block_list.Tpo -c -o block_list.lo block_list.cc
:info:build /bin/sh ../../../libtool --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../..  -I/opt/local/include  -pipe -Os -arch x86_64 -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 chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.cc
:info:build /bin/sh ../../../libtool --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../..  -I/opt/local/include  -pipe -Os -arch x86_64 -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 download_data.lo -MD -MP -MF .deps/download_data.Tpo -c -o download_data.lo download_data.cc
: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 -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_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc  -fno-common -DPIC -o .libs/block_list.o
: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 -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 chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c chunk_utils.cc  -fno-common -DPIC -o .libs/chunk_utils.o
: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 -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 libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/opt/local/include -pipe -Os -arch x86_64 -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 download_data.lo -MD -MP -MF .deps/download_data.Tpo -c download_data.cc  -fno-common -DPIC -o .libs/download_data.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 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 1 error generated.
: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 20424 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
"$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 couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
: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

Attachments (2)

change-libtorrent-maintainer-compiler.diff (833 bytes) - added by stuartwesterman (Stuart Westerman) 9 years ago.
change-rtorrent-maintainer-compiler.diff (902 bytes) - added by stuartwesterman (Stuart Westerman) 9 years ago.

Download all attachments as: .zip

Change History (49)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mavericks added; rtorrent libtorrent removed
Owner: changed from macports-tickets@… to gardnermj@…
Port: libtorrent added
Summary: Issues while installing rtorrent (issue encountered while installing lib torrent)libtorrent: fatal error: 'tr1/functional' file not found

Please report this problem to the developers of libtorrent so that they can fix it.

comment:2 Changed 10 years ago by gardnermj@…

Has already been reported upstream:

https://github.com/rakshasa/libtorrent/issues/47

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kakuro69@… added

Has duplicate #41494.

comment:4 Changed 10 years ago by kakuro69@…

Cc: kakuro69@… removed

Cc Me!

comment:5 Changed 10 years ago by kakuro69@…

Cc: kakuro69@… added

Cc Me!

comment:6 Changed 10 years ago by davidfavor (David Favor)

Temp work around to get a clean compile is to add this to net/lib/libtorrent/Portfile...

configure.compiler      macports-gcc-4.8
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 10 years ago by davidfavor (David Favor)

Ah... This also has to be added to net/rtorrent/Portfile...

rtorrent client compiles + seems to work.

comment:8 in reply to:  6 ; Changed 10 years ago by kakuro69@…

Replying to david@…:

Temp work around to get a clean compile is to add this to net/lib/libtorrent/Portfile...

configure.compiler      macports-gcc-4.8

Thank you for the suggestion, however with gcc 4.9 (devel) it doesn't work.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 Changed 10 years ago by avysk (Alexey Vyskubov)

Cc: tascafoo@… added

Cc Me!

comment:10 Changed 10 years ago by avysk (Alexey Vyskubov)

Cc: tascafoo@… removed

Cc Me!

comment:11 Changed 10 years ago by rmstonecipher@…

Michael,
Adding the following to the portfiles for libtorrent and rtorrent fixes this behavior:

compiler.blacklist  *clang*

I have been running a local build with that modification to the portfiles for a couple months now and have not noticed any bad behaviors.
I know this is not ideal since clang is here to stay, but in lieu of an upstream release I would like to suggest adding this fix temporarily and bumping the revision.
Let me know if you would allow me to make the change - this port does not have an open maintainership policy.

RMStonecipher

comment:12 in reply to:  11 ; Changed 10 years ago by gardnermj@…

I had expected an upstream fix by now, given this comment: https://github.com/rakshasa/libtorrent/issues/47#issuecomment-27618878

But since there hasn't been one, I suppose a workaround is in order. I'm not qualified to say whether your patch is the best fix for the issue, but I've no objection to adding it.

Incidentally, I haven't been using rtorrent for some time, so it might be best if I drop maintainership so that someone with a more active interest could take over. Not sure what the procedure for that is, though.

comment:13 Changed 10 years ago by rmerpes

Cc: rmerpes@… added

Cc Me!

comment:14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sebastian@… added

Has duplicate #43263.

comment:15 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Fixing the software to build with clang is best. Please see wiki:FAQ#libcpp.

comment:16 Changed 10 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:17 Changed 10 years ago by macports@…

Cc: macports@… removed

Cc Me!

comment:18 in reply to:  8 ; Changed 10 years ago by frozencemetery (Robbie Harwood)

Replying to kakuro69@…:

Replying to david@…:

Temp work around to get a clean compile is to add this to net/lib/libtorrent/Portfile...

configure.compiler      macports-gcc-4.8

Thank you for the suggestion, however with gcc 4.9 (devel) it doesn't work.

gcc-4.9 did not work for me, though 4.8 worked fine. (I passed configure.compiler as an option rather than modifying Portfile, but I believe it's equivalent.)

comment:19 in reply to:  12 Changed 10 years ago by vladsot@…

There is a newer stable version 0.13.4 but it does not address this issue. Allegedly the current master branch from upstream does (https://github.com/rakshasa/libtorrent/issues/47#issuecomment-46342450), but there is no unstable version 0.13.5 yet.

Last edited 10 years ago by vladsot@… (previous) (diff)

comment:20 Changed 10 years ago by jf (Jeffrey 'jf' Lim)

Cc: jfs.world@… added

Cc Me!

comment:21 Changed 10 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:22 Changed 9 years ago by mf2k (Frank Schima)

Cc: stuartwesterman@… added

comment:23 in reply to:  18 Changed 9 years ago by bmmcwhirt@…

Replying to rharwood@…:

Replying to kakuro69@…:

Replying to david@…:

Temp work around to get a clean compile is to add this to net/lib/libtorrent/Portfile...

configure.compiler      macports-gcc-4.8

Thank you for the suggestion, however with gcc 4.9 (devel) it doesn't work.

gcc-4.9 did not work for me, though 4.8 worked fine. (I passed configure.compiler as an option rather than modifying Portfile, but I believe it's equivalent.)

This still does not work for me:

--->  Attempting to fetch libtorrent-0.13.2_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/libtorrent
--->  Fetching distfiles for libtorrent
--->  Verifying checksums for libtorrent
--->  Extracting libtorrent
--->  Configuring libtorrent
Error: Failed to configure libtorrent, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2/config.log
Error: org.macports.configure for port libtorrent returned: configure failure: command execution failed
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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libtorrent failed
server:local iceberg$ 

Here is the bit from the logfile that looked important, I can post the whole thing if needed.

configure:3871: checking whether the C compiler works
configure:3893: /opt/local/bin/gcc-mp-4.8 -pipe -Os -m64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names conftest.c  >&5
collect2: error: ld terminated with signal 5 [Trace/BPT trap: 5]
dyld: Library not loaded: /opt/local/lib/libedit.0.dylib
  Referenced from: /opt/local/libexec/llvm-3.5/lib/libLTO.dylib
  Reason: image not found
configure:3897: $? = 1
configure:3935: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libtorrent"
| #define PACKAGE_TARNAME "libtorrent"
| #define PACKAGE_VERSION "0.13.2"
| #define PACKAGE_STRING "libtorrent 0.13.2"
| #define PACKAGE_BUGREPORT "jaris@ifi.uio.no"
| #define PACKAGE_URL ""
| #define PEER_NAME "-lt0D20-"
| #define PEER_VERSION "lt\x0D\x20"
| #define PACKAGE "libtorrent"
| #define VERSION "0.13.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3940: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent/libtorrent/work/libtorrent-0.13.2':
configure:3942: error: C compiler cannot create executables
See `config.log' for more details

comment:24 Changed 9 years ago by mwinmwin@…

Cc: mwinmwin@… added

Cc Me!

comment:25 Changed 9 years ago by ClintO (Clint O)

Cc: clint.olsen@… added

Cc Me!

comment:26 Changed 9 years ago by ClintO (Clint O)

As of late (Yosemite 10.10.3), the workaround listed above didn't exactly work for me, but modifying the Portfile for libtorrent and rtorrent to

configure.compiler  macports-gcc-4.9

yielded a clean compile.

comment:27 Changed 9 years ago by stuartwesterman (Stuart Westerman)

Changing the compiler to 4.9 worked for me too. I'm attaching diffs for rtorrent and libtorrent that make the compiler change as well as add me as the maintainer. Please update and close if you guys agree.

Last edited 9 years ago by stuartwesterman (Stuart Westerman) (previous) (diff)

Changed 9 years ago by stuartwesterman (Stuart Westerman)

Changed 9 years ago by stuartwesterman (Stuart Westerman)

comment:28 Changed 9 years ago by jmroot (Joshua Root)

Owner: changed from gardnermj@… to macports-tickets@…

-> nomaintainer

comment:29 Changed 9 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:30 Changed 9 years ago by ClintO (Clint O)

I just saw an update to a new port version 0.9.2_1, but I had to apply my Portfile change (again) in comment:26 in order to get it to work. I thought I might see a comment in this ticket for it. Is there a plan to fix this for good or is something else wrong with my ports setup? I'm now on 10.10.5.

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:31 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stuartwesterman@… removed
Keywords: yosemite elcapitan added
Owner: changed from macports-tickets@… to stuartwesterman@…

The homepage listed in the libtorrent and rtorrent ports no longer seems to exist. libtorrent seems to have moved to http://www.libtorrent.org/ and github. The port should be updated to the new version available there, which will hopefully be compatible with Mavericks and later.

comment:32 Changed 8 years ago by macports@…

Cc: macports@… removed

Cc Me!

comment:33 Changed 8 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:34 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: shadowswan@… added
Port: libtorrent-devel added
Summary: libtorrent: fatal error: 'tr1/functional' file not foundlibtorrent, libtorrent-devel: fatal error: 'tr1/functional' file not found

Has duplicate #50306.

comment:35 Changed 8 years ago by krissen (Kristian Niemi)

Cc: kristian.niemi@… added

Cc Me!

comment:36 Changed 8 years ago by desertshadow@…

Cc: desertshadow@… added

Cc Me!

comment:37 Changed 8 years ago by desertshadow@…

It looks like the fix has been known for over a year, but I can confirm this still happens on El Capitan.

Out of curiosity, how does one change the compiler via the command line? Could this be added to UsingTheRightCompiler and the port install part of https://guide.macports.org/ ? I tried this, but I get a cryptic error:

$ sudo port install libtorrent configure.compiler=macports-gcc-4.8
Error: port lookup failed: too many nested evaluations (infinite loop?)
Error: Unable to execute port: upgrade pkgconfig failed

Anyway, likewise for El Capitan, adding the line

configure.compiler   macports-gcc-4.9

to

/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libtorrent/Portfile

Fixed it for me.

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:38 Changed 8 years ago by posita (Matt Bogosian)

Cc: mtb19@… added

Cc Me!

comment:39 Changed 8 years ago by posita (Matt Bogosian)

It doesn't look like libtorrent supports a +gcc49 variant (yet). 😞

Last edited 8 years ago by posita (Matt Bogosian) (previous) (diff)

comment:40 Changed 8 years ago by jf (Jeffrey 'jf' Lim)

Does anybody have a recommendation for an rtorrent-like tool that depends on the other libtorrent at libtorrent.org (libtorrent-rasterbar, browser:trunk/dports/net/libtorrent-rasterbar/Portfile) instead?

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:41 Changed 7 years ago by ClintO (Clint O)

Also seeing this in Sierra...

comment:42 Changed 7 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted
Status: newassigned

comment:43 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: borgo1971 added
Description: modified (diff)
Keywords: sierra highsierra added

Has duplicate #55822.

comment:44 in reply to:  31 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

The homepage listed in the libtorrent and rtorrent ports no longer seems to exist. libtorrent seems to have moved to http://www.libtorrent.org/ and github.

THIS IS WRONG. The libtorrent available at https://www.libtorrent.org and https://github.com/arvidn/libtorrent is a completely different libtorrent from the one that we have in MacPorts. We need to update to the latest version of the libtorrent whose homepage is now https://rakshasa.github.io/rtorrent/ and is on GitHub at https://github.com/rakshasa/libtorrent. See #52476 for that libtorrent update and #52477 for the corresponding rtorrent update.

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:45 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: n7zzt added
Keywords: mojave added

Has duplicate #57024.

comment:46 Changed 5 years ago by kencu (Ken)

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:47 Changed 5 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.