View Issue Details

IDProjectCategoryView StatusLast Update
0006970Talermerchant backendpublic2021-08-24 16:22
Reporterttn Assigned ToChristian Grothoff  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionno change required 
PlatformLinuxOSDebianOS VersionBullseye/Sid
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006970: "make" fails with multiple errors in src/backenddb/
DescriptionThis could be related to GNUNET changes. Perhaps it's a good time to
tag a stable GNUNET version?

Log attached.
TagsNo tags attached.
Attached Files
.ttn.merchant-make.log (8,999 bytes)   
-*- mode: compilation; default-directory: "~/build/GNU/T/merchant/" -*-
Compilation started at Tue Aug  3 04:37:11

make -j8
Makefile:926: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:921: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:926: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:936: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
make  all-recursive
make[1]: Entering directory '/home/ttn/build/GNU/T/merchant'
Makefile:926: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:921: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:926: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:936: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Making all in .
make[2]: Entering directory '/home/ttn/build/GNU/T/merchant'
Makefile:926: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:921: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:926: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:936: warning: overriding recipe for target 'doxygen-doc/taler-merchant.tag'
Makefile:931: warning: ignoring old recipe for target 'doxygen-doc/taler-merchant.tag'
make[2]: Leaving directory '/home/ttn/build/GNU/T/merchant'
Making all in src
make[2]: Entering directory '/home/ttn/build/GNU/T/merchant/src'
Making all in include
make[3]: Entering directory '/home/ttn/build/GNU/T/merchant/src/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/merchant/src/include'
Making all in mustach
make[3]: Entering directory '/home/ttn/build/GNU/T/merchant/src/mustach'
  CC       mustach-jansson.o
  AR       libmustach.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/ttn/build/GNU/T/merchant/src/mustach'
Making all in backenddb
make[3]: Entering directory '/home/ttn/build/GNU/T/merchant/src/backenddb'
  CC       merchantdb_plugin.lo
  CC       merchantdb_helper.lo
  CC       plugin_merchantdb_postgres.lo
In file included from ../../src/include/taler_merchantdb_lib.h:26,
                 from merchantdb_helper.c:23:
../../src/include/taler_merchantdb_plugin.h:732:19: error: unknown type name ‘GNUNET_DB_EventCallback’; did you mean ‘GNUNET_ResultCallback’?
  732 |                   GNUNET_DB_EventCallback cb,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   GNUNET_ResultCallback
../../src/include/taler_merchantdb_plugin.h:754:32: warning: ‘struct GNUNET_DB_EventHeaderP’ declared inside parameter list will not be visible outside of this definition or declaration
  754 |                   const struct GNUNET_DB_EventHeaderP *es,
      |                                ^~~~~~~~~~~~~~~~~~~~~~
In file included from merchantdb_plugin.c:24:
../../src/include/taler_merchantdb_plugin.h:732:19: error: unknown type name ‘GNUNET_DB_EventCallback’; did you mean ‘GNUNET_ResultCallback’?
  732 |                   GNUNET_DB_EventCallback cb,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   GNUNET_ResultCallback
../../src/include/taler_merchantdb_plugin.h:754:32: warning: ‘struct GNUNET_DB_EventHeaderP’ declared inside parameter list will not be visible outside of this definition or declaration
  754 |                   const struct GNUNET_DB_EventHeaderP *es,
      |                                ^~~~~~~~~~~~~~~~~~~~~~
In file included from plugin_merchantdb_postgres.c:30:
../../src/include/taler_merchantdb_plugin.h:732:19: error: unknown type name ‘GNUNET_DB_EventCallback’; did you mean ‘GNUNET_PQ_EventCallback’?
  732 |                   GNUNET_DB_EventCallback cb,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   GNUNET_PQ_EventCallback
../../src/include/taler_merchantdb_plugin.h:754:32: warning: ‘struct GNUNET_DB_EventHeaderP’ declared inside parameter list will not be visible outside of this definition or declaration
  754 |                   const struct GNUNET_DB_EventHeaderP *es,
      |                                ^~~~~~~~~~~~~~~~~~~~~~
plugin_merchantdb_postgres.c:169:24: error: unknown type name ‘GNUNET_DB_EventCallback’; did you mean ‘GNUNET_PQ_EventCallback’?
  169 |                        GNUNET_DB_EventCallback cb,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
      |                        GNUNET_PQ_EventCallback
plugin_merchantdb_postgres.c: In function ‘postgres_event_listen_cancel’:
plugin_merchantdb_postgres.c:189:34: warning: passing argument 1 of ‘GNUNET_PQ_event_listen_cancel’ from incompatible pointer type [-Wincompatible-pointer-types]
  189 |   GNUNET_PQ_event_listen_cancel (eh);
      |                                  ^~
      |                                  |
      |                                  struct GNUNET_DB_EventHandler *
In file included from plugin_merchantdb_postgres.c:25:
/home/ttn/t/include/gnunet/gnunet_pq_lib.h:995:63: note: expected ‘struct GNUNET_PQ_EventHandler *’ but argument is of type ‘struct GNUNET_DB_EventHandler *’
  995 | GNUNET_PQ_event_listen_cancel (struct GNUNET_PQ_EventHandler *eh);
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
plugin_merchantdb_postgres.c: At top level:
plugin_merchantdb_postgres.c:203:37: warning: ‘struct GNUNET_DB_EventHeaderP’ declared inside parameter list will not be visible outside of this definition or declaration
  203 |                        const struct GNUNET_DB_EventHeaderP *es,
      |                                     ^~~~~~~~~~~~~~~~~~~~~~
plugin_merchantdb_postgres.c: In function ‘postgres_event_notify’:
plugin_merchantdb_postgres.c:210:34: warning: passing argument 2 of ‘GNUNET_PQ_event_notify’ from incompatible pointer type [-Wincompatible-pointer-types]
  210 |                                  es,
      |                                  ^~
      |                                  |
      |                                  const struct GNUNET_DB_EventHeaderP *
In file included from plugin_merchantdb_postgres.c:25:
/home/ttn/t/include/gnunet/gnunet_pq_lib.h:1014:62: note: expected ‘const struct GNUNET_PQ_EventHeaderP *’ but argument is of type ‘const struct GNUNET_DB_EventHeaderP *’
 1014 |                         const struct GNUNET_PQ_EventHeaderP *es,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
make[3]: *** [Makefile:833: merchantdb_helper.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:833: merchantdb_plugin.lo] Error 1
plugin_merchantdb_postgres.c: In function ‘libtaler_plugin_merchantdb_postgres_init’:
plugin_merchantdb_postgres.c:8992:9: error: ‘struct TALER_MERCHANTDB_Plugin’ has no member named ‘event_listen’
 8992 |   plugin->event_listen = &postgres_event_listen;
      |         ^~
plugin_merchantdb_postgres.c:8992:27: error: ‘postgres_event_listen’ undeclared (first use in this function); did you mean ‘postgres_event_notify’?
 8992 |   plugin->event_listen = &postgres_event_listen;
      |                           ^~~~~~~~~~~~~~~~~~~~~
      |                           postgres_event_notify
plugin_merchantdb_postgres.c:8992:27: note: each undeclared identifier is reported only once for each function it appears in
plugin_merchantdb_postgres.c:8994:24: warning: assignment to ‘void (*)(void *, const struct GNUNET_DB_EventHeaderP *, const void *, size_t)’ {aka ‘void (*)(void *, const struct GNUNET_DB_EventHeaderP *, const void *, long unsigned int)’} from incompatible pointer type ‘void (*)(void *, const struct GNUNET_DB_EventHeaderP *, const void *, size_t)’ {aka ‘void (*)(void *, const struct GNUNET_DB_EventHeaderP *, const void *, long unsigned int)’} [-Wincompatible-pointer-types]
 8994 |   plugin->event_notify = &postgres_event_notify;
      |                        ^
make[3]: *** [Makefile:833: plugin_merchantdb_postgres.lo] Error 1
make[3]: Leaving directory '/home/ttn/build/GNU/T/merchant/src/backenddb'
make[2]: *** [Makefile:411: all-recursive] Error 1
make[2]: Leaving directory '/home/ttn/build/GNU/T/merchant/src'
make[1]: *** [Makefile:472: all-recursive] Error 1
make[1]: Leaving directory '/home/ttn/build/GNU/T/merchant'
make: *** [Makefile:404: all] Error 2

Compilation exited abnormally with code 2 at Tue Aug  3 04:37:12
.ttn.merchant-make.log (8,999 bytes)   

Activities

Christian Grothoff

2021-08-03 14:46

manager   ~0018056

Not really, Git master requires Git master -- you again have an outdated GNUnet version, and you really need a very up-to-date one.

Issue History

Date Modified Username Field Change
2021-08-03 04:49 ttn New Issue
2021-08-03 04:49 ttn Status new => assigned
2021-08-03 04:49 ttn Assigned To => Christian Grothoff
2021-08-03 04:49 ttn File Added: .ttn.merchant-make.log
2021-08-03 14:46 Christian Grothoff Note Added: 0018056
2021-08-03 14:46 Christian Grothoff Status assigned => resolved
2021-08-03 14:46 Christian Grothoff Resolution open => no change required
2021-08-03 14:46 Christian Grothoff Fixed in Version => 0.8
2021-08-03 14:46 Christian Grothoff Target Version => 0.8
2021-08-24 16:22 Christian Grothoff Status resolved => closed
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend