[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Debian Bug report logs - #853507
libreswan: ftbfs with GCC-7

version graph

Package: src:libreswan; Maintainer for src:libreswan is Daniel Kahn Gillmor <dkg@fifthhorseman.net>;

Reported by: Matthias Klose <doko@debian.org>

Date: Tue, 31 Jan 2017 09:42:57 UTC

Severity: normal

Tags: buster, sid

Found in version libreswan/3.19-1

Fixed in version libreswan/3.20-1

Done: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Bug is archived. No further changes may be made.

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


Report forwarded to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Bug#853507; Package src:libreswan. (Tue, 31 Jan 2017 09:42:59 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>. (Tue, 31 Jan 2017 09:42:59 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: libreswan: ftbfs with GCC-7
Date: Tue, 31 Jan 2017 09:33:10 +0000
Package: src:libreswan
Version: 3.19-1
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/libreswan_3.19-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/libswan/constants.c: In function 'enum_enum_showb':
/<<PKGBUILDDIR>>/lib/libswan/constants.c:2259:36: error: '%lu' directive output may be truncated writing between 1 and 20 bytes into a region of size 14 [-Werror=format-truncation=]
  snprintf(b->buf, sizeof(b->buf), "%lu??", val);
                                    ^~~
/<<PKGBUILDDIR>>/lib/libswan/constants.c:2259:35: note: using the range [1, 18446744073709551615] for directive argument
  snprintf(b->buf, sizeof(b->buf), "%lu??", val);
                                   ^~~~~~~
In file included from /usr/include/stdio.h:938:0,
                 from /<<PKGBUILDDIR>>/lib/libswan/constants.c:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between 4 and 23 bytes into a destination of size 14
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/libswan/constants.c: In function 'sparse_val_show':
/<<PKGBUILDDIR>>/lib/libswan/constants.c:2401:31: error: '%lu' directive output may be truncated writing between 1 and 20 bytes into a region of size 12 [-Werror=format-truncation=]
   snprintf(buf, sizeof(buf), "%lu??", val);
                               ^~~
/<<PKGBUILDDIR>>/lib/libswan/constants.c:2401:30: note: using the range [1, 18446744073709551615] for directive argument
   snprintf(buf, sizeof(buf), "%lu??", val);
                              ^~~~~~~
In file included from /usr/include/stdio.h:938:0,
                 from /<<PKGBUILDDIR>>/lib/libswan/constants.c:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between 4 and 23 bytes into a destination of size 12
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
../../../mk/depend.mk:28: recipe for target 'constants.o' failed
make[5]: *** [constants.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/OBJ.linux.x86_64/lib/libswan'
Makefile:98: recipe for target 'local-base' failed
make[4]: *** [local-base] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/libswan'
../mk/targets.mk:82: recipe for target 'recursive-all' failed
make[3]: *** [recursive-all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
mk/targets.mk:82: recipe for target 'recursive-all' failed
make[2]: *** [recursive-all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
You have taken responsibility. (Mon, 20 Mar 2017 19:51:05 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Mon, 20 Mar 2017 19:51:06 GMT) (full text, mbox, link).


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

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: 853507-close@bugs.debian.org
Subject: Bug#853507: fixed in libreswan 3.20-1
Date: Mon, 20 Mar 2017 19:48:53 +0000
Source: libreswan
Source-Version: 3.20-1

We believe that the bug you reported is fixed in the latest version of
libreswan, 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 853507@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <dkg@fifthhorseman.net> (supplier of updated libreswan 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: Mon, 20 Mar 2017 14:58:40 -0400
Source: libreswan
Binary: libreswan
Architecture: source
Version: 3.20-1
Distribution: unstable
Urgency: medium
Maintainer: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Changed-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Description:
 libreswan  - Internet Key Exchange daemon
Closes: 853507
Changes:
 libreswan (3.20-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #853507)
   * drop build-dep on dh-systemd, since it is now in debhelper itself
Checksums-Sha1:
 f1696d6beede288a6dbe606440bdd4e35fa3f897 2175 libreswan_3.20-1.dsc
 ca8e56bf6a99d67201f5c4065991d72febf14eae 8898915 libreswan_3.20.orig.tar.gz
 ad09cd0f1bc89e57e95e7baf7a6058e2a5f54ec5 12176 libreswan_3.20-1.debian.tar.xz
 e61df9475f14d8cddf8e090e16730751103c5ef8 9734 libreswan_3.20-1_amd64.buildinfo
Checksums-Sha256:
 d8918308531ffc403de777e98146c2de5dcd4e24aa5f2a60e58638fa5ec35dca 2175 libreswan_3.20-1.dsc
 2f0931c11ea0b9303ce1e4ee76ffe9db6f3bd70ceead51fe4ec11e2f40a9ae2e 8898915 libreswan_3.20.orig.tar.gz
 c30f741c3a25e3e7f04b63896b57184c16de84507720f688859a703f2bb2e57c 12176 libreswan_3.20-1.debian.tar.xz
 b2696a426c228fa76876cbc7720074db48e274208d27c60c0dcf3c6a55b3a61a 9734 libreswan_3.20-1_amd64.buildinfo
Files:
 6a9e02b42100cb309cd2a2de92fa7c18 2175 net optional libreswan_3.20-1.dsc
 72aecdf8314c0c47546d5ae2cf918191 8898915 net optional libreswan_3.20.orig.tar.gz
 14f00449b865edbdbf3b046cbc2a16a9 12176 net optional libreswan_3.20-1.debian.tar.xz
 38832185785d3e901b635150c4dc5063 9734 net optional libreswan_3.20-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAljQKCYACgkQFJitxsGS
MjdcgBAAulc297kQX5GlGqGcSEn1ZDPr3PLV1/5bUMH7P5HWenjsG+028VctCs4/
JJYQfo64v887ewwxjghgLccFp7GBH29xwLBf9YeYZFPpajzscJM9Bg+HJHpYpYxB
Cef35N1qm5rEnyUWdhhmDSwnlgzSvOt2f2OZDDcDnmnhJU+1UrcxIJ/+j4/tyOf9
E6vzwVRT0iikEQ0OCTYVBuCtIL3eeG/yv1aLT7L2Nb4wihngpLI39UoMMVnllg5U
Njh3cwkPNdgm2a1QURvhIHUJ1zfFBYI7zL56uuCLQ7EvVEoQvOZ07dl5uL2UgDay
D+UIC10q+8zJ8N5hjkkTguGnDX4qSFKS0nDo7qZBFX7YIELQPAF436xUg+3MwjTh
4WG5aDBk6QReZOeIoDInONjI+5CmK4+0h1MmAgWB7u085yEqJ5yyXPymWpseoYXl
CTYTD7lAvXYx/i92bgZxSiKbdxUgL5RqcaRPFcWF2b901ZcGgW5da/rvtvt8SCoG
v154/GFpjpAuezH6tOFQ4aKWPXGMl8wUkZbq0WzluHTIG3tbTolll9RdKpQXJQHo
lZxeNtZobU3NbMphfj650wRIa7Hn9OkvEi3W+GNXf2ub59CwcSUIaqm47jwVlFY5
h8KgYAAaMzilHsLEzNXQSlkAsgmhr13omDYnj3S7MQiyoy3mWjA=
=wrDv
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 19 Apr 2017 07:25:05 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: Thu Jul 24 10:49:47 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.