[MacPorts] #41417: libtorrent: fatal error: 'tr1/functional' file not found

MacPorts noreply at macports.org
Tue Nov 25 21:30:23 PST 2014


#41417: libtorrent: fatal error: 'tr1/functional' file not found
---------------------------+-------------------------
  Reporter:  sbinshabib@…  |      Owner:  gardnermj@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:  mavericks
      Port:  libtorrent    |
---------------------------+-------------------------

Comment (by bmmcwhirt@…):

 Replying to [comment:18 rharwood@…]:
 > Replying to [comment:8 kakuro69@…]:
 > > Replying to [comment:6 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 at 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41417#comment:23>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list