Bug#843432: libwww-curl-perl: FTBFS: error: 'CURL_STRICTER' undeclared

Niko Tyni ntyni at debian.org
Sun Nov 6 17:06:43 UTC 2016

Package: libwww-curl-perl
Version: 4.17-2
Severity: serious
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org, curl at packages.debian.org

As noticed by the reproducible-builds.org CI system, this package fails
to build on current sid. It looks like this broke with the recent curl
7.51.0-1 upload, so cc'ing the curl maintainers too.


Excerpt from a local amd64 build log:

  x86_64-linux-gnu-gcc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE"   Curl.c
  In file included from Curl.xs:574:0:
  curlopt-constants.c: In function 'constant':
  curlopt-constants.c:19:58: warning: 'return' with no value, in function returning non-void
               if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
  curlopt-constants.c:2:1: note: declared here
   constant(const char *name)
  curlopt-constants.c:128:49: error: 'CURL_STRICTER' undeclared (first use in this function)
               if (strEQ(name, "STRICTER")) return CURL_STRICTER;
  curlopt-constants.c:128:49: note: each undeclared identifier is reported only once for each function it appears in
  curlopt-constants.c:2051:44: warning: overflow in implicit constant conversion [-Woverflow]
               if (strEQ(name, "ANY")) return CURLAUTH_ANY;
  curlopt-constants.c:2052:48: warning: overflow in implicit constant conversion [-Woverflow]
               if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
  Makefile:357: recipe for target 'Curl.o' failed
  make[1]: *** [Curl.o] Error 1
Niko Tyni   ntyni at debian.org

More information about the Reproducible-builds mailing list