[MacPorts] #13358: Deluge does not build in Leopard
#13358: Deluge does not build in Leopard ----------------------------------+----------------------------------------- Reporter: rasa.silva@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | ----------------------------------+----------------------------------------- Trying to compile deluge on OSX 10.5 gives the following error: gcc -DNDEBUG -D__DARWIN_UNIX03 -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/bt_peer_connection.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/bt_peer_connection.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 ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp: In member function 'bool asio::detail::posix_fd_set_adapter::is_set(asio::detail::socket_type) const': ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: invalid conversion from 'const fd_set*' to 'fd_set*' ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: initializing argument 2 of 'int __darwin_fd_isset(int, fd_set*)' error: command 'gcc' failed with exit status 1 Also, there is a new version (0.5.6.2) available. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by nox@macports.org): * owner: macports-dev@lists.macosforge.org => rhwood@macports.org * summary: Deluge does not build in Leopard => deluge fails to build on Mac OS X 10.5 Leopard * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Old description:
Trying to compile deluge on OSX 10.5 gives the following error:
gcc -DNDEBUG -D__DARWIN_UNIX03 -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/bt_peer_connection.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/bt_peer_connection.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 ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp: In member function 'bool asio::detail::posix_fd_set_adapter::is_set(asio::detail::socket_type) const': ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: invalid conversion from 'const fd_set*' to 'fd_set*' ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: initializing argument 2 of 'int __darwin_fd_isset(int, fd_set*)' error: command 'gcc' failed with exit status 1
Also, there is a new version (0.5.6.2) available.
New description: Trying to compile deluge on OSX 10.5 gives the following error: {{{ gcc -DNDEBUG -D__DARWIN_UNIX03 -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/bt_peer_connection.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/bt_peer_connection.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 ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp: In member function 'bool asio::detail::posix_fd_set_adapter::is_set(asio::detail::socket_type) const': ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: invalid conversion from 'const fd_set*' to 'fd_set*' ./libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47: error: initializing argument 2 of 'int __darwin_fd_isset(int, fd_set*)' error: command 'gcc' failed with exit status 1 }}} Also, there is a new version (0.5.6.2) available. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by rhwood@macports.org): Right now, I don't even have a working python25 port, so I can't help until that problem is fixed. -- Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13358#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by aubonbeurre@gmail.com): I have a python25 working, and leopard (10.5.1), and I got a little bit farther by changing this line (libtorrent/include/libtorrent/asio/detail/posix_fd_set_adapter.hpp:47): bool is_set(socket_type descriptor) const { return FD_ISSET(descriptor, const_cast<fd_set*>(&fd_set_)) != 0; } Now deluge compiles, but it does not run: AlexG5:~ aparente$ deluge Traceback (most recent call last): File "/opt/local/bin/deluge", line 112, in <module> bus = dbus.SessionBus() File "/opt/local/lib/python2.5/site-packages/dbus/_dbus.py", line 216, in __new__ mainloop=mainloop) File "/opt/local/lib/python2.5/site-packages/dbus/_dbus.py", line 105, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/opt/local/lib/python2.5/site-packages/dbus/bus.py", line 121, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /tmp/dbus-eawE27B5k2: No such file or directory -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by guido.soranzio@gmail.com): Have you already tried my patches and updates to Deluge 0.5.8 (#13791) and and dbus-python2.5 (#13792)? I am currently using it with only a small glitches but not the ones you are reporting. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by aubonbeurre@gmail.com): Yes it works for me with both patches (#13791 and #13792). Some glitches during compilation (macports flex is too recent for libidl, macports 1.7 has problems with 'cd', reverted to 1.6). Thanks! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13358: deluge fails to build on Mac OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: rasa.silva@gmail.com | Owner: rhwood@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: -----------------------------------+---------------------------------------- Changes (by gui_dos@macports.org): * status: new => closed * resolution: => fixed Comment: The new 0.5.8 version compiles just fine ([32935]) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13358#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts