Your message dated Sun, 31 Dec 2023 12:06:07 +0000
with message-id <[email protected]>
and subject line Bug#1015545: fixed in moon-buggy 1:1.0.51-14
has caused the Debian Bug report #1015545,
regarding moon-buggy: 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.)
--
1015545: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:moon-buggy
Version: 1:1.0.51-13
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/moon-buggy_1.0.51-13_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
inlined from ‘read_data’ at highscore.c:276:11,
inlined from ‘update_score_file’ at highscore.c:450:22:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:135:10: warning:
‘__strncat_chk’ specified bound 40 equals destination size
[-Wstringop-overflow=]
135 | return __builtin___strncat_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:135:10: warning:
‘__strncat_chk’ specified bound 40 equals destination size
[-Wstringop-overflow=]
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c realname.c
realname.c: In function ‘get_real_user_name’:
realname.c:65:62: warning: format ‘%d’ expects argument of type ‘int’, but
argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
65 | sprintf (tmpl, "please enter your name (default: \"%%.%ds\"): ",
size);
| ~^
~~~~
| | |
| int
size_t {aka long unsigned int}
| %ld
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c queue.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c vclock.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c date.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c persona.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c signal.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c keyboard.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c terminal.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c cursor.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c random.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c error.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c xstrdup.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security
-DSCORE_DIR=\"/var/games/moon-buggy\" -c hpath.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -flto=auto
-ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o moon-buggy main.o mode.o title.o
pager.o game.o level.o ground.o buggy.o laser.o meteor.o highscore.o realname.o
queue.o vclock.o date.o persona.o signal.o keyboard.o terminal.o cursor.o
random.o error.o xmalloc.o xstrdup.o hpath.o -lcurses -lm
moon-buggy.h:28:17: warning: type of ‘moon’ does not match original declaration
[-Wlto-type-mismatch]
28 | extern WINDOW *moon, *status, *message;
| ^
main.c:30:9: note: ‘moon’ was previously declared here
30 | WINDOW *moon, *status, *message;
| ^
main.c:30:9: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is
used
moon-buggy.h:28:33: warning: type of ‘message’ does not match original
declaration [-Wlto-type-mismatch]
28 | extern WINDOW *moon, *status, *message;
| ^
main.c:30:25: note: ‘message’ was previously declared here
30 | WINDOW *moon, *status, *message;
| ^
main.c:30:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is
used
In function ‘strncat’,
inlined from ‘read_version2_data’ at highscore.c:210:5,
inlined from ‘read_data’ at highscore.c:273:11,
inlined from ‘update_score_file’ at highscore.c:450:22:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:135:10: warning:
‘__builtin___strncat_chk’ specified bound 40 equals destination size
[-Wstringop-overflow=]
135 | return __builtin___strncat_chk (__dest, __src, __len,
| ^
In function ‘strncat’,
inlined from ‘read_version3_data’ at highscore.c:244:5,
inlined from ‘read_data’ at highscore.c:276:11,
inlined from ‘update_score_file’ at highscore.c:450:22:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:135:10: warning:
‘__builtin___strncat_chk’ specified bound 40 equals destination size
[-Wstringop-overflow=]
135 | return __builtin___strncat_chk (__dest, __src, __len,
| ^
/usr/bin/ld: /tmp/ccY9yvjZ.ltrans0.ltrans.o: in function `update_score_file':
./highscore.c:322: undefined reference to `fclean'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:294: moon-buggy] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:215: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: moon-buggy
Source-Version: 1:1.0.51-14
Done: Christian T. Steigies <[email protected]>
We believe that the bug you reported is fixed in the latest version of
moon-buggy, 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.
Christian T. Steigies <[email protected]> (supplier of updated moon-buggy 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: Sun, 31 Dec 2023 12:36:35 +0100
Source: moon-buggy
Architecture: source
Version: 1:1.0.51-14
Distribution: unstable
Urgency: medium
Maintainer: Christian T. Steigies <[email protected]>
Changed-By: Christian T. Steigies <[email protected]>
Closes: 1013829 1015545
Changes:
moon-buggy (1:1.0.51-14) unstable; urgency=medium
.
[ Debian Janitor ]
* Trim trailing whitespace.
* Use secure URI in Homepage field.
* Bump debhelper from deprecated 9 to 10.
.
[ Christian T. Steigies ]
* Remove dependency on install-info (closes: #1013829).
* Switch to debhelper 13, remove compat file.
* Update watch file to version 4.
* Update standards-version to 4.6.1 (no changes).
* Build with LTO enabled (closes: #1015545).
* Add smoke test.
Checksums-Sha1:
bb6893dfbf8de53ab9f5154540e94e61a3326b95 2012 moon-buggy_1.0.51-14.dsc
890c1e7de55544bf1c63311c5fe3263638c98369 18236
moon-buggy_1.0.51-14.debian.tar.xz
f2eb77ccb17e37cbe93b3bdd719a3f0e15c311d0 14278
moon-buggy_1.0.51-14_amd64.buildinfo
Checksums-Sha256:
784060925c130845a2a44454abdeae5b9f3827cc4bbae2eadcc621b8bf2439ec 2012
moon-buggy_1.0.51-14.dsc
0136e42621d4d9de7aa7e631c65f1ad189f37c3f2afb0adf9dba87d0cf679015 18236
moon-buggy_1.0.51-14.debian.tar.xz
06633b1e7c3cd5bd200fe37bc6b80c34879dd9be33fe78150ad390da685492f1 14278
moon-buggy_1.0.51-14_amd64.buildinfo
Files:
9d44a95737e68236d121334a3252ea1b 2012 games optional moon-buggy_1.0.51-14.dsc
3f89cca6bf0726845540859d4f85730b 18236 games optional
moon-buggy_1.0.51-14.debian.tar.xz
13c050856085d2d471c462a58f09d819 14278 games optional
moon-buggy_1.0.51-14_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEMuHemUY/GC4Wej4EcA1WeHGyg0IFAmWRVQ8PHGN0c0BkZWJp
YW4ub3JnAAoJEHANVnhxsoNC5KIQALQmZD6o44BIyjiPATZPSZKl1F8PA8M/eFlZ
UwMCav5Bn/vfDy/ua36IKBjglAJIgm6OTMIf/A1uDwEh+eC5kgFszMIW3XLy6hcp
fulCnvXsitNLERhTzamxglvJWCLi5ddgvBFA4m2XDr2AN5TJTItPrrVrvY9yN7CD
cwde4a7VAuJ+Md+17N/ZEBWgr/ABr+FBoTJtCYAKnrMcyvKSOEaWosb4uINip9xY
JxJN2GOpj0X2giHE+3Kc7tAmtGB+jTJQTETzZH32IXCL/FnS2TZjVWIq/davUBTZ
vbcbXFBj7jUt51J9ge6ARIx60EENGJy5fUH7u/YJXe6GZrO8YUa7r2HtLsV807p+
urDIA0QxdIltrsR6kLz8gTSJH76EarBqMZ4wufxUFxYH97FwHYQmiYMHBhgNC6vd
plhZqxoNhaBoSzThqHaydUrh9J9/2EWcyL8olRx1hQL/iE096NQq5YQJCqGdLZ95
8T85ZQAeE/sGrNTNXwAhgaZUDsYirsj6nV6mvWAiKcwChXX74/yuD+lz+LdQrzNt
QB0yTPhqTFN9IaXDaI3qtSILfhYjqV6/EGorC38Oo4mjvt1oG6LwUYw/J9yJR+C3
aGM/FNtWqu5Si7fDX+lc+wIktl1/T/5G7v3W1K9dt2UaOX4D2oUOWW8lUpUGui7P
R7PwQiVD
=+TXi
-----END PGP SIGNATURE-----
--- End Message ---