Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889858 - dev-util/bitcoin-tx-22.0 - key.cpp: error: cannot convert const secp256k1_nonce_function_hardened {aka int ( const)(unsigned char
Summary: dev-util/bitcoin-tx-22.0 - key.cpp: error: cannot convert const secp256k1_non...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-05 18:27 UTC by Toralf Förster
Modified: 2023-01-06 08:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.26 KB, text/plain)
2023-01-05 18:27 UTC, Toralf Förster
Details
dev-util:bitcoin-tx-22.0:20230105-054033.log (dev-util:bitcoin-tx-22.0:20230105-054033.log,30.72 KB, text/plain)
2023-01-05 18:27 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,71.79 KB, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details
environment (environment,97.02 KB, text/plain)
2023-01-05 18:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,659 bytes, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.92 KB, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.06 KB, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.17 KB, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-01-05 18:27:13 UTC
too long lines were shrinked:

key.cpp:277:41: warning: int secp256k1_schnorrsig_sign(const secp256k1_context*, unsigned char*, const unsigned char*, const secp256k1_keypair*, const unsigned char*) is deprecated: Use secp256k1_schnorrsig_sign32 instead [-Wdeprecated-declarations]
  277 |     bool ret = secp256k1_schnorrsig_sign(secp256k1_context_sign, sig.data(), hash.data(), &keypair, secp256k1_nonce_function_bip340, aux ? (void*)aux->data() : nullptr);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secp256k1_schnorrsig.h:129:19: note: declared here
  129 | SECP256K1_API int secp256k1_schnorrsig_sign(
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
key.cpp:277:101: error: cannot convert const secp256k1_nonce_function_hardened {aka int (* const)(unsigned char*, const unsigned char*, long unsigned int, const unsigned char*, const unsigned char*, const unsigned char*, long unsigned int, void*)} to const unsigned char*
  277 | (secp256k1_context_sign, sig.data(), hash.data(), &keypair, secp256k1_nonce_function_bip340, aux ? (void*)aux->data() : nullptr);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20230101-010025

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.66.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit d6c9e7135cdb4abeb29c2bff67a8141d700a7226
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jan 5 04:47:07 2023 +0000

    2023-01-05 04:47:07 UTC

emerge -qpvO dev-util/bitcoin-tx
[ebuild   R   ] dev-util/bitcoin-tx-22.0  USE="(-knots)"
Comment 1 Toralf Förster gentoo-dev 2023-01-05 18:27:14 UTC
Created attachment 847412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-05 18:27:15 UTC
Created attachment 847414 [details]
dev-util:bitcoin-tx-22.0:20230105-054033.log
Comment 3 Toralf Förster gentoo-dev 2023-01-05 18:27:17 UTC
Created attachment 847416 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-01-05 18:27:18 UTC
Created attachment 847418 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-01-05 18:27:19 UTC
Created attachment 847420 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-05 18:27:20 UTC
Created attachment 847422 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-05 18:27:21 UTC
Created attachment 847424 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-01-05 18:27:22 UTC
Created attachment 847426 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-01-06 08:10:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133397e4635511357789d1e7e737e76bf724ca49

commit 133397e4635511357789d1e7e737e76bf724ca49
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-06 08:08:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-06 08:08:40 +0000

    dev-util/bitcoin-tx: fix libsecp256k1 dep for old
    
    Closes: https://bugs.gentoo.org/889860
    Closes: https://bugs.gentoo.org/889858
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{bitcoin-tx-0.21.0.ebuild => bitcoin-tx-0.21.0-r1.ebuild}         | 4 ++--
 .../bitcoin-tx/{bitcoin-tx-22.0.ebuild => bitcoin-tx-22.0-r1.ebuild}  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)