View Issue Details

IDProjectCategoryView StatusLast Update
0009337Talerexchangepublic2024-11-15 12:11
Reporterfefe Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version0.14Fixed in Version0.14 
Summary0009337: several build failures
DescriptionI have installed postgres and compiled gnunet with postgres and ran bootstrap for exchange.

bootstrap: Updating submodules
Submodule path 'contrib/gana': checked out 'cbbf44fdd7a0d74a0b216a72daed134ac647c016'
Submodule path 'contrib/wallet-core': checked out 'a9923dce3051635bc8489b60512dfac396e5ad25'
Submodule path 'doc/prebuilt': checked out 'dac140335967c9c8409698186f0cba0635c7cd7f'
make: Entering directory '/home/leitner/cvs/exchange/contrib/gana/gnu-taler-error-codes'
recfix --check registry.rec
make: recfix: No such file or directory
make: *** [Makefile:13: check] Error 127
make: Leaving directory '/home/leitner/cvs/exchange/contrib/gana/gnu-taler-error-codes'

What is recfix? Why is the build process even touching contrib?!

make also fails:

Making all in contrib
make[2]: Entering directory '/home/leitner/cvs/exchange/contrib'
make[2]: *** No rule to make target 'Makefile.am', needed by 'Makefile.in'. Stop.
make[2]: Leaving directory '/home/leitner/cvs/exchange/contrib'
make[1]: *** [Makefile:726: all-recursive] Error 1
make[1]: Leaving directory '/home/leitner/cvs/exchange'
make: *** [Makefile:655: all] Error 2

Why is make even attempting to go into contrib?!?
TagsNo tags attached.

Activities

Christian Grothoff

2024-11-14 15:01

manager   ~0023719

You need to install GNU recutils. Without that, bootstrap fails to generate files from the GANA registry.

fefe

2024-11-14 17:29

developer   ~0023721

You could mention that in README, which currently only mentions gnunet, libmicrohattpd and postgres as dependencies.

fefe

2024-11-14 17:31

developer   ~0023722

I'm still puzzled why you would even touch contrib.
My understanding is that contrib contains externally submitted stuff like "here's an example how you use this stuff" that did not make it into the regular build but might be useful to interested parties.

Christian Grothoff

2024-11-14 19:43

manager   ~0023723

Eh, please read the README:

Build tools for compiling GNUnet from source:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- gcc or clang
- autoconf >= 2.69 (building from git)
- automake >= 1.11.1 (building from git)
- recutils >= 1.0 (building from git)
- libtool >= 2.2
- makeinfo >= 4.8
- make[*3]
- pkgconf or pkg-config
- sphinx
- sphinx-rtd-theme
- sphinx-multiversion

Christian Grothoff

2024-11-14 19:44

manager   ~0023724

Well, that's not quite how contrib/ is used here. It used to be non-source resources, and these days Martin even put some "currently unused code" into contrib/.

fefe

2024-11-15 10:27

developer   ~0023726

I was talking about Taler and exchange/README and exchange/README.1st mention no such thing.

The GNUnet README is lying because a) recutils is not a build tool and b) GNUnet built just fine without recutils being installed.

Christian Grothoff

2024-11-15 12:10

manager   ~0023729

The GNUnet README is not lying because (a) recutils is used as a build tool to generate code from databases, and (b) yes, it is only triggered under certain conditions because prebuilt non-source files are in Git.

I've updated the exchange README to also mention the build dependencies there.

Issue History

Date Modified Username Field Change
2024-11-14 14:51 fefe New Issue
2024-11-14 14:51 fefe Status new => assigned
2024-11-14 14:51 fefe Assigned To => Christian Grothoff
2024-11-14 15:01 Christian Grothoff Note Added: 0023719
2024-11-14 17:29 fefe Note Added: 0023721
2024-11-14 17:31 fefe Note Added: 0023722
2024-11-14 19:43 Christian Grothoff Note Added: 0023723
2024-11-14 19:44 Christian Grothoff Note Added: 0023724
2024-11-15 10:27 fefe Note Added: 0023726
2024-11-15 12:10 Christian Grothoff Note Added: 0023729
2024-11-15 12:11 Christian Grothoff Status assigned => resolved
2024-11-15 12:11 Christian Grothoff Resolution open => fixed
2024-11-15 12:11 Christian Grothoff Fixed in Version => 0.14
2024-11-15 12:11 Christian Grothoff Target Version => 0.14