Your message dated Sun, 25 Oct 2020 19:19:06 +0000
with message-id <[email protected]>
and subject line Bug#972799: fixed in fling 1.1-3
has caused the Debian Bug report #972799,
regarding fling FTBFS due to -Wl,--as-needed
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.)
--
972799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fling
Version: 1.1-2
Severity: important
Tags: ftbfs patch
fling fails to build from source on a number of 32bit architectures,
because it links libraries in the wrong order. Nowadays, gcc defaults to
-Wl,--as-needed. Since it passes -lm before the main object, -lm is
discarded and the floor symbol remains unresolved. Simply reordering the
flags makes fling build. Please consider applying the attached patch.
Helmut
--- fling-1.1.orig/Makefile
+++ fling-1.1/Makefile
@@ -1,4 +1,5 @@
-CFLAGS += -O2 -Wall -Wextra -pedantic -std=c99 -lm -lrt
+CFLAGS += -O2 -Wall -Wextra -pedantic -std=c99
+LIBS += -lm -lrt
CC ?= gcc
INSTALL ?= install
DESTDIR ?=
@@ -7,7 +8,7 @@
bindir = $(exec_prefix)/bin
fling: fling.c
- $(CC) -o fling $(CFLAGS) fling.c
+ $(CC) -o fling $(CFLAGS) fling.c $(LIBS)
clean:
rm -f fling
--- End Message ---
--- Begin Message ---
Source: fling
Source-Version: 1.1-3
Done: Sudip Mukherjee <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fling, 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.
Sudip Mukherjee <[email protected]> (supplier of updated fling 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, 25 Oct 2020 18:44:03 +0000
Source: fling
Architecture: source
Version: 1.1-3
Distribution: unstable
Urgency: medium
Maintainer: Sudip Mukherjee <[email protected]>
Changed-By: Sudip Mukherjee <[email protected]>
Closes: 972799
Changes:
fling (1.1-3) unstable; urgency=medium
.
* Fix FTBFS due to -Wl,--as-needed. (Closes: #972799)
- Thanks to Helmut Grohne for the patch.
Checksums-Sha1:
6e2e061037bef0dd3d3cfd5555254395da672d62 1797 fling_1.1-3.dsc
1d3e5cb7c16f62b1ce16c0931602d0caecc9cdd9 3088 fling_1.1-3.debian.tar.xz
77a03895f1c6db80e94e5990e3981abb9edc05c4 6065 fling_1.1-3_amd64.buildinfo
Checksums-Sha256:
ed5c7331c736ecdad5629f41e78b52c20e3a9aa8b58aba13b326f91d3a735599 1797
fling_1.1-3.dsc
efd807977d8c0e31f7bb2212c27e135de7273a4d2b810903c71f970598100fb7 3088
fling_1.1-3.debian.tar.xz
041d1874a821b35e2f7ee38cb7ad0c737e54319ca70cf59a0b9a19226e8e4491 6065
fling_1.1-3_amd64.buildinfo
Files:
547dd77c87d4604a4d4d055a2ebb2b35 1797 net optional fling_1.1-3.dsc
075e088bd2de7cf8dd9bd44e46f5968e 3088 net optional fling_1.1-3.debian.tar.xz
95d490a238435516224dc36c7b99af32 6065 net optional fling_1.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAl+VyCoACgkQR5mjUUbR
KzWOqA//RiW0OMcMVugH7eS6f8vuZ7tPZmUF371tJxPAawKzomNalAV5CxBYnAse
vaLETYms5bgmFqlhErBXl0CS5X1jT5yD69/Zt1GMP1K90Q+A/lu61f0jI13yMmmR
zUSQOHC26xsBprtDNJw6/ManUViwB+TxeqsfeUXGnY51ZEzZY8e0aPcblgso8fo6
Mi7aOouc4++ISoDdVarWO8AX7Vf8DJs5qDvfwBT3TylwccBD9HLcXiwihHkm/pWI
1pqNFGw2ILBngVP7lfyA0U6yuxgEtyfcacJbxYsxYObHbXY725CT/NrdWZ+g3dyk
ZwgF6bI60qqBpsHjH5oVXi1lf2CwXPg7z2ryvjHnu53O53ftoQLnVyMl9PuqB1Tn
xhypETvyP95CZgkXIQKjwBpltuLYuicdCCXfBt3REA2hNlD5tYvsz6mJuzhXFiON
Gab3qLxVr62y0lGG0fT2STE17/u8nYqzLObwnXwZKyHXEF8skOWq+KDJkiF/1ST8
G5DkS6wnpfsAq0kh5k5wGF5UZhI2k8S1NCyUgvmpGcPL/W+Cu2IOMm73iT9SEL6W
s3GK1UTVQR35m24tUrLAgEiBx3nUmF5TD0Wd7rMRqYInvTes5OkCaes76yH0w6qw
pGF5pL8HRyLMrHwH65rq4FJOW/NIsa2Rd+CTWAEJed4krEerrZI=
=MO6Y
-----END PGP SIGNATURE-----
--- End Message ---