New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15253 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

deluge 0.5.8.9 build failure on Leopard

Reported by: spambox@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: johcagaorl@…, whcordis@…
Port: deluge

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@…

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

comment:1 Changed 6 years ago by spambox@…

  • Cc spambox@… added

Cc Me!

comment:2 Changed 6 years ago by johcagaorl@…

  • Cc johcagaorl@… added

Cc Me!

comment:3 Changed 6 years ago by raimue@…

  • Keywords deluge leopard added
  • Version 1.6.0 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.

comment:4 Changed 6 years ago by spambox@…

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

comment:5 Changed 6 years ago by whcordis@…

  • Cc whcordis@… added

Cc Me!

comment:6 Changed 6 years ago by jmr@…

  • Cc spambox@… removed
  • Keywords deluge removed
  • Port set to deluge

Deluge is now at version 1.0.3. Is this still a problem?

comment:8 in reply to: ↑ 7 Changed 6 years ago by whcordis@…

Replying to jmr@…:

Deluge is now at version 1.0.3. Is this still a problem?

I'm not getting the same error now. What I'm seeing now seems to be related to #16641 which is itself a manifestation of #126. However, after following the suggested steps I'm still getting the following error:

--->  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-1.0.0" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/torrent.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_handle.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_handle.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/bindings/python/src/torrent_handle.cpp: In function 'void bind_torrent_handle()':
./libtorrent/bindings/python/src/torrent_handle.cpp:251: warning: unused variable 'copy'
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_info.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_info.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/opt/local/include/boost/python/object/pointer_holder.hpp: In constructor 'boost::python::objects::pointer_holder<Pointer, Value>::pointer_holder(PyObject*, A0) [with A0 = boost::python::objects::reference_to_value<const libtorrent::entry&>, Pointer = boost::intrusive_ptr<libtorrent::torrent_info>, Value = libtorrent::torrent_info]':
/opt/local/include/boost/python/object/make_holder.hpp:91:   instantiated from 'static void boost::python::objects::make_holder<1>::apply<Holder, ArgList>::execute(PyObject*, typename boost::mpl::deref<typename boost::mpl::begin<ArgList>::type>::type) [with Holder = boost::python::objects::pointer_holder<boost::intrusive_ptr<libtorrent::torrent_info>, libtorrent::torrent_info>, ArgList = boost::mpl::vector1<const libtorrent::entry&>]'
/opt/local/include/boost/python/detail/make_keyword_range_fn.hpp:67:   instantiated from 'boost::python::api::object boost::python::detail::make_keyword_range_constructor(const CallPolicies&, const boost::python::detail::keyword_range&, Holder*, ArgList*, Arity*) [with ArgList = boost::mpl::vector1<const libtorrent::entry&>, Arity = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >, Holder = boost::python::objects::pointer_holder<boost::intrusive_ptr<libtorrent::torrent_info>, libtorrent::torrent_info>, CallPolicies = boost::python::default_call_policies]'

/opt/local/include/boost/python/init.hpp:330:   instantiated from 'void boost::python::detail::def_init_aux(ClassT&, const Signature&, NArgs, const CallPoliciesT&, const char*, const boost::python::detail::keyword_range&) [with ClassT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, CallPoliciesT = boost::python::default_call_policies, Signature = boost::mpl::vector1<const libtorrent::entry&>, NArgs = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >]'
/opt/local/include/boost/python/init.hpp:399:   instantiated from 'static void boost::python::detail::define_class_init_helper<0>::apply(ClassT&, const CallPoliciesT&, const Signature&, NArgs, const char*, const boost::python::detail::keyword_range&) [with ClassT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, CallPoliciesT = boost::python::default_call_policies, Signature = boost::mpl::vector1<const libtorrent::entry&>, NArgs = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >]'
/opt/local/include/boost/python/init.hpp:171:   instantiated from 'void boost::python::init_base<DerivedT>::visit(classT&) const [with classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, DerivedT = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>]'
/opt/local/include/boost/python/def_visitor.hpp:31:   instantiated from 'static void boost::python::def_visitor_access::visit(const V&, classT&) [with V = boost::python::def_visitor<boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>]'
/opt/local/include/boost/python/def_visitor.hpp:67:   instantiated from 'void boost::python::def_visitor<DerivedVisitor>::visit(classT&) const [with classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, DerivedVisitor = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>]'
/opt/local/include/boost/python/class.hpp:225:   instantiated from 'boost::python::class_<T, X1, X2, X3>& boost::python::class_<T, X1, X2, X3>::def(const boost::python::def_visitor<Derived>&) [with Derived = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, W = libtorrent::torrent_info, X1 = boost::intrusive_ptr<libtorrent::torrent_info>, X2 = boost::python::detail::not_specified, X3 = boost::python::detail::not_specified]'
./libtorrent/bindings/python/src/torrent_info.cpp:74:   instantiated from here
/opt/local/include/boost/python/object/pointer_holder.hpp:179: warning: '__comp_ctor ' is deprecated (declared at ./libtorrent/include/libtorrent/torrent_info.hpp:131)
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_status.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_status.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/utility.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/utility.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c ./libtorrent/bindings/python/src/version.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/version.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -L/opt/local/lib -bundle -undefined dynamic_lookup -I/opt/local/include -I/opt/local/include/boost build/temp.macosx-10.3-i386-2.5/./libtorrent/src/alert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/assert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/broadcast_socket.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/bt_peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/connection_queue.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/create_torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/disk_buffer_holder.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/disk_io_thread.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/entry.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/enum_net.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/error_code.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/escape_string.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file_pool.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file_storage.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/gzip.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_parser.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_tracker_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/identify_client.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/instantiate_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ip_filter.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/lazy_bdecode.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/logger.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/lsd.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/magnet_uri.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/memdebug.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/metadata_transfer.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/natpmp.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/parse_url.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/pe_crypto.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/piece_picker.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/policy.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/session.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/session_impl.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/sha1.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/smart_ban.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/socks4_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/socks5_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/stat.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/storage.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent_handle.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/tracker_manager.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/udp_socket.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/udp_tracker_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/upnp.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ut_metadata.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ut_pex.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/web_peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/GeoIP.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/closest_nodes.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/dht_tracker.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/find_data.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/node.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/node_id.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/refresh.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/routing_table.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/rpc_manager.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/traversal_algorithm.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/alert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/big_number.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/converters.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/datetime.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/docstrings.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/entry.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/extensions.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/filesystem.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/fingerprint.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/ip_filter.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/module.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/peer_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/peer_plugin.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/session.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/session_settings.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_handle.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_status.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/utility.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/version.o -lboost_filesystem-mt -lboost_date_time-mt -lboost_iostreams-mt -lboost_python-mt -lboost_thread-mt -lpthread -lssl -lz -o build/lib.macosx-10.3-i386-2.5/deluge/libtorrent.so
ld: library not found for -lboost_python-mt
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Error: Status 1 encountered during processing.

comment:9 Changed 5 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:10 Changed 5 years ago by jmr@…

  • Owner changed from macports-tickets@… to devans@…

comment:11 Changed 4 years ago by devans@…

  • Status changed from new to assigned

Updated to version 1.2.3 in r70539.

comment:12 Changed 4 years ago by devans@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.