Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15539 closed defect (duplicate)

libtorrent build failure

Reported by: quimbley@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: gardnermj@…
Port:

Description

I'm trying to install rtorrent on my mac (400 MHz PowerPC G3 iMac running a clean install OS X 10.4). I've installed the appropriate Xcode Tools version, and Macports.

I seem to be having a problem with the libtorrent installation. This is the log containing the error I'm getting:


---> Fetching libtorrent ---> Attempting to fetch libtorrent-0.11.9.tar.gz from http://libtorrent.rakshasa.no/downloads/ ---> Verifying checksum(s) for libtorrent ---> Extracting libtorrent ---> Configuring libtorrent ---> Building libtorrent with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libtorrent/work/libtorrent-0.11.9" && make all " returned error 2 Command output: /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT resume.lo -MD -MP -MF .deps/resume.Tpo -c resume.cc -fno-common -DPIC -o .libs/resume.o if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT torrent.lo -MD -MP -MF ".deps/torrent.Tpo" -c -o torrent.lo torrent.cc; \ then mv -f ".deps/torrent.Tpo" ".deps/torrent.Plo"; else rm -f ".deps/torrent.Tpo"; exit 1; fi

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT torrent.lo -MD -MP -MF .deps/torrent.Tpo -c torrent.cc -fno-common -DPIC -o .libs/torrent.o

if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT tracker.lo -MD -MP -MF ".deps/tracker.Tpo" -c -o tracker.lo tracker.cc; \ then mv -f ".deps/tracker.Tpo" ".deps/tracker.Plo"; else rm -f ".deps/tracker.Tpo"; exit 1; fi

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c tracker.cc -fno-common -DPIC -o .libs/tracker.o

if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT tracker_list.lo -MD -MP -MF ".deps/tracker_list.Tpo" -c -o tracker_list.lo tracker_list.cc; \ then mv -f ".deps/tracker_list.Tpo" ".deps/tracker_list.Plo"; else rm -f ".deps/tracker_list.Tpo"; exit 1; fi

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT tracker_list.lo -MD -MP -MF .deps/tracker_list.Tpo -c tracker_list.cc -fno-common -DPIC -o .libs/tracker_list.o

/bin/sh ../../libtool --tag=CXX --mode=link /usr/bin/g++-4.0 -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -L/opt/local/lib -o libsub_torrent.la bitfield.lo chunk_manager.lo connection_manager.lo download.lo error.lo exceptions.lo http.lo object.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo resume.lo torrent.lo tracker.lo tracker_list.lo -lcrypto -L/opt/local/lib -L/opt/local/lib -lsigc-2.0 ar cru .libs/libsub_torrent.a .libs/bitfield.o .libs/chunk_manager.o .libs/connection_manager.o .libs/download.o .libs/error.o .libs/exceptions.o .libs/http.o .libs/object.o .libs/object_stream.o .libs/path.o .libs/poll_epoll.o .libs/poll_kqueue.o .libs/poll_select.o .libs/rate.o .libs/resume.o .libs/torrent.o .libs/tracker.o .libs/tracker_list.o ranlib .libs/libsub_torrent.a creating libsub_torrent.la (cd .libs && rm -f libsub_torrent.la && ln -s ../libsub_torrent.la libsub_torrent.la) Making all in data if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT chunk.lo -MD -MP -MF ".deps/chunk.Tpo" -c -o chunk.lo chunk.cc; \ then mv -f ".deps/chunk.Tpo" ".deps/chunk.Plo"; else rm -f ".deps/chunk.Tpo"; exit 1; fi mkdir .libs

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT chunk.lo -MD -MP -MF .deps/chunk.Tpo -c chunk.cc -fno-common -DPIC -o .libs/chunk.o

if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT chunk_list.lo -MD -MP -MF ".deps/chunk_list.Tpo" -c -o chunk_list.lo chunk_list.cc; \ then mv -f ".deps/chunk_list.Tpo" ".deps/chunk_list.Plo"; else rm -f ".deps/chunk_list.Tpo"; exit 1; fi

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT chunk_list.lo -MD -MP -MF .deps/chunk_list.Tpo -c chunk_list.cc -fno-common -DPIC -o .libs/chunk_list.o

../../rak/functional.h: In member function `Ret rak::mem_fun1<Object, Ret, Arg1>::operator()(Arg1) [with Object = torrent::DownloadWrapper, Ret = void, Arg1 = const std::string&]': chunk_list.cc:295: instantiated from here ../../rak/functional.h:524: error: return-statement with a value, in function returning 'void' make[3]: * [chunk_list.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: The following dependencies failed to build: libtorrent ncurses ncursesw Error: Status 1 encountered during processing.


Any help would be greatly appreciated.

Change History (4)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: gardnermj@… added
Milestone: Port Bugs
Summary: Running into "Error: Status 1" whilst trying to install rtorrentlibtorrent build failure

Cc maintainer. In future, please use proper WikiFormatting when posting preformatted text.

comment:2 Changed 16 years ago by gardnermj@…

See #14447.

comment:3 Changed 15 years ago by tobypeterson

Resolution: duplicate
Status: newclosed

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.