View Issue Details

IDProjectCategoryView StatusLast Update
0007212Talermechant backendpublic2022-04-14 07:30
Reporterttn Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLinuxOSDevuanOS Version4
Product Versiongit (master) 
Summary0007212: "make check" fails to build
DescriptionHEAD == e184d373aaa78441d18d1a8eaf94d2edc4502868.
Log attached.
TagsNo tags attached.

Activities

ttn

2022-03-30 01:20

developer  

.ttn.merchant-make-check.log (4,698 bytes)   
+ export PATH=/home/ttn/te/bin:/home/ttn/build/GNU/T/tw-taler:/home/ttn/bin:/home/ttn/local/bin:/usr/local/bin:/usr/bin:/bin:/home/ttn/local/share/ttn-do
+ PATH=/home/ttn/te/bin:/home/ttn/build/GNU/T/tw-taler:/home/ttn/bin:/home/ttn/local/bin:/usr/local/bin:/usr/bin:/bin:/home/ttn/local/share/ttn-do
+ export TMPDIR=/home/ttn/te/tmp
+ TMPDIR=/home/ttn/te/tmp
+ export PGHOST=/home/ttn/te/pg
+ PGHOST=/home/ttn/te/pg
+ make check
Making check in .
make[1]: ingresso nella directory «/home/ttn/build/GNU/T/merchant»
make[1]: uscita dalla directory «/home/ttn/build/GNU/T/merchant»
Making check in src
make[1]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src»
Making check in include
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/include»
make[2]: Nessuna operazione da eseguire per «check».
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/include»
Making check in mustach
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/mustach»
make  test_mustach_jansson run-original-tests.sh
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/mustach»
  CC       test_mustach_jansson.o
  CCLD     test_mustach_jansson
make[3]: Nessuna operazione da eseguire per «run-original-tests.sh».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/mustach»
make  check-TESTS
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/mustach»
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/mustach»
SKIP: run-original-tests.sh
PASS: test_mustach_jansson
============================================================================
Testsuite summary for taler-merchant 0.8.4
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  1
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/mustach»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/mustach»
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/mustach»
Making check in backenddb
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/backenddb»
make  test-merchantdb-postgres
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/merchant/src/backenddb»
  CC       test_merchantdb.o
test_merchantdb.c: In function ‘make_deposit’:
test_merchantdb.c:2432:10: error: variable ‘deposit_sign’ has initializer but incomplete type
 2432 |   struct TALER_DepositConfirmationPS deposit_sign = {
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
test_merchantdb.c:2433:6: error: ‘struct TALER_DepositConfirmationPS’ has no member named ‘purpose’
 2433 |     .purpose.size = htonl (sizeof (deposit_sign)),
      |      ^~~~~~~
In file included from /usr/include/netdb.h:27,
                 from /home/ttn/te/include/gnunet/platform.h:72,
                 from ../../src/include/platform.h:46,
                 from test_merchantdb.c:22:
test_merchantdb.c:2433:35: error: invalid application of ‘sizeof’ to incomplete type ‘struct TALER_DepositConfirmationPS’
 2433 |     .purpose.size = htonl (sizeof (deposit_sign)),
      |                                   ^
test_merchantdb.c:2433:21: warning: excess elements in struct initializer
 2433 |     .purpose.size = htonl (sizeof (deposit_sign)),
      |                     ^~~~~
test_merchantdb.c:2433:21: note: (near initialization for ‘deposit_sign’)
test_merchantdb.c:2434:6: error: ‘struct TALER_DepositConfirmationPS’ has no member named ‘purpose’
 2434 |     .purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_DEPOSIT)
      |      ^~~~~~~
test_merchantdb.c:2434:24: warning: excess elements in struct initializer
 2434 |     .purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_DEPOSIT)
      |                        ^~~~~
test_merchantdb.c:2434:24: note: (near initialization for ‘deposit_sign’)
test_merchantdb.c:2432:38: error: storage size of ‘deposit_sign’ isn’t known
 2432 |   struct TALER_DepositConfirmationPS deposit_sign = {
      |                                      ^~~~~~~~~~~~
make[3]: *** [Makefile:820: test_merchantdb.o] Errore 1
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/backenddb»
make[2]: *** [Makefile:1139: check-am] Errore 2
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src/backenddb»
make[1]: *** [Makefile:414: check-recursive] Errore 1
make[1]: uscita dalla directory «/home/ttn/build/GNU/T/merchant/src»
make: *** [Makefile:474: check-recursive] Errore 1
.ttn.merchant-make-check.log (4,698 bytes)   

ttn

2022-04-14 07:30

developer   ~0018873

This seems to have self-resolved in the meantime. :-D

With HEAD == 58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a, "make check" builds and passes.

Issue History

Date Modified Username Field Change
2022-03-30 01:20 ttn New Issue
2022-03-30 01:20 ttn Status new => assigned
2022-03-30 01:20 ttn Assigned To => Christian Grothoff
2022-03-30 01:20 ttn File Added: .ttn.merchant-make-check.log
2022-04-14 07:30 ttn Status assigned => resolved
2022-04-14 07:30 ttn Resolution open => fixed
2022-04-14 07:30 ttn Note Added: 0018873