[MacPorts] #64202: Build fails on 10.5.8 PowerPC
MacPorts
noreply at macports.org
Mon Dec 13 03:52:37 UTC 2021
#64202: Build fails on 10.5.8 PowerPC
------------------------------+----------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: PowerPC, Leopard | Port: libtorrent-rasterbar
------------------------------+----------------------------------
{{{
[ 28%] Building CXX object CMakeFiles/torrent-
rasterbar.dir/src/ip_voter.cpp.o
/opt/local/bin/g++-mp-7 -DBOOST_ASIO_ENABLE_CANCELIO
-DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_ASIO_NO_DEPRECATED
-DBOOST_EXCEPTION_DISABLE -DOPENSSL_NO_SSL2 -DTORRENT_BUILDING_LIBRARY
-DTORRENT_BUILDING_SHARED -DTORRENT_DISABLE_LOGGING -DTORRENT_SSL_PEERS
-DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64
-Dtorrent_rasterbar_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/deps/try_signal -isystem
/opt/local/libexec/openssl3/include -isystem
/opt/local/libexec/boost/1.71/include -pipe
-I/opt/local/libexec/boost/1.71/include -Os -std=c++14 -DNDEBUG
-I/opt/local/libexec/boost/1.71/include -I/opt/local/include
-D_GLIBCXX_USE_CXX11_ABI=0 -O3 -DNDEBUG -arch ppc -mmacosx-version-
min=10.5 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall
-Wc++11-compat -Wextra -Wno-format-zero-length -Wparentheses -Wpedantic
-Wvla -Wno-c++11-compat -Wno-noexcept-type -ftemplate-depth=512
-fexceptions -std=gnu++14 -MD -MT CMakeFiles/torrent-
rasterbar.dir/src/ip_voter.cpp.o -MF CMakeFiles/torrent-
rasterbar.dir/src/ip_voter.cpp.o.d -o CMakeFiles/torrent-
rasterbar.dir/src/ip_voter.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_voter.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:170:23:
error: variable or field 'CFDispatchRetain' declared void
void CFDispatchRetain(dispatch_queue_t q) { dispatch_retain(q); }
^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:170:23:
error: 'dispatch_queue_t' was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:171:24:
error: variable or field 'CFDispatchRelease' declared void
void CFDispatchRelease(dispatch_queue_t q) { dispatch_release(q); }
^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:171:24:
error: 'dispatch_queue_t' was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:29:
error: 'dispatch_queue_t' was not declared in this scope
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:47:
error: 'CFDispatchRetain' was not declared in this scope
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:47:
note: suggested alternative: 'CFRefRetain'
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^~~~~~~~~~~~~~~~
CFRefRetain
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:65:
error: 'CFDispatchRelease' was not declared in this scope
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:65:
note: suggested alternative: 'CFRefRelease'
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^~~~~~~~~~~~~~~~~
CFRefRelease
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:82:
error: template argument 1 is invalid
using CFDispatchRef = CFRef<dispatch_queue_t, CFDispatchRetain,
CFDispatchRelease>;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:82:
error: template argument 2 is invalid
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:172:82:
error: template argument 3 is invalid
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:348:2:
error: 'CFDispatchRef' does not name a type; did you mean 'CFDateRef'?
CFDispatchRef m_queue;
^~~~~~~~~~~~~
CFDateRef
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp: In
constructor
'libtorrent::aux::{anonymous}::ip_change_notifier_impl::ip_change_notifier_impl(boost::asio::io_context&)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:301:3:
error: 'm_queue' was not declared in this scope
m_queue = dispatch_queue_create("libtorrent.IPChangeNotifierQueue",
nullptr);
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:301:3: note:
suggested alternative: 'ifqueue'
m_queue = dispatch_queue_create("libtorrent.IPChangeNotifierQueue",
nullptr);
^~~~~~~
ifqueue
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:301:13:
error: 'dispatch_queue_create' was not declared in this scope
m_queue = dispatch_queue_create("libtorrent.IPChangeNotifierQueue",
nullptr);
^~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:301:13:
note: suggested alternative: 'pthread_create'
m_queue = dispatch_queue_create("libtorrent.IPChangeNotifierQueue",
nullptr);
^~~~~~~~~~~~~~~~~~~~~
pthread_create
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:316:8:
error: 'SCDynamicStoreSetDispatchQueue' was not declared in this scope
|| !SCDynamicStoreSetDispatchQueue(m_store.get(), m_queue.get()))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:316:8: note:
suggested alternative: 'SCDynamicStoreSetValue'
|| !SCDynamicStoreSetDispatchQueue(m_store.get(), m_queue.get()))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SCDynamicStoreSetValue
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp: In member
function 'virtual void
libtorrent::aux::{anonymous}::ip_change_notifier_impl::async_wait(std::function<void(const
boost::system::error_code&)>)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:329:7:
error: 'm_queue' was not declared in this scope
if (m_queue)
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:329:7: note:
suggested alternative: 'ifqueue'
if (m_queue)
^~~~~~~
ifqueue
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp: In member
function 'virtual void
libtorrent::aux::{anonymous}::ip_change_notifier_impl::cancel()':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:339:4:
error: 'SCDynamicStoreSetDispatchQueue' was not declared in this scope
SCDynamicStoreSetDispatchQueue(m_store.get(), nullptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:339:4: note:
suggested alternative: 'SCDynamicStoreSetValue'
SCDynamicStoreSetDispatchQueue(m_store.get(), nullptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SCDynamicStoreSetValue
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:343:3:
error: 'm_queue' was not declared in this scope
m_queue = nullptr;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/libtorrent-rasterbar-2.0.5/src/ip_notifier.cpp:343:3: note:
suggested alternative: 'ifqueue'
m_queue = nullptr;
^~~~~~~
ifqueue
make[2]: *** [CMakeFiles/torrent-rasterbar.dir/src/ip_notifier.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/build'
make[1]: *** [CMakeFiles/torrent-rasterbar.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/build'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/build'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build libtorrent-rasterbar: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
rasterbar/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port libtorrent-rasterbar failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64202>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list