Source: groestlcoin
Version: 2.21.1~dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

groestlcoin recently started to FTBFS after some build-dependency or
toolchain package got updated:

g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config    -I.   
-DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include   
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  
-fstack-reuse=none       -g -O2 -ffile-prefix-m
ap=/build/groestlcoin-2.21.1~dfsg=. -fstack-protector-strong -Wformat 
-Werror=format-security -fPIC -fno-extended-identifiers -c -o 
libgroestlcoin_consensus_a-pubkey.o `test -f 'pubkey.cpp' || echo 
'./'`pubkey.cpp
pubkey.cpp: In member function 'bool XOnlyPubKey::VerifySchnorr(const uint256&, 
Span<const unsigned char>) const':
pubkey.cpp:181:96: error: invalid conversion from 'secp256k1_xonly_pubkey*' to 
'size_t' {aka 'long unsigned int'} [-fpermissive]
  181 |     return secp256k1_schnorrsig_verify(secp256k1_context_verify, 
sigbytes.data(), msg.begin(), &pubkey);
      |                                                                         
                       ^~~~~~~
      |                                                                         
                       |
      |                                                                         
                       secp256k1_xonly_pubkey*
pubkey.cpp:181:39: error: too few arguments to function 'int 
secp256k1_schnorrsig_verify(const secp256k1_context*, const unsigned char*, 
const unsigned char*, size_t, const secp256k1_xonly_pubkey*)'
  181 |     return secp256k1_schnorrsig_verify(secp256k1_context_verify, 
sigbytes.data(), msg.begin(), &pubkey);
      |            
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pubkey.cpp:10:
/usr/include/secp256k1_schnorrsig.h:158:48: note: declared here
  158 | SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int 
secp256k1_schnorrsig_verify(
      |                                                
^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config    -I.   
-DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include   
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  
-fstack-reuse=none       -g -O2 
-ffile-prefix-map=/build/groestlcoin-2.21.1~dfsg=. -fstack-protector-strong 
-Wformat -Werror=format-security -fPIC -fno-extended-identifiers -c -o 
script/libgroestlcoin_consensus_a-groestlcoinconsensus.o `test -f 
'script/groestlcoinconsensus.cpp' || echo './'`script/groestlcoinconsensus.cpp
make[2]: *** [Makefile:11718: libgroestlcoin_consensus_a-pubkey.o] Error 1


Andreas

Attachment: groestlcoin_2.21.1~dfsg-1.log.gz
Description: application/gzip

Reply via email to