Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#14447 closed defect (fixed)

libtorrent does not build on OSX 10.4

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

Description

libtorrent and the libtorrent-devel branch won't build on my 10.4 box. I get the following error:

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -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

Change History (7)

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

Cc: gardnermj@… added
Milestone: Port Bugs

Cc maintainer.

comment:2 Changed 16 years ago by gardnermj@…

This is due to a bug in Apple's GCC 4.0.0 on OS X 10.4: http://libtorrent.rakshasa.no/ticket/96

Since it's fixed in 10.5, I don't plan to try and get libtorrent working under 10.4. But if somebody else wants to do so, and send in a patched Portfile, I'd have no objections...

comment:3 Changed 16 years ago by daniel.bond@…

Now builds cleanly in OS X 10.4/Intel - apple bumped up the gcc version:

  • gcc version 4.0.1 (Apple Computer, Inc. build 5367)

comment:4 Changed 16 years ago by daniel.bond@…

The following ports are currently installed:

rtorrent @0.7.9_0 (active) libtorrent @0.11.9_0 (active)

comment:5 Changed 16 years ago by rhwood@…

Is this still an issue?

comment:6 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

sounds like this is fixed

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.