Your message dated Tue, 10 Jan 2023 10:50:53 +0000
with message-id <[email protected]>
and subject line Bug#1015523: fixed in libspectrum 1.5.0-4
has caused the Debian Bug report #1015523,
regarding libspectrum: 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.)
--
1015523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libspectrum
Version: 1.5.0-3
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/libspectrum_1.5.0-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
dh_auto_test
make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make check-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make test/test
make[3]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include -DSRCDIR='"."' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wwrite-strings -c -o test/test-edges.o `test -f
'test/edges.c' || echo './'`test/edges.c
gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include -DSRCDIR='"."' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wwrite-strings -c -o test/test-szx.o `test -f
'test/szx.c' || echo './'`test/szx.c
gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include -DSRCDIR='"."' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wwrite-strings -c -o test/test-test.o `test -f
'test/test.c' || echo './'`test/test.c
gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include -DSRCDIR='"."' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wwrite-strings -c -o test/test-test_edges.o
`test -f 'test/test_edges.c' || echo './'`test/test_edges.c
test/test.c: In function ‘test_72’:
test/test.c:827:27: warning: variable ‘block’ set but not used
[-Wunused-but-set-variable]
827 | libspectrum_tape_block *block;
| ^~~~~
/bin/bash ./libtool --tag=CC --mode=link gcc -DSRCDIR='"."' -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings
-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -L/usr/lib -o test/test
test/test-edges.o test/test-szx.o test/test-test.o test/test-test_edges.o
libspectrum.la -lbz2 -lz -lgcrypt
libtool: link: gcc -DSRCDIR=\".\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wwrite-strings -flto=auto -ffat-lto-objects
-Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/.libs/test test/test-edges.o
test/test-szx.o test/test-test.o test/test-test_edges.o -L/usr/lib
./.libs/libspectrum.so -lbz2 -lz -lgcrypt
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make check-TESTS
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
./test-driver: line 112: 1348170 Aborted "$@" >> "$log_file"
2>&1
FAIL: test/test
=========================================
libspectrum 1.5.0: ./test-suite.log
=========================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test/test
===============
libspectrum error: libspectrum_tzx_create: unknown block type 0xff
libspectrum error: libspectrum_snap_read: couldn't identify file
libspectrum error: libspectrum_snap_read: couldn't identify file
FAIL test/test (exit status: 134)
============================================================================
Testsuite summary for libspectrum 1.5.0
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to http://sourceforge.net/p/fuse-emulator/bugs/
============================================================================
make[4]: *** [Makefile:1140: test-suite.log] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: *** [Makefile:1248: check-TESTS] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:1460: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1462: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: libspectrum
Source-Version: 1.5.0-4
Done: Alberto Garcia <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libspectrum, 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.
Alberto Garcia <[email protected]> (supplier of updated libspectrum 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: SHA256
Format: 1.8
Date: Tue, 10 Jan 2023 11:19:20 +0100
Source: libspectrum
Architecture: source
Version: 1.5.0-4
Distribution: unstable
Urgency: medium
Maintainer: Alberto Garcia <[email protected]>
Changed-By: Alberto Garcia <[email protected]>
Closes: 1015523
Changes:
libspectrum (1.5.0-4) unstable; urgency=medium
.
[ Debian Janitor ]
* Use secure URI in Homepage field.
* Bump debhelper from old 12 to 13.
* Set field Upstream-Name in debian/copyright.
* Update standards version to 4.6.1, no changes needed.
.
[ Alberto Garcia ]
* Use secure URI in debian/copyright and debian/watch.
* debian/rules:
- Explicitly disable LTO (Closes: #1015523).
* debian/patches/hide-internal-symbols.patch:
- Update to hide an internal symbol used by the tests.
* debian/libspectrum8.symbols:
- Update after the removal of the internal symbol by the previous patch.
* debian/copyright:
- Update copyright years.
Checksums-Sha1:
84e364713851320dc37d4095177e31e5729315d7 2013 libspectrum_1.5.0-4.dsc
c9c7eae14a693634859d39a238409a61f92288d5 9152 libspectrum_1.5.0-4.debian.tar.xz
c005ae41fc70a7a31adb15c73acb2cfeb1806701 7168
libspectrum_1.5.0-4_source.buildinfo
Checksums-Sha256:
fc7233d98a5902ffa7b4bf7318eb082887858d053ba3dd9b8c9d4b0b8a73ad24 2013
libspectrum_1.5.0-4.dsc
5ee593476e70bff003eb1e8c4b9c7fe0c10a77a5f5fd035682bcaeef774b8cea 9152
libspectrum_1.5.0-4.debian.tar.xz
da680021f45a9f2f4c47ccc3486e50b0032a897acaeffec5260b4e15577885f9 7168
libspectrum_1.5.0-4_source.buildinfo
Files:
d9ae55a900649261f3218bd0fc056027 2013 libs optional libspectrum_1.5.0-4.dsc
7daab66b2be33af257bdf2cdcf38b395 9152 libs optional
libspectrum_1.5.0-4.debian.tar.xz
eeb22a79890604dac12d20410354b69e 7168 libs optional
libspectrum_1.5.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEYrwugQBKzlHMYFizAAyEYu0C2AIFAmO9PS4ACgkQAAyEYu0C
2AI7QQ/+K2K8KxaEXuXK+ObweWlHXnjuLzSuAt5U4dhf5DDsVJ2IB/EfW6B5dfDD
aJjP8niC7nRNjf5XF+doFXzDWR99Vf8P5u/zAeE6aVJIHd84vnN6RGKs/Ik1sAyz
dLiyPWjO9JAdZY/C/h0L74No+Be/XFBm5mwwRldWEkfPZrueuwrQI5jDOY/1+cQK
oCo62YLIiCB2D5fMJOMfhnu+xGAp2oNhzOHtuuatXhLj4PREcSiw480nW36Bro1F
8Z1JzHIYrKuhnmhk/l3aTDvF3m7OeEanv5r5S0ZeYcdbxZPmJd7xqJBkdEsuwy0n
HmMIjvcZW6vn0Yd+DQcdQFdaGWSew8eJGuhvcMp4ad/fyFZbFjItTuDfv1k6ntwY
nvUAMcYiBOmHq90yUDBFR/+4Ed6O7Y0VHqzzafNjdyNZsYUK+DAyK6LkIAn4LIlm
I93ntL36MZ53X4e0vXDfGHBd//aZ3nx5P0ti5LhIsT9v0T7AgV+H+DAAW6URVUfb
GbcpYEkZdh2kgJPKwFgfE9YcZH71yyouEmABebQElTGYdJUD5nec9naa8qmzYA0G
WuU/hTnE4TKjtfZ1J2m5rwDkzv9XfDPiVi1FXLUpKY29+sxZIPe4XgZB+j2QMXYq
GJ9bEa8Qph+ANcdmqhimqLoZ0/jMl+jO+u6XgqwKfBKDadrZPe0=
=RmlS
-----END PGP SIGNATURE-----
--- End Message ---