Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13358 closed defect (fixed)

deluge fails to build on Mac OS X 10.5 Leopard

Reported by: rasa.silva@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

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.

Change History (8)

comment:1 Changed 17 years ago by nox@…

Milestone: Port Bugs
Owner: changed from macports-dev@… to rhwood@…
Summary: Deluge does not build in Leoparddeluge fails to build on Mac OS X 10.5 Leopard

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:3 Changed 17 years ago by rhwood@…

Right now, I don't even have a working python25 port, so I can't help until that problem is fixed.

comment:4 Changed 17 years ago by aubonbeurre@…

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

comment:5 Changed 17 years ago by gui-dos (Guido Soranzio)

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.

comment:6 Changed 17 years ago by aubonbeurre@…

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!

comment:7 Changed 17 years ago by gui-dos (Guido Soranzio)

Resolution: fixed
Status: newclosed

The new 0.5.8 version compiles just fine ([32935])

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.