View Issue Details

IDProjectCategoryView StatusLast Update
0007233Talerexchangepublic2022-04-23 02:28
Reporterttn Assigned Tooec  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLinuxOSUbunutuOS Version20.04.3
Product Versiongit (master) 
Summary0007233: "make" cannot find -ltalerextensions
DescriptionLog attached.

Maybe the ld.so (or libtool or ....) on this platform is too old?
TagsNo tags attached.

Activities

ttn

2022-04-21 14:06

developer  

.ttn.exchange-make.log (17,395 bytes)   
contrib/gana-update.sh
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib/gana/gnu-taler-error-codes'
recfix --check registry.rec
cd ../http-status-codes; make ; cd -
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib/gana/http-status-codes'
recfix --check registry.rec
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib/gana/http-status-codes'
/home/ttn/build/GNU/T/exchange/contrib/gana/gnu-taler-error-codes
recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > combined.xtmp
if ! diff combined.tmp combined.xtmp > /dev/null; then mv combined.xtmp combined.tmp; else rm combined.xtmp; fi
make[1]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib/gana/gnu-taler-error-codes'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib/gana/gnu-taler-db-events'
recfix --check registry.rec
make[1]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib/gana/gnu-taler-db-events'
make  all-recursive
make[1]: Entering directory '/home/ttn/build/GNU/T/exchange'
Making all in .
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange'
Making all in contrib
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
Making all in .
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
Making all in src
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/src'
Making all in include
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/include'
Making all in util
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
  CC       taler-exchange-secmod-eddsa.o
  CC       secmod_common.o
  CC       age_restriction.lo
  CC       amount.lo
  CC       auditor_signatures.lo
  CC       config.lo
  CC       crypto.lo
  CC       crypto_contract.lo
  CC       crypto_helper_common.lo
  CC       crypto_helper_rsa.lo
  CC       crypto_helper_cs.lo
  CC       crypto_helper_esign.lo
  CC       crypto_wire.lo
  CC       denom.lo
  CC       exchange_signatures.lo
  CC       getopt.lo
  CC       lang.lo
  CC       iban.lo
  CC       merchant_signatures.lo
  CC       mhd.lo
  CC       offline_signatures.lo
  CC       payto.lo
  CC       secmod_signatures.lo
  CC       taler_error_codes.lo
  CC       url.lo
  CC       util.lo
taler_error_codes.c:153:13: warning: Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE
  153 |     .http_code = MHD_HTTP_PAYLOAD_TOO_LARGE
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 
taler_error_codes.c:1618:13: warning: Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE
 1618 |     .http_code = MHD_HTTP_PAYLOAD_TOO_LARGE
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 
taler_error_codes.c:1623:13: warning: Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE
 1623 |     .http_code = MHD_HTTP_PAYLOAD_TOO_LARGE
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 
taler_error_codes.c:1963:13: warning: Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE
 1963 |     .http_code = MHD_HTTP_PAYLOAD_TOO_LARGE
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 
  CC       wallet_signatures.lo
  CC       os_installation.lo
  CC       yna.lo
  CC       taler-exchange-secmod-rsa.o
  CC       taler-exchange-secmod-cs.o
rm -f taler-config taler-config.tmp && \
/usr/bin/sed -e 's,%libdir%,/home/ttn/te/lib,'g  taler-config.in >taler-config.tmp && \
chmod a-w+x taler-config.tmp && \
mv taler-config.tmp taler-config
  CCLD     libtalerutil.la
  CCLD     taler-exchange-secmod-eddsa
  CCLD     taler-exchange-secmod-rsa
  CCLD     taler-exchange-secmod-cs
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
Making all in json
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/json'
  CC       i18n.lo
  CC       json.lo
  CC       json_helper.lo
  CC       json_pack.lo
  CC       json_wire.lo
  CCLD     libtalerjson.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
Making all in extensions
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/extensions'
  CC       extensions.lo
  CC       extension_age_restriction.lo
  CCLD     libtalerextensions.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/extensions'
Making all in curl
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/curl'
  CC       curl.lo
  CCLD     libtalercurl.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/curl'
Making all in pq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
  CC       pq_query_helper.lo
  CC       pq_result_helper.lo
  CCLD     libtalerpq.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
Making all in sq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
  CC       sq_query_helper.lo
  CC       sq_result_helper.lo
  CCLD     libtalersq.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
Making all in mhd
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/mhd'
  CC       mhd_config.lo
  CC       mhd_legal.lo
  CC       mhd_parsing.lo
  CC       mhd_responses.lo
  CC       mhd_run.lo
  CCLD     libtalermhd.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/mhd'
Making all in bank-lib
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
  CC       taler-exchange-wire-gateway-client.o
  CC       bank_api_admin.lo
  CC       bank_api_common.lo
  CC       bank_api_credit.lo
  CC       bank_api_transfer.lo
  CC       bank_api_parse.lo
  CC       taler-fakebank-run.o
  CC       bank_api_debit.lo
  CC       fakebank.lo
  CCLD     libtalerbank.la
  CCLD     taler-exchange-wire-gateway-client
  CCLD     libtalerfakebank.la
  CCLD     taler-fakebank-run
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
Making all in exchangedb
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
cp exchange-0000.sql shard-0000.sql
cat common-0001.sql shard-0001-part.sql >shard-0001.sql
cat common-0001.sql exchange-0001-part.sql >exchange-0001.sql
cat drop-common.sql drop0001-exchange-part.sql >drop0001.sql
cat drop-common.sql drop0001-shard-part.sql >shard-drop0001.sql
make  all-am
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
  CC       exchangedb_accounts.lo
  CC       exchangedb_plugin.lo
  CC       exchangedb_transactions.lo
  CC       plugin_exchangedb_postgres.lo
  CCLD     libtalerexchangedb.la
  CCLD     libtaler_plugin_exchangedb_postgres.la
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
Making all in exchange
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchange'
  CC       taler-exchange-aggregator.o
  CCLD     taler-exchange-aggregator
  CC       taler-exchange-closer.o
  CCLD     taler-exchange-closer
  CC       taler-exchange-httpd.o
  CC       taler-exchange-httpd_auditors.o
  CC       taler-exchange-httpd_contract.o
  CC       taler-exchange-httpd_csr.o
  CC       taler-exchange-httpd_db.o
  CC       taler-exchange-httpd_deposit.o
  CC       taler-exchange-httpd_deposits_get.o
  CC       taler-exchange-httpd_extensions.o
  CC       taler-exchange-httpd_keys.o
  CC       taler-exchange-httpd_kyc-check.o
  CC       taler-exchange-httpd_kyc-proof.o
  CC       taler-exchange-httpd_kyc-wallet.o
  CC       taler-exchange-httpd_link.o
  CC       taler-exchange-httpd_management_auditors.o
  CC       taler-exchange-httpd_management_auditors_AP_disable.o
  CC       taler-exchange-httpd_management_denominations_HDP_revoke.o
  CC       taler-exchange-httpd_management_extensions.o
  CC       taler-exchange-httpd_management_global_fees.o
  CC       taler-exchange-httpd_management_post_keys.o
  CC       taler-exchange-httpd_management_signkey_EP_revoke.o
  CC       taler-exchange-httpd_management_wire_enable.o
  CC       taler-exchange-httpd_management_wire_disable.o
  CC       taler-exchange-httpd_management_wire_fees.o
  CC       taler-exchange-httpd_melt.o
  CC       taler-exchange-httpd_metrics.o
  CC       taler-exchange-httpd_mhd.o
  CC       taler-exchange-httpd_purses_create.o
  CC       taler-exchange-httpd_purses_merge.o
  CC       taler-exchange-httpd_recoup.o
  CC       taler-exchange-httpd_recoup-refresh.o
  CC       taler-exchange-httpd_refreshes_reveal.o
  CC       taler-exchange-httpd_refund.o
  CC       taler-exchange-httpd_reserves_get.o
  CC       taler-exchange-httpd_reserves_history.o
  CC       taler-exchange-httpd_reserves_status.o
  CC       taler-exchange-httpd_responses.o
  CC       taler-exchange-httpd_terms.o
  CC       taler-exchange-httpd_transfers_get.o
  CC       taler-exchange-httpd_wire.o
  CC       taler-exchange-httpd_withdraw.o
  CCLD     taler-exchange-httpd
  CC       taler-exchange-transfer.o
  CCLD     taler-exchange-transfer
  CC       taler-exchange-wirewatch.o
  CCLD     taler-exchange-wirewatch
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchange'
Making all in auditordb
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/auditordb'
  CC       auditordb_plugin.lo
  CC       plugin_auditordb_postgres.lo
  CCLD     libtalerauditordb.la
  CCLD     libtaler_plugin_auditordb_postgres.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/auditordb'
Making all in auditor
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/auditor'
  CC       taler_auditor_dbinit-taler-auditor-dbinit.o
  CCLD     taler-auditor-dbinit
  CC       taler-auditor-exchange.o
  CCLD     taler-auditor-exchange
  CC       taler-auditor-httpd.o
  CC       taler-auditor-httpd_deposit-confirmation.o
  CC       taler-auditor-httpd_exchanges.o
  CC       taler-auditor-httpd_mhd.o
  CCLD     taler-auditor-httpd
  CC       taler_auditor_sync-taler-auditor-sync.o
  CCLD     taler-auditor-sync
  CC       taler-helper-auditor-aggregation.o
  CC       report-lib.lo
  CCLD     libauditorreport.la
  CCLD     taler-helper-auditor-aggregation
  CC       taler-helper-auditor-coins.o
  CCLD     taler-helper-auditor-coins
  CC       taler-helper-auditor-deposits.o
  CCLD     taler-helper-auditor-deposits
  CC       taler-helper-auditor-reserves.o
  CCLD     taler-helper-auditor-reserves
  CC       taler-helper-auditor-wire.o
  CCLD     taler-helper-auditor-wire
rm -f taler-auditor taler-auditor.tmp && \
/usr/bin/sed -e 's,%datadir%,/home/ttn/te/share,'g  taler-auditor.in >taler-auditor.tmp && \
chmod a-w+x taler-auditor.tmp && \
mv taler-auditor.tmp taler-auditor
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/auditor'
Making all in lib
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/lib'
  CC       auditor_api_curl_defaults.lo
  CC       auditor_api_handle.lo
  CC       auditor_api_deposit_confirmation.lo
  CC       auditor_api_exchanges.lo
  CC       exchange_api_auditor_add_denomination.lo
  CC       exchange_api_curl_defaults.lo
  CC       exchange_api_common.lo
  CC       exchange_api_contracts_get.lo
  CC       exchange_api_csr_melt.lo
  CC       exchange_api_csr_withdraw.lo
  CC       exchange_api_handle.lo
  CC       exchange_api_deposit.lo
  CC       exchange_api_deposits_get.lo
  CC       exchange_api_kyc_check.lo
  CC       exchange_api_kyc_proof.lo
  CC       exchange_api_kyc_wallet.lo
  CC       exchange_api_link.lo
  CC       exchange_api_management_auditor_disable.lo
  CC       exchange_api_management_auditor_enable.lo
  CC       exchange_api_management_get_keys.lo
  CC       exchange_api_management_post_keys.lo
  CC       exchange_api_management_post_extensions.lo
  CC       exchange_api_management_revoke_denomination_key.lo
  CC       exchange_api_management_revoke_signing_key.lo
  CC       exchange_api_management_set_global_fee.lo
  CC       exchange_api_management_set_wire_fee.lo
  CC       exchange_api_management_wire_disable.lo
  CC       exchange_api_management_wire_enable.lo
  CC       exchange_api_melt.lo
  CC       exchange_api_purse_create_with_deposit.lo
  CC       exchange_api_purse_merge.lo
  CC       exchange_api_recoup.lo
  CC       exchange_api_recoup_refresh.lo
  CC       exchange_api_refresh_common.lo
  CC       exchange_api_refreshes_reveal.lo
  CC       exchange_api_refund.lo
  CC       exchange_api_reserves_get.lo
  CC       exchange_api_reserves_history.lo
  CC       exchange_api_reserves_status.lo
  CC       exchange_api_transfers_get.lo
  CC       exchange_api_withdraw.lo
  CC       exchange_api_withdraw2.lo
  CC       exchange_api_wire.lo
  CCLD     libtalerauditor.la
  CCLD     libtalerexchange.la
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/lib'
Making all in exchange-tools
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchange-tools'
  CC       taler-auditor-offline.o
  CC       taler-exchange-offline.o
  CC       taler_exchange_dbinit-taler-exchange-dbinit.o
  CC       taler-crypto-worker.o
  CCLD     taler-crypto-worker
  CCLD     taler-exchange-dbinit
  CCLD     taler-auditor-offline
  CCLD     taler-exchange-offline
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchange-tools'
Making all in testing
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/testing'
  CC       test_exchange_api.o
  CC       testing_api_cmd_auditor_add_denom_sig.lo
  CC       testing_api_cmd_auditor_add.lo
  CC       testing_api_cmd_auditor_del.lo
  CC       testing_api_cmd_auditor_deposit_confirmation.lo
  CC       testing_api_cmd_auditor_exchanges.lo
  CC       testing_api_cmd_auditor_exec_auditor.lo
  CC       testing_api_cmd_auditor_exec_auditor_dbinit.lo
  CC       testing_api_cmd_bank_admin_add_incoming.lo
  CC       testing_api_cmd_bank_check.lo
  CC       testing_api_cmd_bank_admin_check.lo
  CC       testing_api_cmd_bank_check_empty.lo
  CC       testing_api_cmd_bank_history_credit.lo
  CC       testing_api_cmd_bank_history_debit.lo
  CC       testing_api_cmd_bank_transfer.lo
  CC       testing_api_cmd_batch.lo
  CC       testing_api_cmd_change_auth.lo
  CC       testing_api_cmd_check_keys.lo
  CC       testing_api_cmd_common.lo
  CC       testing_api_cmd_contract_get.lo
  CC       testing_api_cmd_deposit.lo
  CC       testing_api_cmd_deposits_get.lo
  CC       testing_api_cmd_exec_aggregator.lo
  CC       testing_api_cmd_exec_auditor-offline.lo
  CC       testing_api_cmd_exec_closer.lo
  CC       testing_api_cmd_exec_transfer.lo
  CC       testing_api_cmd_exec_wirewatch.lo
  CC       testing_api_cmd_insert_deposit.lo
  CC       testing_api_cmd_kyc_check_get.lo
  CC       testing_api_cmd_kyc_proof.lo
  CC       testing_api_cmd_kyc_wallet_get.lo
  CC       testing_api_cmd_oauth.lo
  CC       testing_api_cmd_offline_sign_fees.lo
  CC       testing_api_cmd_offline_sign_keys.lo
  CC       testing_api_cmd_offline_sign_extensions.lo
  CC       testing_api_cmd_purse_create_deposit.lo
  CC       testing_api_cmd_purse_merge.lo
  CC       testing_api_cmd_set_wire_fee.lo
  CC       testing_api_cmd_recoup.lo
  CC       testing_api_cmd_recoup_refresh.lo
  CC       testing_api_cmd_refund.lo
  CC       testing_api_cmd_refresh.lo
  CC       testing_api_cmd_reserve_get.lo
  CC       testing_api_cmd_reserve_history.lo
  CC       testing_api_cmd_reserve_status.lo
  CC       testing_api_cmd_revoke.lo
  CC       testing_api_cmd_revoke_denom_key.lo
  CC       testing_api_cmd_revoke_sign_key.lo
  CC       testing_api_cmd_rewind.lo
  CC       testing_api_cmd_serialize_keys.lo
  CC       testing_api_cmd_signal.lo
  CC       testing_api_cmd_sleep.lo
  CC       testing_api_cmd_stat.lo
  CC       testing_api_cmd_transfer_get.lo
  CC       testing_api_cmd_wait.lo
  CC       testing_api_cmd_wire.lo
  CC       testing_api_cmd_wire_add.lo
  CC       testing_api_cmd_wire_del.lo
  CC       testing_api_cmd_withdraw.lo
  CC       testing_api_helpers_auditor.lo
  CC       testing_api_helpers_bank.lo
  CC       testing_api_helpers_exchange.lo
  CC       testing_api_loop.lo
  CC       testing_api_traits.lo
  CCLD     libtalertesting.la
  CCLD     test_exchange_p2p_cs
/usr/bin/ld: cannot find -ltalerextensions
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1804: test_exchange_p2p_cs] Error 1
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/testing'
make[2]: *** [Makefile:522: all-recursive] Error 1
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/src'
make[1]: *** [Makefile:506: all-recursive] Error 1
make[1]: Leaving directory '/home/ttn/build/GNU/T/exchange'
make: *** [Makefile:438: all] Error 2
.ttn.exchange-make.log (17,395 bytes)   

oec

2022-04-21 16:15

developer   ~0018887

I wasn't able to reproduce the issue. However, I changed the Makefile.am in src/testing to statically link against the libtalerextensions.la in the build tree, see commit 061c4f72bdf58decb2fa1dfcd08d4f8ba1f57bb8.

Please try again.

ttn

2022-04-22 08:16

developer   ~0018888

Thanks. "make" now finishes successfully. However, "make check" now fails to build (compilation errors).
Log attached.
.ttn.exchange-make-check.log (7,255 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
make  check-recursive
make[1]: ingresso nella directory «/home/ttn/build/GNU/T/exchange»
Making check in .
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange»
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange»
Making check in contrib
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/contrib»
Making check in .
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/contrib»
make[3]: Nessuna operazione da eseguire per «check-am».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/contrib»
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/contrib»
Making check in src
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src»
Making check in include
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/include»
make[3]: Nessuna operazione da eseguire per «check».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/include»
Making check in util
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
make  test_age_restriction test_amount test_crypto test_helper_eddsa test_helper_rsa test_helper_cs test_payto test_url
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
  CC       test_age_restriction.o
test_age_restriction.c: In function ‘test_attestation’:
test_age_restriction.c:156:41: warning: passing argument 3 of ‘TALER_age_restriction_commit’ makes pointer from integer without a cast [-Wint-conversion]
  156 |                                         salt,
      |                                         ^~~~
      |                                         |
      |                                         uint64_t {aka long unsigned int}
In file included from ../../src/include/taler_util.h:27,
                 from test_age_restriction.c:23:
../../src/include/taler_crypto_lib.h:4767:33: note: expected ‘const struct GNUNET_HashCode *’ but argument is of type ‘uint64_t’ {aka ‘long unsigned int’}
 4767 |   const struct GNUNET_HashCode *seed,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  CCLD     test_age_restriction
  CC       test_amount.o
  CCLD     test_amount
  CC       test_crypto.o
In file included from /home/ttn/te/include/gnunet/gnunet_crypto_lib.h:61,
                 from /home/ttn/te/include/gnunet/gnunet_util_lib.h:65,
                 from ../../src/include/taler_util.h:24,
                 from test_crypto.c:23:
test_crypto.c: In function ‘test_planchets_rsa’:
test_crypto.c:140:50: warning: passing argument 3 of ‘TALER_age_restriction_commit’ makes pointer from integer without a cast [-Wint-conversion]
  140 |                                                  salt,
      |                                                  ^~~~
      |                                                  |
      |                                                  uint64_t {aka long unsigned int}
/home/ttn/te/include/gnunet/gnunet_common.h:917:12: note: in definition of macro ‘GNUNET_assert’
  917 |     if (! (cond))                                               \
      |            ^~~~
In file included from ../../src/include/taler_util.h:27,
                 from test_crypto.c:23:
../../src/include/taler_crypto_lib.h:4767:33: note: expected ‘const struct GNUNET_HashCode *’ but argument is of type ‘uint64_t’ {aka ‘long unsigned int’}
 4767 |   const struct GNUNET_HashCode *seed,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/ttn/te/include/gnunet/gnunet_crypto_lib.h:61,
                 from /home/ttn/te/include/gnunet/gnunet_util_lib.h:65,
                 from ../../src/include/taler_util.h:24,
                 from test_crypto.c:23:
test_crypto.c: In function ‘test_planchets_cs’:
test_crypto.c:269:50: warning: passing argument 3 of ‘TALER_age_restriction_commit’ makes pointer from integer without a cast [-Wint-conversion]
  269 |                                                  salt,
      |                                                  ^~~~
      |                                                  |
      |                                                  uint64_t {aka long unsigned int}
/home/ttn/te/include/gnunet/gnunet_common.h:917:12: note: in definition of macro ‘GNUNET_assert’
  917 |     if (! (cond))                                               \
      |            ^~~~
In file included from ../../src/include/taler_util.h:27,
                 from test_crypto.c:23:
../../src/include/taler_crypto_lib.h:4767:33: note: expected ‘const struct GNUNET_HashCode *’ but argument is of type ‘uint64_t’ {aka ‘long unsigned int’}
 4767 |   const struct GNUNET_HashCode *seed,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  CCLD     test_crypto
  CC       test_helper_eddsa.o
  CCLD     test_helper_eddsa
  CC       test_helper_rsa.o
  CCLD     test_helper_rsa
  CC       test_helper_cs.o
  CCLD     test_helper_cs
  CC       test_payto.o
  CCLD     test_payto
  CC       test_url.o
  CCLD     test_url
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
../../build-aux/test-driver: riga 112:  6456 Errore di segmentazione "$@" >> "$log_file" 2>&1
FAIL: test_age_restriction
PASS: test_amount
../../build-aux/test-driver: riga 112:  6492 Errore di segmentazione "$@" >> "$log_file" 2>&1
FAIL: test_crypto
PASS: test_helper_eddsa
PASS: test_helper_rsa
PASS: test_helper_cs
PASS: test_payto
PASS: test_url
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 8
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See src/util/test-suite.log
Please report to taler-bug@gnunet.org
============================================================================
make[5]: *** [Makefile:1243: test-suite.log] Errore 1
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make[4]: *** [Makefile:1351: check-TESTS] Errore 2
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make[3]: *** [Makefile:1473: check-am] Errore 2
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make[2]: *** [Makefile:524: check-recursive] Errore 1
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src»
make[1]: *** [Makefile:509: check-recursive] Errore 1
make[1]: uscita dalla directory «/home/ttn/build/GNU/T/exchange»
make: *** [Makefile:806: check] Errore 2
.ttn.exchange-make-check.log (7,255 bytes)   

ttn

2022-04-22 08:19

developer   ~0018889

Oops, i forgot to mention "make" finishes on my home system. (Also, it is there that "make check" fails.)
I haven't checked on the Ubuntu VM yet.
(I usually test on Ubuntu and other VMs after the home system is in good shape.)

oec

2022-04-22 08:59

developer   ~0018890

Last edited: 2022-04-22 09:13

I had similar problems when I forgot to call 'make install' before 'make check' (see README.1st), whenever there were changes to the header files.

Please try 'make install; make check'

ttn

2022-04-22 13:34

developer   ~0018891

I always do "make install" before "make check". (It's part of the script i use: https://gitlab.com/restio-al-restio/tw-taler .)
Unfortunately, doing it again doesn't help.
I see in the https://bugs.gnunet.org/view.php?id=7233#c18888 log file there are some "expected CORRECT-TYPE but got INCORRECT-TYPE" messages (e.g., line 39). Perhaps there was a change in the main code that did not (yet) make it to the testing code?

oec

2022-04-22 15:17

developer   ~0018892

m( My bad, indeed, I haven't had updated the test in utils/ after fixing the issue with the seed for TALER_age_restriction_commit. Commit 31c545b9e803310312a0d9433e79cf206e00ffe4 should have the fix now.

Please try again.

ttn

2022-04-23 02:28

developer   ~0018893

I confirm that both "make" and "make check" finish successfully on:

- gv.taler.net
- home (Devuan 4) system
- VM: Alpine 3.14.3
- VM: Alpine 3.15.0
- VM: Parabola 2020.08.03
- VM: Ubuntu 20.04.3

with HEAD == e40a16aa8ea1b5f7257b0bf04d7413c2ad77d3d3.
Closing.

Issue History

Date Modified Username Field Change
2022-04-21 14:06 ttn New Issue
2022-04-21 14:06 ttn Status new => assigned
2022-04-21 14:06 ttn Assigned To => Christian Grothoff
2022-04-21 14:06 ttn File Added: .ttn.exchange-make.log
2022-04-21 15:38 Christian Grothoff Assigned To Christian Grothoff => oec
2022-04-21 16:15 oec Status assigned => feedback
2022-04-21 16:15 oec Note Added: 0018887
2022-04-22 08:16 ttn Note Added: 0018888
2022-04-22 08:16 ttn File Added: .ttn.exchange-make-check.log
2022-04-22 08:16 ttn Status feedback => assigned
2022-04-22 08:19 ttn Note Added: 0018889
2022-04-22 08:59 oec Status assigned => feedback
2022-04-22 08:59 oec Note Added: 0018890
2022-04-22 09:13 oec Note Edited: 0018890
2022-04-22 13:34 ttn Note Added: 0018891
2022-04-22 13:34 ttn Status feedback => assigned
2022-04-22 15:17 oec Status assigned => feedback
2022-04-22 15:17 oec Note Added: 0018892
2022-04-23 02:28 ttn Status feedback => resolved
2022-04-23 02:28 ttn Resolution open => fixed
2022-04-23 02:28 ttn Note Added: 0018893