Your message dated Fri, 31 Oct 2025 16:49:18 +0000
with message-id <[email protected]>
and subject line Bug#1015394: fixed in elinks 0.18.0-2
has caused the Debian Bug report #1015394,
regarding elinks: 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.)
--
1015394: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015394
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:elinks
Version: 0.13.2-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/elinks_0.13.2-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
| ^~~~
../../.././src/mime/backend/mailcap.c:775:33: note: in expansion of macro ‘N_’
775 | /* name: */ N_("Mailcap"),
| ^~
../../.././src/mime/backend/mailcap.c: In function ‘main’:
../../.././src/mime/backend/mailcap.c:798:33: warning: pointer targets in
initialization of ‘unsigned char *’ from ‘char *’ differ in signedness
[-Wpointer-sign]
798 | unsigned char *format = "description,ask,block,program";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../.././src/mime/backend/mailcap.c:811:44: warning: pointer targets in
assignment from ‘char *’ to ‘unsigned char *’ differ in signedness
[-Wpointer-sign]
811 | get_mailcap_path() = arg;
| ^
../../.././src/mime/backend/mailcap.c:815:32: warning: pointer targets in
assignment from ‘char *’ to ‘unsigned char *’ differ in signedness
[-Wpointer-sign]
815 | format = arg;
| ^
../../.././src/mime/backend/mailcap.c:824:60: warning: pointer targets in
passing argument 1 of ‘get_mime_handler_mailcap’ differ in signedness
[-Wpointer-sign]
824 | handler = get_mime_handler_mailcap(arg, 0);
| ^~~
| |
| char *
../../.././src/mime/backend/mailcap.c:733:41: note: expected ‘unsigned char *’
but argument is of type ‘char *’
733 | get_mime_handler_mailcap(unsigned char *type, int xwin)
| ~~~~~~~~~~~~~~~^~~~
[LINK] src/mime/backend/mailcap-cache
../../.././src/mime/backend/default.h:8:34: warning: type of
‘default_mime_backend’ does not match original declaration [-Wlto-type-mismatch]
8 | extern const struct mime_backend default_mime_backend;
| ^
../../.././src/mime/backend/mailcap.c:789:5: note: type ‘int’ should match type
‘const struct mime_backend’
789 | int default_mime_backend,
| ^
../../.././src/mime/backend/mailcap.c:789:5: note: ‘default_mime_backend’ was
previously declared here
../../.././src/mime/backend/mailcap.c:789:5: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../osdep/../.././src/osdep/signals.h:12:6: error: variable
‘install_signal_handler’ redeclared as function
12 | void install_signal_handler(int, void (*)(void *), void *, int);
| ^
../../.././src/mime/backend/mailcap.c:790:5: note: previously declared here
790 | install_signal_handler,
| ^
../../.././src/mime/backend/mimetypes.h:8:34: warning: type of
‘mimetypes_mime_backend’ does not match original declaration
[-Wlto-type-mismatch]
8 | extern const struct mime_backend mimetypes_mime_backend;
| ^
../../.././src/mime/backend/mailcap.c:791:5: note: type ‘int’ should match type
‘const struct mime_backend’
791 | mimetypes_mime_backend,
| ^
../../.././src/mime/backend/mailcap.c:791:5: note: ‘mimetypes_mime_backend’ was
previously declared here
../../.././src/mime/backend/mailcap.c:791:5: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../intl/gettext/../../.././src/main/main.h:21:23: warning: type of ‘program’
does not match original declaration [-Wlto-type-mismatch]
21 | extern struct program program;
| ^
../../.././src/mime/backend/mailcap.c:792:5: note: type ‘int’ should match type
‘struct program’
792 | program;
| ^
../../.././src/mime/backend/mailcap.c:792:5: note: ‘program’ was previously
declared here
../../.././src/mime/backend/mailcap.c:792:5: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[4]: *** [../../.././Makefile.lib:227: mailcap-cache] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/mime/backend'
make[3]: *** [../.././Makefile.lib:268: test-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/mime'
make[2]: *** [.././Makefile.lib:268: test-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile.lib:268: test-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 test "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: elinks
Source-Version: 0.18.0-2
Done: أحمد المحمودي (Ahmed El-Mahmoudy) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
elinks, 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.
أحمد المحمودي (Ahmed El-Mahmoudy) <[email protected]> (supplier
of updated elinks 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: Fri, 31 Oct 2025 17:36:36 +0100
Source: elinks
Built-For-Profiles: noudeb
Architecture: source
Version: 0.18.0-2
Distribution: unstable
Urgency: medium
Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy)
<[email protected]>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy)
<[email protected]>
Closes: 1015394
Changes:
elinks (0.18.0-2) unstable; urgency=medium
.
* d/p/fix-libdomdeps.patch: fix spelling error of Description field
* Drop redundant Rules-Requires-Root field
* Enable sixel
* d/control: update standards version to 4.7.2
* Add fix-lto.patch to fix FTBFS with LTO enabled (Closes: #1015394)
Checksums-Sha1:
6f8ee599f1248d96f05426b3404de55e4d033626 2107 elinks_0.18.0-2.dsc
1864d6a9bf72fca1a7b53180724d08a047b21731 24104 elinks_0.18.0-2.debian.tar.xz
32662cb12ea94a7bbb8000809912c1abe2658676 9901 elinks_0.18.0-2_source.buildinfo
Checksums-Sha256:
501328d36a15ce80ef321da12c23b1ec17f7600682866ebe734e43fface47e13 2107
elinks_0.18.0-2.dsc
03b81b1a1a6e1ab368b9a80870b80dbac5e82571989971dacdedae7a20f87256 24104
elinks_0.18.0-2.debian.tar.xz
a15c14a2beb7b89b5f0844258603864c2c7f6ba9ae41ec7b8aed1fcaba27ab97 9901
elinks_0.18.0-2_source.buildinfo
Files:
605c550991b89e8e9adae4b50ad87ea0 2107 web optional elinks_0.18.0-2.dsc
7766f59c9d85eb21f997c942267052a9 24104 web optional
elinks_0.18.0-2.debian.tar.xz
a9c4f3391dae880a8c7a96b90dc45bed 9901 web optional
elinks_0.18.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFWBAEBCgBAFiEEggahliCEfm0N+LF2vBlqlO3dobcFAmkE5dkiHGFlbG1haG1v
dWR5QHVzZXJzLnNvdXJjZWZvcmdlLm5ldAAKCRC8GWqU7d2hty7lCACZFYGATlkR
jN46HleLRTD3TUl0yfpIKx0d0izvH+PNy96AsvUocE7T0gsuvcnJ8rA74sYRepmU
7cURYT+8Pn+fcVKLvELWxiH9sdil8iCw62nxi0ma3iMIo9Pl4ZfKu6HN382D91CF
X0G0nEuremXfLREyX/lMXHRbcMjK1UJgVRz8MEWpQqBrClBbCcBhAfEWMhWmqK3V
f3x5yw+kNieEnb6Pbxp8p5mwnKc48tPSnDKcf2vbybfqLu1S4xARgeh5yb13tLu2
vonPGc+TqEAcp6yfidEPYPj4FDpIpiDcq1MXn4uhZXf3O99dXwNcG2llvGmWS9o8
QUV++0VZp1Jq
=sOA+
-----END PGP SIGNATURE-----
pgpd3814y2yYu.pgp
Description: PGP signature
--- End Message ---