Your message dated Tue, 16 Aug 2022 05:39:06 +0000
with message-id <[email protected]>
and subject line Bug#1015485: fixed in libeconf 0.4.6+dfsg1-1
has caused the Debian Bug report #1015485,
regarding libeconf: ftbfs with LTO (link time optimization) enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1015485: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015485
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libeconf
Version: 0.4.4+dfsg1-1
Severity: minor
Tags: sid bookworm
User: [email protected]
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/libeconf_0.4.4+dfsg1-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../util/econftool.c:457:54: error: ‘%s’ directive output may be truncated 
writing up to 4095 bytes into a region of size 4091 [-Werror=format-truncation=]
  457 |         snprintf(conf_path, sizeof(conf_path), "/etc/%s", 
conf_filename);
      |                                                      ^~   ~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ../util/econftool.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__snprintf_chk’ 
output between 6 and 4101 bytes into a destination of size 4096
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../util/econftool.c:455:52: error: ‘%s’ directive output may be truncated 
writing up to 4095 bytes into a region of size between 0 and 4095 
[-Werror=format-truncation=]
  455 |         snprintf(conf_path, sizeof(conf_path), "%s/%s", xdg_config_dir, 
conf_filename);
      |                                                    ^~                   
~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ../util/econftool.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__snprintf_chk’ 
output between 2 and 8192 bytes into a destination of size 4096
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../util/econftool.c:635:56: error: ‘%s’ directive output may be truncated 
writing up to 4095 bytes into a region of size between 0 and 4095 
[-Werror=format-truncation=]
  635 |             snprintf(conf_path, sizeof(conf_path), "%s/%s", conf_dir,
      |                                                        ^~
  636 |                     conf_filename);
      |                     ~~~~~~~~~~~~~                       
In file included from /usr/include/stdio.h:866,
                 from ../util/econftool.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__snprintf_chk’ 
output between 2 and 8192 bytes into a destination of size 4096
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../util/econftool.c:631:56: error: ‘%s’ directive output may be truncated 
writing up to 4095 bytes into a region of size between 0 and 4095 
[-Werror=format-truncation=]
  631 |             snprintf(conf_path, sizeof(conf_path), "%s/%s", conf_dir,
      |                                                        ^~
  632 |                     conf_filename);
      |                     ~~~~~~~~~~~~~                       
In file included from /usr/include/stdio.h:866,
                 from ../util/econftool.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__snprintf_chk’ 
output between 2 and 8192 bytes into a destination of size 4096
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[26/89] cc -Itests/tst-string.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-string.p/tst-string.c.o -MF tests/tst-string.p/tst-string.c.o.d -o 
tests/tst-string.p/tst-string.c.o -c ../tests/tst-string.c
[27/89] cc -Itests/tst-string-append.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-string-append.p/tst-string-append.c.o -MF 
tests/tst-string-append.p/tst-string-append.c.o.d -o 
tests/tst-string-append.p/tst-string-append.c.o -c ../tests/tst-string-append.c
[28/89] cc -Itests/tst-comments.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-comments.p/tst-comments.c.o -MF 
tests/tst-comments.p/tst-comments.c.o.d -o 
tests/tst-comments.p/tst-comments.c.o -c ../tests/tst-comments.c
[29/89] cc -Itests/tst-extvalue.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-extvalue.p/tst-extvalue.c.o -MF 
tests/tst-extvalue.p/tst-extvalue.c.o.d -o 
tests/tst-extvalue.p/tst-extvalue.c.o -c ../tests/tst-extvalue.c
[30/89] cc -Itests/tst-getconfdirs1.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DSUFFIX=".conf"' 
'-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-getconfdirs1.p/tst-getconfdirs1.c.o -MF 
tests/tst-getconfdirs1.p/tst-getconfdirs1.c.o.d -o 
tests/tst-getconfdirs1.p/tst-getconfdirs1.c.o -c ../tests/tst-getconfdirs1.c
[31/89] cc -Itests/tst-getconfdirs2.p -Itests -I../tests -I../include 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -O0 -D_GNU_SOURCE=1 -DXTSTRINGDEFINES -Werror 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=8 -Wbad-function-cast 
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIE '-DSUFFIX="conf"' 
'-DTESTSDIR="/<<PKGBUILDDIR>>/tests/"' -MD -MQ 
tests/tst-getconfdirs2.p/tst-getconfdirs1.c.o -MF 
tests/tst-getconfdirs2.p/tst-getconfdirs1.c.o.d -o 
tests/tst-getconfdirs2.p/tst-getconfdirs1.c.o -c ../tests/tst-getconfdirs1.c
[32/89] cc  -o libeconf.so.0.4.4 libeconf.so.0.4.4.p/lib_econf_error.c.o 
libeconf.so.0.4.4.p/lib_get_value_def.c.o 
libeconf.so.0.4.4.p/lib_getfilecontents.c.o libeconf.so.0.4.4.p/lib_helpers.c.o 
libeconf.so.0.4.4.p/lib_keyfile.c.o libeconf.so.0.4.4.p/lib_libeconf.c.o 
libeconf.so.0.4.4.p/lib_libeconf_ext.c.o libeconf.so.0.4.4.p/lib_mergefiles.c.o 
-Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group 
-Wl,-soname,libeconf.so.0 -Wl,--end-group -flto=auto -ffat-lto-objects 
-Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security 
-Wdate-time -D_FORTIFY_SOURCE=2 
-Wl,--version-script,/<<PKGBUILDDIR>>/lib/libeconf.map
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v 
returned exit code 1
make: *** [debian/rules:18: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libeconf
Source-Version: 0.4.6+dfsg1-1
Done: Andreas Henriksson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libeconf, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Henriksson <[email protected]> (supplier of updated libeconf 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 [email protected])


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

Format: 1.8
Date: Tue, 16 Aug 2022 07:09:20 +0200
Source: libeconf
Architecture: source
Version: 0.4.6+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Andreas Henriksson <[email protected]>
Changed-By: Andreas Henriksson <[email protected]>
Closes: 1014604 1015485
Changes:
 libeconf (0.4.6+dfsg1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Add debian/patches/werror.patch (Closes: #1015485, #1014604)
Checksums-Sha1:
 2208f00b510ca113c7831afd243171013edab39c 2108 libeconf_0.4.6+dfsg1-1.dsc
 13a3c335943cceffd7e92dbc2772b335c73bfd64 53020 libeconf_0.4.6+dfsg1.orig.tar.xz
 1971b8b25f950373de4dca1eb8d61a96513b925c 4428 
libeconf_0.4.6+dfsg1-1.debian.tar.xz
 e00faf1a0f0939e0814b9420ba342b2b4a331b79 7965 
libeconf_0.4.6+dfsg1-1_amd64.buildinfo
Checksums-Sha256:
 934cc16b0bc3d243a2c1e5a98e205ccde71207e89d3a4f37b03b2e47404d98c7 2108 
libeconf_0.4.6+dfsg1-1.dsc
 dc7c76ccaa8c7c10677881292b719cb25f06e0eddda477eeb57da53558b1c9c9 53020 
libeconf_0.4.6+dfsg1.orig.tar.xz
 193126d7eb405e80e01824a7e162490882703711745fc51940175e9d5ef27794 4428 
libeconf_0.4.6+dfsg1-1.debian.tar.xz
 42b15154bbe1340dcb7ff6f4172ea9e00a10bcede6dd7dce9600550911175623 7965 
libeconf_0.4.6+dfsg1-1_amd64.buildinfo
Files:
 d48f7b4e6b05309a5047cf488e7af1d8 2108 libs optional libeconf_0.4.6+dfsg1-1.dsc
 d60dd8a109ebffa5ce1f66f2bfbfd9b3 53020 libs optional 
libeconf_0.4.6+dfsg1.orig.tar.xz
 dff5a63937bb7f76ef202a56cdb0ac33 4428 libs optional 
libeconf_0.4.6+dfsg1-1.debian.tar.xz
 31818ca9ddaa30bb042a66f0f719a565 7965 libs optional 
libeconf_0.4.6+dfsg1-1_amd64.buildinfo

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

iQJFBAEBCgAvFiEE+uHltkZSvnmOJ4zCC8R9xk0TUwYFAmL7KPQRHGFuZHJlYXNA
ZmF0YWwuc2UACgkQC8R9xk0TUwZ0Hw/+MuMSRYsN/8WyZaUeuJqOYbjNbyLXVdfJ
NwP8Hk50oDn8+Q9V8L9cFwbJThO1WpjdIAvWKRghbUSMv4ZvkAtXtrahfiz2d8OC
AOLkY0gy4mTaBFxjAu+WmXsDt5BmFane+1UtG6RzN4/80/2xPC3IUGDAsXKZg0H7
DAVrhtte0f9i1gNRI+ChD8HjlOFrcPzUlUyz5Yyfs6me4OHn8Ic2XPK75wafP/pB
cO6nkwJESrrVlUMuAoNIB7k4zia/7il03/aHcwo/3qhvY5iqo8HUOzxvzQOprLHa
RXJCYert0EiR5DQs+r39lHC/vQ5+W3k+CQ0yKG3q0qHe5m+ZS/hzYhYCoXsK85zr
17jAHgaJsSYS+IrHnWOwgWiZpVIPB4TgNarwzapjPvAY7THQYhfGSwf69YWqBQ/a
AEyWHNc4U1OF9hKXTwrmRknqkM89DWFn5h/d9JY/u4weIUqTEq4vVNq3SHORTFhc
HZ3GReKgJxPZO6Fvra82nQjo1LwahfWO/ULzZuK1owWmMR4adlZ/uJ2+naWIjPsn
E6revmJAZZqzHHNNX4c2JmnIMp7AlW/Y9EjdW+21VjaATuUGI23CUdUGGBUBx3+y
ok8Yx/kukWGBnMjKClDoR4iWDLE2u0xbvIT1DR3F1rdr7PmmI4v9fJB+UCLHvwMD
WvtN1z1GNa4=
=inJk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to