Opened 9 years ago

Closed 9 years ago

#50306 closed defect (duplicate)

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

Reported by: shadowswan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: libtorrent-devel

Description

Have tried as part of a package and on its own.

does not seem to build,

The console output is bellow.

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main pkgconfig 0.28_0 exists in the ports tree
:debug:main pkgconfig 0.28_0  is the latest installed
:debug:main pkgconfig 0.28_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/pkgconfig
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! pkgconfig 0.28_0 >= pkgconfig 0.28_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.2e_0 exists in the ports tree
:debug:main openssl 1.0.2e_0  is the latest installed
:debug:main openssl 1.0.2e_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! openssl 1.0.2e_0 >= openssl 1.0.2e_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.8_0 exists in the ports tree
:debug:main zlib 1.2.8_0  is the latest installed
:debug:main zlib 1.2.8_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! zlib 1.2.8_0 >= zlib 1.2.8_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libsigcxx2 2.4.1_1 exists in the ports tree
:debug:main libsigcxx2 2.4.1_1  is the latest installed
:debug:main libsigcxx2 2.4.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsigcxx2
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libsigcxx2 2.4.1_1 >= libsigcxx2 2.4.1_1
:msg:main --->  Computing dependencies for libtorrent-devel:info:main .:debug:main Checking for conflicts against libtorrent-devel
:debug:main Searching for dependency: libtorrent
:debug:main Didn't find receipt, going to depspec regex for: libtorrent
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: libsigcxx2
:debug:main Found Dependency: receipt exists for libsigcxx2
:msg:main 
:debug:main Executing org.macports.main (libtorrent-devel)
: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 Skipping completed org.macports.archivefetch (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (libtorrent-devel)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Jan 12 17:06:13 GMT 2016
:notice:build --->  Building libtorrent-devel
:debug:build Executing org.macports.build (libtorrent-devel)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent-devel/libtorrent-devel/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent-devel/libtorrent-devel/work/libtorrent-0.13.3" && /usr/bin/make -j2 -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-devel/libtorrent-devel/work/libtorrent-0.13.3" && /usr/bin/make -j2 -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-devel/libtorrent-devel/work/libtorrent-0.13.3'
: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-devel/libtorrent-devel/work/libtorrent-0.13.3'
: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-devel/libtorrent-devel/work/libtorrent-0.13.3/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-devel/libtorrent-devel/work/libtorrent-0.13.3/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-devel/libtorrent-devel/work/libtorrent-0.13.3/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 -stdlib=libc++ -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE  -I/opt/local/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 -stdlib=libc++ -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE  -I/opt/local/include  -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.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 -stdlib=libc++ -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -I/opt/local/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 -stdlib=libc++ -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -I/opt/local/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 In file included from chunk_utils.cc:43:
:info:build In file included from ./../../manager.h:42:
:info:build ../../../rak/priority_queue_default.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]: *** [chunk_utils.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build 1 error generated.
:info:build make[4]: *** [block.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-devel/libtorrent-devel/work/libtorrent-0.13.3/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-devel/libtorrent-devel/work/libtorrent-0.13.3/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-devel/libtorrent-devel/work/libtorrent-0.13.3/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-devel/libtorrent-devel/work/libtorrent-0.13.3'
: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-devel/libtorrent-devel/work/libtorrent-0.13.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent-devel/libtorrent-devel/work/libtorrent-0.13.3" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port libtorrent-devel returned: command execution failed
:debug:build Error code: CHILDSTATUS 15325 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-devel: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port libtorrent-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libtorrent-devel/libtorrent-devel/main.log
 

Change History (2)

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

Port: libtorrent-devel added

In the future, please fill in the Port field.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: lib torrent-devel fails to build on 10.11libtorrent-devel: fatal error: 'tr1/functional' file not found

Duplicate of #41417.

Note: See TracTickets for help on using tickets.