Ticket #15253 (new defect)

Opened 3 months ago

Last modified 2 months ago

deluge 0.5.8.9 build failure on Leopard

Reported by: spambox@evernex.com Assigned to: macports-tickets@lists.macosforge.org
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: deluge leopard Cc: spambox@evernex.com, johcagaorl@gmail.com, whcordis@gmail.com

Description

$ port info deluge deluge 0.5.8.9, net/deluge (Variants: universal) http://www.deluge-torrent.org

Deluge is a GNOME client for the BitTorrent network written in python.

Library Dependencies: python25, dbus-python25, gettext, librsvg, py25-gtk, py25-hashlib, py25-xdg, py25-zlib, boost Platforms: darwin Maintainers: nomaintainer@macports.org

Build fails with:

--->  Building deluge with target build
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_deluge/work/deluge-torrent-0.5.8.9" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: Attempting to detect your system information
32bit x86 system detected
Darwin / OS X system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
/usr/bin/gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c libtorrent/src/alert.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/alert.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/include/libtorrent/time.hpp:157: error: 'time_traits' is not a template
./libtorrent/include/libtorrent/time.hpp:158: error: explicit specialization of non-template 'asio::time_traits'
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.

Change History

2008-05-10 17:45:24 changed by spambox@evernex.com

  • cc set to spambox@evernex.com.

Cc Me!

2008-05-15 16:14:48 changed by johcagaorl@gmail.com

  • cc changed from spambox@evernex.com to spambox@evernex.com, johcagaorl@gmail.com.

Cc Me!

2008-05-15 16:42:55 changed by raimue@macports.org

  • keywords set to deluge leopard.
  • version deleted.
  • milestone set to Port Bugs.

According to this thread on Apple discussions it is a compiler issue. Although I can't find a more reliable source for this.

2008-05-15 18:50:26 changed by spambox@evernex.com

Is there some way to use MacPorts gcc for it? :P

2008-06-11 18:09:46 changed by whcordis@gmail.com

  • cc changed from spambox@evernex.com, johcagaorl@gmail.com to spambox@evernex.com, johcagaorl@gmail.com, whcordis@gmail.com.

Cc Me!