View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011559 | Taler | exchange | public | 2026-06-26 04:42 | 2026-06-26 04:42 |
| Reporter | apteryx | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | GNU/Linux | OS | Guix System | OS Version | latest |
| Summary | 0011559: Build fails with latest gnunet (0.27.0) / test suite build fails with latest gnunet commit (31e20e2e6ab33a6cf18cc27cd8d5dd51e1b1 | ||||
| Description | When building taler-exchange 1.6.5 (latest), it wants an unreleased commit of gnunet, otherwise with 0.27.0 it fails to build with: [1/796] gcc -Isrc/util/libtalerutil.so.13.p -Isrc/util -I../source/src/util -Isrc/include -I../source/src/include -I. -I../source -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -Wall -Wno-address-of-packed-member -DHAVE_CONFIG_H -fPIC -MD -MQ src/util/libtalerutil.so.13.p/tokens.c.o -MF src/util/libtalerutil.so.13.p/tokens.c.o.d -o src/util/libtalerutil.so.13.p/tokens.c.o -c ../source/src/util/tokens.c FAILED: [code=1] src/util/libtalerutil.so.13.p/tokens.c.o gcc -Isrc/util/libtalerutil.so.13.p -Isrc/util -I../source/src/util -Isrc/include -I../source/src/include -I. -I../source -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -Wall -Wno-address-of-packed-member -DHAVE_CONFIG_H -fPIC -MD -MQ src/util/libtalerutil.so.13.p/tokens.c.o -MF src/util/libtalerutil.so.13.p/tokens.c.o.d -o src/util/libtalerutil.so.13.p/tokens.c.o -c ../source/src/util/tokens.c ../source/src/util/tokens.c: In function ‘TALER_token_use_setup_random’: ../source/src/util/tokens.c:50:31: error: incompatible type for argument 1 of ‘GNUNET_CRYPTO_random_block’ 50 | GNUNET_CRYPTO_random_block (master, | ^~~~~~ | | | struct TALER_TokenUseMasterSecretP * In file included from /gnu/store/vhk60p6072yzm6k0g4pby79s7sgalrwv-gnunet-0.27.0/include/gnunet/gnunet_util_lib.h:70, from ../source/src/include/taler/taler_util.h:30, from ../source/src/util/tokens.c:21: /gnu/store/vhk60p6072yzm6k0g4pby79s7sgalrwv-gnunet-0.27.0/include/gnunet/gnunet_crypto_lib.h:865:56: note: expected ‘enum GNUNET_CRYPTO_Quality’ but argument is of type ‘struct TALER_TokenUseMasterSecretP *’ 865 | GNUNET_CRYPTO_random_block (enum GNUNET_CRYPTO_Quality mode, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../source/src/util/tokens.c:51:31: error: passing argument 2 of ‘GNUNET_CRYPTO_random_block’ makes pointer from integer without a cast [-Wint-conversion] 51 | sizeof (*master)); | ^~~~~~~~~~~~~~~~ | | | long unsigned int /gnu/store/vhk60p6072yzm6k0g4pby79s7sgalrwv-gnunet-0.27.0/include/gnunet/gnunet_crypto_lib.h:866:35: note: expected ‘void *’ but argument is of type ‘long unsigned int’ 866 | void *buffer, | ~~~~~~^~~~~~ ../source/src/util/tokens.c:50:3: error: too few arguments to function ‘GNUNET_CRYPTO_random_block’ 50 | GNUNET_CRYPTO_random_block (master, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /gnu/store/vhk60p6072yzm6k0g4pby79s7sgalrwv-gnunet-0.27.0/include/gnunet/gnunet_crypto_lib.h:865:1: note: declared here 865 | GNUNET_CRYPTO_random_block (enum GNUNET_CRYPTO_Quality mode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [2/796] gcc -Isrc/util/libtalerutil.so.13.p -Isrc/util -I../source/src/util -Isrc/include -I../source/src/include -I. -I../source -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -Wall -Wno-address-of-packed-member -DHAVE_CONFIG_H -fPIC -MD -MQ src/util/libtalerutil.so.13.p/crypto_contract.c.o -MF src/util/libtalerutil.so.13.p/crypto_contract.c.o.d -o src/util/libtalerutil.so.13.p/crypto_contract.c.o -c ../source/src/util/crypto_contract.c That's resolved when updating gnunet to its latest commit 31e20e2e6ab33a6cf18cc27cd8d5dd51e1b1e22a, but then the test suite of taler (even from its latest commit, a19033395640e06ff7191c1660d9454fe2a1b710): FAILED: [code=1] src/util/test_crypto.p/test_crypto.c.o gcc -Isrc/util/test_crypto.p -Isrc/util -I../source/src/util -Isrc/include -I../source/src/include -I. -I../source -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -Wall -Wno-address-of-packed-member -DHAVE_CONFIG_H -MD -MQ src/util/test_crypto.p/test_crypto.c.o -MF src/util/test_crypto.p/test_crypto.c.o.d -o src/util/test_crypto.p/test_crypto.c.o -c ../source/src/util/test_crypto.c ../source/src/util/test_crypto.c: In function ‘test_planchets_rsa’: ../source/src/util/test_crypto.c:140:33: error: incompatible type for argument 1 of ‘GNUNET_CRYPTO_random_block’ 140 | GNUNET_CRYPTO_random_block (seed, | ^~~~ | | | struct GNUNET_HashCode In file included from /gnu/store/n78gs0lx45sy1bn23q137fv4009aqgl1-gnunet-0.27.0-0.31e20e2/include/gnunet/gnunet_util_lib.h:70, from ../source/src/include/taler/taler_util.h:30, from ../source/src/util/test_crypto.c:22: /gnu/store/n78gs0lx45sy1bn23q137fv4009aqgl1-gnunet-0.27.0-0.31e20e2/include/gnunet/gnunet_crypto_lib.h:835:35: note: expected ‘void *’ but argument is of type ‘struct GNUNET_HashCode’ 835 | GNUNET_CRYPTO_random_block (void *buffer, | ~~~~~~^~~~~~ ../source/src/util/test_crypto.c: In function ‘test_planchets_cs’: ../source/src/util/test_crypto.c:254:9: note: ‘#pragma message: phase out TALER_cs_withdraw_nonce_derive’ 254 | #pragma message "phase out TALER_cs_withdraw_nonce_derive" | ^~~~~~~ | ||||
| Steps To Reproduce | 1. Build exchange 1.6.5 with gnunet 0.27.0 -> first failure during build. 2. Build exchange 1.6.5 (or latest) with gnunet at commit 31e20e2e6ab33a6cf18cc27cd8d5dd51e1b1e22a -> test suite fails to build | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-06-26 04:42 | apteryx | New Issue |