View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007212 | Taler | merchant backend | public | 2022-03-29 23:20 | 2022-11-04 19:52 |
| Reporter | Assigned To | Christian Grothoff | Resolution deadline | ||
| Implementer | Reviewer | ||||
| Release signed by | Deployed by | ||||
| Verifier | Communicator | ||||
| Data protection authority notification required | No | ||||
| CSIRT notification required | No | ||||
| Estimated effort (hours) | Actual effort (hours) | 0 | |||
| Fast-track | No | ||||
| Work package | none | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Devuan | OS Version | 4 |
| Product Version | git (master) | ||||
| Target Version | 0.9 | ||||
| Summary | 0007212: "make check" fails to build | ||||
| Description | HEAD == e184d373aaa78441d18d1a8eaf94d2edc4502868. Log attached. | ||||
| Tags | No tags attached. | ||||
| Attached Files | .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
| ||||
| This seems to have self-resolved in the meantime. :-D With HEAD == 58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a, "make check" builds and passes. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-03-29 23:20 | New Issue | ||
| 2022-03-29 23:20 | Status | new => assigned | |
| 2022-03-29 23:20 | Assigned To | => Christian Grothoff | |
| 2022-03-29 23:20 | File Added: .ttn.merchant-make-check.log | ||
| 2022-04-14 05:30 | Status | assigned => informing | |
| 2022-04-14 05:30 | Resolution | open => fixed | |
| 2022-04-14 05:30 | Note Added: 0018873 | ||
| 2022-10-20 08:48 | Christian Grothoff | Target Version | => 0.9 |
| 2022-11-04 19:52 | Christian Grothoff | Status | informing => closed |
| 2025-03-22 13:09 | Christian Grothoff | Category | mechant backend => merchant backend |