Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889860 - dev-util/bitcoin-tx-0.21.0 - pubkey.cpp: error: too few arguments to function int secp256k1_schnorrsig_verify(const secp256k1_cont
Summary: dev-util/bitcoin-tx-0.21.0 - pubkey.cpp: error: too few arguments to function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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-0.21.0:20230105-054420.log (dev-util:bitcoin-tx-0.21.0:20230105-054420.log,41.29 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,77.71 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,15.59 KB, application/x-bzip)
2023-01-05 18:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.11 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:25 UTC
pubkey.cpp:181:96: error: invalid conversion from secp256k1_xonly_pubkey* to size_t {aka long unsigned int} [-fpermissive]
  181 | erify(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);
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  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     UD] dev-util/bitcoin-tx-0.21.0 [22.0] USE="(-knots)"
Comment 1 Toralf Förster gentoo-dev 2023-01-05 18:27:26 UTC
Created attachment 847428 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-05 18:27:27 UTC
Created attachment 847430 [details]
dev-util:bitcoin-tx-0.21.0:20230105-054420.log
Comment 3 Toralf Förster gentoo-dev 2023-01-05 18:27:28 UTC
Created attachment 847432 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-01-05 18:27:30 UTC
Created attachment 847434 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-01-05 18:27:31 UTC
Created attachment 847436 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-05 18:27:32 UTC
Created attachment 847438 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-05 18:27:33 UTC
Created attachment 847440 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-01-05 18:27:34 UTC
Created attachment 847442 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-01-06 08:10:29 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(-)