View Issue Details

IDProjectCategoryView StatusLast Update
0005736GNUnetbuild processpublic2026-08-22 12:58
Reporternikita Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionwon'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 resolvedFlorian Dold --with-libgcrypt-prefix does not work properly 

Activities

Florian Dold

2026-08-22 12:58

developer   ~0029535

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

Issue History

Date Modified Username Field Change
2019-05-26 20:18 nikita New Issue
2019-05-26 20:18 nikita Status new => assigned
2019-05-26 20:18 nikita Assigned To => nikita
2019-05-26 20:19 nikita Relationship added duplicate of 0005722
2019-07-30 19:52 nikita Assigned To nikita =>
2026-08-22 12:58 Florian Dold Assigned To => Florian Dold
2026-08-22 12:58 Florian Dold Status assigned => resolved
2026-08-22 12:58 Florian Dold Resolution open => won't fix
2026-08-22 12:58 Florian Dold Note Added: 0029535