View Issue Details

IDProjectCategoryView StatusLast Update
0004445Talerexchangepublic2016-04-24 21:42
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004445: ftbfs on a fresh debian jessie
Descriptionconfigure doesn't complain, but apparently there's something wrong with lib(gn|c)url.
Additional Information  CC plugin_wire_test.lo
In file included from ../../src/include/taler_bank_service.h:26:0,
                 from plugin_wire_test.c:24:
/usr/local/include/gnunet/gnunet_curl_lib.h:141:22: error: unknown type name 'CURL'
                      CURL *eh,
                      ^
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2016-04-19 12:08

manager   ~0010513

Last edited: 2016-04-19 12:09

This might be related to how platform.h is handled, it was included (both in GNUnet and in the Taler exchange) in some places where it shouldn't be included (namely public headers).

gnunet/platform.h includes the gnunet configuration header, which shares some of the same #defines as the taler exchange configuration header (but the code in configure.ac for setting those flags is not the same). Thus we might have included the wrong file in some places.

Florian Dold

2016-04-19 12:38

manager   ~0010514

Okay, so here's the problem:

// gnunet_curl_lib.h
#if HAVE_CURL_CURL_H
#include <curl/curl.h>
#elif HAVE_GNURL_CURL_H
#include <gnurl/curl.h>
#else
// I've added this error
#error "needs curl or gnurl"
#endif


we basically assume that HAVE_(GN|C)URL_CURL_H is defined before we include the header. So in the exchange, we need to include our platform header before including gnunet_curl_lib.

Florian Dold

2016-04-19 13:14

manager   ~0010517

fixed by changing the taler exchange configure.ac (also fixed some includes in GNUnet)

Christian Grothoff

2016-04-24 21:42

manager   ~0010554

Please report Git revisions in which bugs are resolved.

Issue History

Date ModifiedUsernameFieldChange
2016-04-19 11:18Florian DoldNew Issue
2016-04-19 11:18Florian DoldStatusnew => assigned
2016-04-19 11:18Florian DoldAssigned To => Christian Grothoff
2016-04-19 12:08Florian DoldNote Added: 0010513
2016-04-19 12:09Florian DoldNote Edited: 0010513
2016-04-19 12:09Florian DoldNote Edited: 0010513
2016-04-19 12:38Florian DoldNote Added: 0010514
2016-04-19 13:14Florian DoldNote Added: 0010517
2016-04-19 13:14Florian DoldStatusassigned => informing
2016-04-19 13:14Florian DoldResolutionopen => fixed
2016-04-24 21:42Christian GrothoffNote Added: 0010554
2016-04-24 21:42Christian GrothoffStatusinforming => closed
2016-04-24 21:42Christian GrothoffProduct Version => 0.0
2016-04-24 21:42Christian GrothoffFixed in Version => 0.0
2016-04-24 21:42Christian GrothoffTarget Version => 0.0