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

version graph

Package: libwww-curl-perl; Maintainer for libwww-curl-perl is Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>; Source for libwww-curl-perl is src:libwww-curl-perl (PTS, buildd, popcon).

Reported by: Niko Tyni <ntyni@debian.org>

Date: Sun, 6 Nov 2016 17:09:01 UTC

Severity: serious

Tags: confirmed, patch

Found in version libwww-curl-perl/4.17-2

Fixed in version libwww-curl-perl/4.17-3

Done: gregor herrmann <gregoa@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://rt.cpan.org/Public/Bug/Display.html?id=117793

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, curl@packages.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#843432; Package libwww-curl-perl. (Sun, 06 Nov 2016 17:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Niko Tyni <ntyni@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, curl@packages.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Sun, 06 Nov 2016 17:09:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Niko Tyni <ntyni@debian.org>
To: submit@bugs.debian.org
Subject: libwww-curl-perl: FTBFS: error: 'CURL_STRICTER' undeclared
Date: Sun, 6 Nov 2016 19:06:43 +0200
Package: libwww-curl-perl
Version: 4.17-2
Severity: serious
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org, curl@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.

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/libwww-curl-perl.html

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@debian.org



Set Bug forwarded-to-address to 'https://rt.cpan.org/Public/Bug/Display.html?id=117793'. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sun, 06 Nov 2016 17:24:02 GMT) (full text, mbox, link).


Added tag(s) confirmed and patch. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sun, 06 Nov 2016 17:24:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#843432; Package libwww-curl-perl. (Sun, 06 Nov 2016 17:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Sun, 06 Nov 2016 17:27:05 GMT) (full text, mbox, link).


Message #14 received at 843432@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: Niko Tyni <ntyni@debian.org>, 843432@bugs.debian.org, curl@packages.debian.org
Subject: Re: Bug#843432: libwww-curl-perl: FTBFS: error: 'CURL_STRICTER' undeclared
Date: Sun, 6 Nov 2016 18:25:29 +0100
[Message part 1 (text/plain, inline)]
On Sun, 06 Nov 2016 19:06:43 +0200, Niko Tyni wrote:

> 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.

There's an upstream bug at
https://rt.cpan.org/Public/Bug/Display.html?id=117793
which also contains a patch.

Confirmation from the curl maintainers that the patch makes sense
would be welcome.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dire Straits: Money For Nothing
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#843432; Package libwww-curl-perl. (Sun, 06 Nov 2016 18:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Stenberg <daniel@haxx.se>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Sun, 06 Nov 2016 18:15:02 GMT) (full text, mbox, link).


Message #19 received at 843432@bugs.debian.org (full text, mbox, reply):

From: Daniel Stenberg <daniel@haxx.se>
To: gregor herrmann <gregoa@debian.org>
Cc: Niko Tyni <ntyni@debian.org>, 843432@bugs.debian.org, curl@packages.debian.org
Subject: Re: Bug#843432: libwww-curl-perl: FTBFS: error: 'CURL_STRICTER' undeclared
Date: Sun, 6 Nov 2016 19:12:44 +0100 (CET)
On Sun, 6 Nov 2016, gregor herrmann wrote:

> There's an upstream bug at
> https://rt.cpan.org/Public/Bug/Display.html?id=117793
> which also contains a patch.
>
> Confirmation from the curl maintainers that the patch makes sense would be 
> welcome.

Seems sensible. CURL_STRICTER is just a define an application can define to 
change some typedefs in the header files to make the type checking stricter.

-- 

 / daniel.haxx.se



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#843432; Package libwww-curl-perl. (Tue, 08 Nov 2016 21:30:03 GMT) (full text, mbox, link).


Message #22 received at 843432@bugs.debian.org (full text, mbox, reply):

From: pkg-perl-maintainers@lists.alioth.debian.org
To: 843432@bugs.debian.org, 843432-submitter@bugs.debian.org
Subject: Pending fixes for bugs in the libwww-curl-perl package
Date: Tue, 08 Nov 2016 21:26:52 +0000
tag 843432 + pending
thanks

Some bugs in the libwww-curl-perl package are closed in revision
d83b9f79243f28d9c1f4bc6f2016bc5a4cb859e1 in branch 'master' by
Salvatore Bonaccorso

The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-perl/packages/libwww-curl-perl.git/commit/?id=d83b9f7

Commit message:

    Skip preprocessor symbol only CURL_STRICTER
    
    Fixes "FTBFS: error: 'CURL_STRICTER' undeclared".
    
    Thanks: Niko Tyni <ntyni@debian.org>
    
    Closes: #843432




Added tag(s) pending. Request was from pkg-perl-maintainers@lists.alioth.debian.org to control@bugs.debian.org. (Tue, 08 Nov 2016 21:30:05 GMT) (full text, mbox, link).


Message sent on to Niko Tyni <ntyni@debian.org>:
Bug#843432. (Tue, 08 Nov 2016 21:30:07 GMT) (full text, mbox, link).


Reply sent to gregor herrmann <gregoa@debian.org>:
You have taken responsibility. (Wed, 09 Nov 2016 18:51:03 GMT) (full text, mbox, link).


Notification sent to Niko Tyni <ntyni@debian.org>:
Bug acknowledged by developer. (Wed, 09 Nov 2016 18:51:03 GMT) (full text, mbox, link).


Message #32 received at 843432-close@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: 843432-close@bugs.debian.org
Subject: Bug#843432: fixed in libwww-curl-perl 4.17-3
Date: Wed, 09 Nov 2016 18:49:34 +0000
Source: libwww-curl-perl
Source-Version: 4.17-3

We believe that the bug you reported is fixed in the latest version of
libwww-curl-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 843432@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated libwww-curl-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Nov 2016 19:24:25 +0100
Source: libwww-curl-perl
Binary: libwww-curl-perl
Architecture: source
Version: 4.17-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 843432
Description: 
 libwww-curl-perl - Perl bindings to libcurl
Changes:
 libwww-curl-perl (4.17-3) unstable; urgency=medium
 .
   [ gregor herrmann ]
   * Rename autopkgtest configuration file(s) as per new pkg-perl-
     autopkgtest schema.
 .
   [ Salvatore Bonaccorso ]
   * debian/control: Use HTTPS transport protocol for Vcs-Git URI
 .
   [ gregor herrmann ]
   * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
 .
   [ Martín Ferrari ]
   * Remove myself from Uploaders.
 .
   [ gregor herrmann ]
   * Remove Jonathan Yu from Uploaders. Thanks for your work!
   * Remove Jose Luis Rivas from Uploaders. Thanks for your work!
   * Remove Nathan Handler from Uploaders. Thanks for your work!
   * Remove Ryan Niebur from Uploaders. Thanks for your work!
 .
   [ Salvatore Bonaccorso ]
   * Skip preprocessor symbol only CURL_STRICTER.
     Fixes "FTBFS: error: 'CURL_STRICTER' undeclared".
     Thanks to Niko Tyni <ntyni@debian.org> (Closes: #843432)
 .
   [ gregor herrmann ]
   * Update years of packaging copyright.
   * Declare compliance with Debian Policy 3.9.8.
Checksums-Sha1: 
 f09a301c58520c1e6272415d5fee7405e03ef8cb 2353 libwww-curl-perl_4.17-3.dsc
 014c706d7ea0e49b8658f94a509b306ef59017c8 13196 libwww-curl-perl_4.17-3.debian.tar.xz
Checksums-Sha256: 
 dc51482cbbc6002760183e07b486d66918d955921d83723d3cf542cea2236420 2353 libwww-curl-perl_4.17-3.dsc
 64f5e7e19325d59ad1e1779429b34e46a5f374a970633bed96f9aada42c27c3f 13196 libwww-curl-perl_4.17-3.debian.tar.xz
Files: 
 9b6138eaf192d3fe723d53dc6043969e 2353 perl optional libwww-curl-perl_4.17-3.dsc
 b3eacab0195dc4f5083a55406c2dc182 13196 perl optional libwww-curl-perl_4.17-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJYI2pSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGecEP/A8cHYhh5nFKge46JHIJHQ+8
OoHRoh7WzTPgm4FNAV8qQzVTEmwX+LfEoHTKXrQGJJRJl5iscXzZ5UnQiYIL395b
sg6cpnyIrJVRiQ9qXjHD+CeDruydPuk0VHBJaY/IRF2u3buIcW8nF2sxfbkLicpB
96LjRemOnlGJvUC/REvwty5Ll4M1I/mZ2SfLBaUOAqKe/5Dh2eR9EKryyOO2eKTd
4j5t6xzKQusF9ZEOArDcBvwkESsJEdmKvWV8WyF4SLKjiC+Mb5SSdJKb4wWOHp6u
0mnUHdNBAuZmkyv+PJvqexAuJEEwhICtKeTql1PhqHbzFaATxAwUrWYkR5ptY3yA
TmkdnjlAL6rMejMdQ6k6dvEBuE1n4wC3R1JXGO5ofVHGxHbZTsiKyRhzdNJo2KKa
xT0XxeNrx11nV+i0CuwbNNAEAu9dwdbk7qMzMXbJKBqdX88F9NQwH0f84WFthPQ4
uXRsnYcarRCLpRJBRncWKIiYJ8/Nkru0PQ547l1Du2F9MMABvyiV3ouk8faHxinz
KZkKoEWfSqA7j+yMbe09WBlcN6chebGBdOOPpCOo+otv0AZWS0YzM6Cbm31aaR0A
CxNZ0OWdZ51mZ9kVvagDpOQofMasKGVfgZsjZFYgFNemw6CGkbH9eX9WtRK97bER
+GkqrwcJaum4hXMlII2B
=x5Dd
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 08:11:46 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:48:49 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.