View Issue Details

IDProjectCategoryView StatusLast Update
0005736GNUnetbuild processpublic2026-08-26 13:08
Reporternikita Assigned ToFlorian Dold Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Summary0005736: linker/compiler AM_ flags during header checks aren't working really well
DescriptionThis is a long standing feature bug.

Essentially what should happen is that when the correct LDFLAGS and CFLAGS are passed, the AM_ counterpart
respects those flags.
But even when you set the AM_ flags to temporarily include the current CFLAGS the detection fails.
This produces results such as:

configure:22261: checking for libzbar
configure:22380: result: --with-zbar not specified
configure:22384: checking zbar.h usability
configure:22384: clang -c -fno-strict-aliasing -Wall -g -O0 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:22384: $? = 0
configure:22384: result: yes
configure:22384: checking zbar.h presence
configure:22384: clang -E conftest.c
conftest.c:46:10: fatal error: 'zbar.h' file not found
#include <zbar.h>
         ^~~~~~~~
1 error generated.
configure:22384: $? = 1

...
configure: WARNING: zbar not found, gnunet-qr will not be built.


The problem here is that we need to pass the /usr/pkg/include (on my platform) to the temporary assembled test applications.
TagsNo tags attached.

Relationships

duplicate of 0005722 closedFlorian Dold --with-libgcrypt-prefix does not work properly 

Activities

Florian Dold

2026-08-22 10:58

developer   ~0029535

Not applicable anymore since GNUnet is using meson as build system now.

Issue History

Date ModifiedUsernameFieldChange
2019-05-26 18:18nikitaNew Issue
2019-05-26 18:18nikitaStatusnew => assigned
2019-05-26 18:18nikitaAssigned To => nikita
2019-05-26 18:19nikitaRelationship addedduplicate of 0005722
2019-07-30 17:52nikitaAssigned Tonikita =>
2026-08-22 10:58Florian DoldAssigned To => Florian Dold
2026-08-22 10:58Florian DoldStatusassigned => resolved
2026-08-22 10:58Florian DoldResolutionopen => won't fix
2026-08-22 10:58Florian DoldNote Added: 0029535
2026-08-26 13:08schanzenStatusresolved => closed