Package Details: dashpay-bls-signatures 1.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: dashpay-bls-signatures
Description: Chia Networks BLS Signatures implementation fork for Dashcore
Upstream URL:
Licenses: Apache
Conflicts: codablock-bls-signatures
Submitter: pizzaman
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 3
Popularity: 0.000000
First Submitted: 2021-05-29 11:34 (UTC)
Last Updated: 2024-06-10 04:41 (UTC)

Dependencies (5)

Required by (5)

Sources (1)

Latest Comments

Tharbad commented on 2022-03-26 01:33 (UTC)


pizzaman commented on 2022-03-24 23:29 (UTC)

@Thardbad Fixed. Thanks.

Newer glibc versions deprecated MINSIGSTKSZ as constant . Dashpay bls-signatures include an older version of the catch library that was affected.

Fixed by this pull request Which makes cmake check for newer if installed.

Tharbad commented on 2022-03-22 16:56 (UTC) (edited on 2022-03-22 17:01 (UTC) by Tharbad)


In file included from /usr/include/signal.h:328,
             from /tmp/yay/dashpay-bls-signatures/src/bls-signatures- 
             from /tmp/yay/dashpay-bls-signatures/src/bls-signatures- 
1.2.2/src/../contrib/catch/catch.hpp:10822:58: error: call to non-‘constexpr’ 
function ‘long int sysconf(int)’

10822 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 
  |                                                          ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
             from /usr/include/signal.h:328,
             from /tmp/yay/dashpay-bls-signatures/src/bls-signatures- 
             from /tmp/yay/dashpay-bls-signatures/src/bls-signatures- 
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
640 | extern long int sysconf (int __name) __THROW;
  |                 ^~~~~~~
In file included from /tmp/yay/dashpay-bls-signatures/src/bls-signatures- 
1.2.2/src/../contrib/catch/catch.hpp:10881:45: error: size of array ‘altStackMem’ 
is not an integral constant-expression
10881 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
  |                                             ^~~~~~~~~~~~
[100%] Linking CXX executable runbench
[100%] Built target runbench
make[2]: *** [src/CMakeFiles/runtest.dir/build.make:76: 
src/CMakeFiles/runtest.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:296: src/CMakeFiles/runtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared module
[100%] Built target blspy
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
-> error making: dashpay-bls-signatures


lano1106 commented on 2021-08-26 19:02 (UTC)

The proposed fix looks to work.

I got a lot of linking errors but it turns out to be because bls-signatures and/or dashcore don't play nice with link-time optimization enabled (-flto).

I still have one issue. I'll share what it is in the dashcore project.

pizzaman commented on 2021-08-18 03:21 (UTC)

@lano1106 Thanks for the info, I subscribed to the issue.

lano1106 commented on 2021-08-17 18:33 (UTC)

FYI, I have raised the issue about the need for libgmp-static and libsodium-static upstream:

the work around to succeed in building without the static libs is to edit: src/CMakeFiles/combined_custom.dir/build.make

and remove the lines that does ar -x

Hopefully, this can be fixed upstream and simplify the process of building dashcore.