Deluge DSM7 compile error
favoretti opened this issue · 20 comments
Trying to compile Deluge for DSM7, but libtorrent-rasterbar
fails with this:
make[5]: Entering directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14/src'
CXX web_connection_base.lo
In file included from /spksrc/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/include/c++/7.3.0/cmath:45:0,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/config/no_tr1/cmath.hpp:21,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_config.hpp:15,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/ptime.hpp:12,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/time_traits.hpp:23,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/deadline_timer_service.hpp:27,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/basic_socket_streambuf.hpp:24,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/basic_socket_iostream.hpp:24,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/ip/tcp.hpp:20,
from ../include/libtorrent/socket.hpp:55,
from ../include/libtorrent/peer_connection_interface.hpp:36,
from ../include/libtorrent/peer_connection.hpp:57,
from ../include/libtorrent/web_connection_base.hpp:56,
from web_connection_base.cpp:44:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In function ‘std::size_t boost::hash_detail::float_hash_value(T)’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘float’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘default’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘long’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Float128’ is not a class, namespace, or enumeration
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = float; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = float; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:454:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = double; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = double; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:455:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = long double; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = long double; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:456:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
make[5]: *** [Makefile:1031: web_connection_base.lo] Error 1
make[5]: Leaving directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14/src'
make[4]: *** [Makefile:625: all-recursive] Error 1
make[4]: Leaving directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14'
make[3]: *** [../../mk/spksrc.compile.mk:36: compile_target] Error 2
make[3]: Leaving directory '/spksrc/cross/libtorrent'
make[2]: *** [../../mk/spksrc.depend.mk:51: depend_target] Error 2
make[2]: Leaving directory '/spksrc/cross/deluge'
make[1]: *** [../../mk/spksrc.depend.mk:51: depend_target] Error 2
make[1]: Leaving directory '/spksrc/spk/deluge'
make: [../../mk/spksrc.spk.mk:464: arch-x64-7.0] Error 2 (ignored)
Been poking around it for a couple of days, to no avail. Anyone has ideas on how to fix this?
Thanks!
What I haven't tried yet (trying now) is bump libtorrent version, will report back once I get results.
Should this be added to https://github.com/SynoCommunity/spksrc/projects/9 ?
Hi,
Is there any news about this problem?
Thank you
As of today, I was able to successfully run a make all-supported
.
Any update here?
Any update here?
@RobSpectre here: #4153
New version of deluge is being published. Please reopen the issue if its still occurring. Thnx in advance.
Should this be available from the Community section of the Package Center on DSM 7 now? I'm getting
Python: Invalid file format. Please contact the package developer.
When trying to install Deluge from there. This is the 'Safihre' Deluge package.
Should this be available from the Community section of the Package Center on DSM 7 now? I'm getting
Python: Invalid file format. Please contact the package developer.
When trying to install Deluge from there. This is the 'Safihre' Deluge package.
Same thing here.
It usually takes around 24-48h to become available due to proxy. Older version won't work on DSM7.
If you can't wait, look for package Deluge v2.1.1-15 directly from our web-site https://synocommunity.com/package/deluge
Ah, wasn't aware of that delay. Seems to be installing and running fine on my DSM7 NAS now (though looks like I've got to sort some certs out to connect to trackers - does that sound like something on my side, or a bug to raise? 🤔).
Thanks to everyone involved in working on this!
though looks like I've got to sort some certs out to connect to trackers - does that sound like something on my side, or a bug to raise?
@Taelkir I honestly have no clue. I've tested on multiple platform and found no issues on my end. It may be something to report upstream to deluge dev at https://github.com/deluge-torrent/deluge ? In any case if it turns out a package & integration issue please open-up a new issue in here. Thnx for testing it out.
Thanks. Have posted on their forum here, for reference if anyone else encounters a similar issue: https://forum.deluge-torrent.org/viewtopic.php?f=7&t=56270
@Taelkir I've read your post and am wondering, have you applied all Synology DSM system updates? Your certificate error may be due to that. If this does not fix things you can manually update your certificates as explained here #4897 (comment)
@th0ma7 No luck with either of those unfortunately, but thanks for the suggestions. Got an update to DSM 7.1-42661 Update 4 out of it 😅 I'll keep rooting around for other solutions.
@th0ma7 Fantastic, thanks for updating back here (hadn't had time to check the deluge forum thread all week and looks like it filled up! 😮). I'll check it out as soon as I can.
Just got the 2.1.1-16 update installed and everything's working perfectly. Thanks again!