Source: dogecoin
Version: 1.14.6-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=dogecoin&arch=amd64&ver=1.14.6-4%2Bb1&stamp=1702979354&raw=0

g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config  -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=2 -I. -I./obj  -pthread -I/usr/include -I./leveldb/include 
-I./leveldb/helpers/memenv   -I./secp256k1/include -I./univalue/include    
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS 
-Wstack-protector -fstack-protector-all  -fPIE -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
libdogecoin_server_a-noui.o `test -f 'noui.cpp' || echo './'`noui.cpp
In file included from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:30,
                 from /usr/include/boost/signals2/signal.hpp:19,
                 from util.h:30,
                 from addrman.h:14,
                 from init.cpp:13:
/usr/include/boost/function/function_base.hpp: In instantiation of ‘const 
Functor* boost::function_base::target() const [with Functor = void(bool, const 
CBlockIndex*)]’:
/usr/include/boost/function/function_base.hpp:657:49:   required from ‘bool 
boost::function_base::contains(const F&) const [with F = void(bool, const 
CBlockIndex*)]’
/usr/include/boost/signals2/detail/signal_template.hpp:530:54:   required from 
‘void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, 
GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::do_disconnect(const 
T&, mpl_::bool_<false>) [with T = void(bool, const CBlockIndex*); Combiner = 
boost::signals2::optional_last_value<void>; Group = int; GroupCompare = 
std::less<int>; SlotFunction = boost::function<void(bool, const CBlockIndex*)>; 
ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, 
bool, const CBlockIndex*)>; Mutex = boost::signals2::mutex; R = void; Args = 
{bool, const CBlockIndex*}]’
/usr/include/boost/signals2/detail/signal_template.hpp:222:24:   required from 
‘void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, 
GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) 
[with T = void(bool, const CBlockIndex*); Combiner = 
boost::signals2::optional_last_value<void>; Group = int; GroupCompare = 
std::less<int>; SlotFunction = boost::function<void(bool, const CBlockIndex*)>; 
ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, 
bool, const CBlockIndex*)>; Mutex = boost::signals2::mutex; R = void; Args = 
{bool, const CBlockIndex*}]’
/usr/include/boost/signals2/detail/signal_template.hpp:718:29:   required from 
‘void boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, 
SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) [with T = 
void(bool, const CBlockIndex*); Combiner = 
boost::signals2::optional_last_value<void>; Group = int; GroupCompare = 
std::less<int>; SlotFunction = boost::function<void(bool, const CBlockIndex*)>; 
ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, 
bool, const CBlockIndex*)>; Mutex = boost::signals2::mutex; R = void; Args = 
{bool, const CBlockIndex*}]’
init.cpp:1644:46:   required from here
/usr/include/boost/function/function_base.hpp:651:14: error: invalid 
‘static_cast’ from type 
‘boost::detail::function::function_buffer_members::obj_ptr_t’ {aka ‘void*’} to 
type ‘void (*)(bool, const CBlockIndex*)’
  651 |       return static_cast<const Functor*>(type_result.members.obj_ptr);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config  -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=2 -I. -I./obj  -pthread -I/usr/include -I./leveldb/include 
-I./leveldb/helpers/memenv   -I./secp256k1/include -I./univalue/include    
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS 
-Wstack-protector -fstack-protector-all  -fPIE -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
libdogecoin_server_a-pow.o `test -f 'pow.cpp' || echo './'`pow.cpp
make[3]: *** [Makefile:6022: libdogecoin_server_a-init.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to