Your message dated Sun, 06 Nov 2016 23:48:54 +0000
with message-id <[email protected]>
and subject line Bug#735777: fixed in fityk 1.3.0-1
has caused the Debian Bug report #735777,
regarding fityk: Please support building with ld --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.)
--
735777: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735777
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fityk
Version: 1.2.1-0.1
Severity: wishlist
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
*** /tmp/tmpooegSS/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
* Pass -lstdc++ in LIBS instead of LDFLAGS to fix FTBFS with --as-needed
Ubuntu passes ld --as-needed per default to the linker, fityk FTBFS with:
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -lstdc++
-Wl,-Bsymbolic-functions -Wl,-z,relro -o samples/helloc
samples/samples_helloc-hello.o fityk/libfityk.la -lm -lreadline
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o
samples/helloc samples/samples_helloc-hello.o -lstdc++ fityk/.libs/libfityk.a
/usr/lib/libxy.so -lbz2 -lz -llua5.1 -ldl -lm -lreadline
/usr/bin/ld: fityk/.libs/libfityk.a(libfityk_la-ast.o): undefined reference to
symbol '_ZTISt14overflow_error@@GLIBCXX_3.4'
/usr/lib/gcc/i686-linux-gnu/4.8/libstdc++.so: error adding symbols: DSO missing
from command line
collect2: error: ld returned 1 exit status
make[3]: *** [samples/helloc] Error 1
The library stdc++ is clearly in the wrong place on the link line for
- --as-needed (http://wiki.debian.org/ToolChain/DSOLinking). This
probably doesn't affect Debian right now because --as-needed is a
positional option and only affects those libraries listed after it, but
Ubuntu's linker defaults to --as-needed right out of the gate.
Nevertheless, I believe that the debian-gcc team is tracking these
problems and wants to make Debian packages work cleanly with such a
linker.
Thanks for considering the patch.
- -- System Information:
Debian Release: jessie/sid
APT prefers trusty
APT policy: (700, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
Kernel: Linux 3.13.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBAgAGBQJS2Y03AAoJEGHzRCZ03mYk2LwQAIEpenHdSdS+8TRy/pYuNYdy
Anv1F0ZLpy8mWSf93/q0fvdT4E6XU2/nG/3+gGTqAKfwqRHQKsXTvxknExLhPMyF
9+cWNTJBpmmJyy1zfRSpsjOrBZQMzXxLyeUmBN8fG0JWTh3VkqQrXQpQqox9lHTV
3L1Ypc1d+/NNrv8g4OWGsfN2IGZehnVU81JR3Zw3MeRKpt+T/zxuZa60V8b/jI6k
apjW1/Sqj3pOeRotSwnsZ77DEGnKGe1dKafMHsRopsuv6z3EOJDQ10YCxU+u8jy5
8++L7fwJeF5/3VMM73y/bK/l8nRfRbpFOo1B802gSQ2NxUzpBWV7NmDNuUJA6yFQ
sQV8x+HYkSJPZK154OwcnPUlpKzjsld1dMLTp8DsSZNiOC3mnkOxTco+BDQIWs7Z
PfvkPfCq/Df1ysAWDNAfJeUxhP+oIHlqV/P7jzsxLNMH4SVtbaHMR813IGUAWuHB
hQpXoSPmvyRbNQu61p8sER4UfKU8kD1Z8LXVzi3TcC4GOeQjsRwnGnJ2MqRofWW7
9yflJAtxnpBljqwB4DUotrVK+24qgeqwUWkFEAjgD4GC57dy/HQ18EyYkEXZngdb
x1St9f6ppiLXRhgDHdIuTDy8qnxHKirRLsTQVaTVNdhUyP/8lzlPm+l4Ml97QP++
L06ooN5Qy3KhnrqMME3I
=KwW7
-----END PGP SIGNATURE-----
diff -Nru fityk-1.2.1/debian/rules fityk-1.2.1/debian/rules
--- fityk-1.2.1/debian/rules 2014-01-01 18:38:10.000000000 +0100
+++ fityk-1.2.1/debian/rules 2014-01-17 20:49:36.000000000 +0100
@@ -3,7 +3,8 @@
CPPFLAGS ?= $(shell dpkg-buildflags --get CPPFLAGS) -I/usr/include/lua5.1
CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS ?= $(shell dpkg-buildflags --get CXXFLAGS)
-LDFLAGS ?= -lstdc++ $(shell dpkg-buildflags --get LDFLAGS) # -Wl,--as-needed
+LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) # -Wl,--as-needed
+LIBS ?= -lstdc++
%:
dh $@ --with autotools_dev --parallel
@@ -14,7 +15,8 @@
CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS)" \
CXXFLAGS="$(CXXFLAGS)" \
- LDFLAGS="$(LDFLAGS)"
+ LDFLAGS="$(LDFLAGS)" \
+ LIBS="$(LIBS)"
override_dh_auto_install:
dh_auto_install
--- End Message ---
--- Begin Message ---
Source: fityk
Source-Version: 1.3.0-1
We believe that the bug you reported is fixed in the latest version of
fityk, 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.
Stuart Prescott <[email protected]> (supplier of updated fityk 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: Sun, 06 Nov 2016 16:20:37 +1100
Source: fityk
Binary: fityk
Architecture: source
Version: 1.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 735777 744571 747161 811800
Description:
fityk - general-purpose nonlinear curve fitting and data analysis
Changes:
fityk (1.3.0-1) unstable; urgency=medium
.
* New upstream release (Closes: #747161):
- Builds successfully with GCC 6 (Closes: #811800).
* Update build system to suit new upstream:
- Remove no-longer-needed compiler/linker FLAGS setting (Closes: #735777)
- Update build-dependencies on lua
- Add build-dependency on
- 'swig' to build bindings
- 'check' to run tests
- 'texlive-latex-*', 'sphinx', 'dvipng' to build documentation
* Switch to debhelper compat level 10, allowing debhelper to do the necessary
autoreconf automatically (Closes: #744571)
* Move d/upstream to d/upstream/metadata
* Fix watch file to correctly find new releases.
* Bump Standards-Version to 3.9.8 (no changes required).
* Drop no-longer-needed menu file as per #741573.
* Add DEP-8 tests using cfityk.
* Bring package into Debian Science and add me as an uploader, with thanks
to Carlo Segre for many years of work.
Checksums-Sha1:
87d00b0c1075870ce8e950fbfb978d08cde77397 2149 fityk_1.3.0-1.dsc
11380e2bbc7206520c0892e3a7a68422efda95d1 922677 fityk_1.3.0.orig.tar.gz
af4357592c8c7f15841ca15a727a956f35ebdb44 6556 fityk_1.3.0-1.debian.tar.xz
Checksums-Sha256:
3aab54dbd8ca3997ce71f56b65af6dc8696652e81813e7bf828a66702b7ebd83 2149
fityk_1.3.0-1.dsc
5d24db4a699fee073ccd4cfd53f60697c6b75298b2eaee6da883e5bd4014f7ba 922677
fityk_1.3.0.orig.tar.gz
cba50bb39ce924c691fdd2c28a047d23ed3d5b52444b4dde9ce63390fb67fe4b 6556
fityk_1.3.0-1.debian.tar.xz
Files:
b95c232ef371db8f6e9ef0a9f842d141 2149 science optional fityk_1.3.0-1.dsc
828c68475f41483090a3b9b2ca260e86 922677 science optional
fityk_1.3.0.orig.tar.gz
ef35aff4d574a5212df4c9de89c75e78 6556 science optional
fityk_1.3.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJYH7yLAAoJELvBfrsTlvL3tukP/1Flwsb2CBP3Yv6Gg1vERdM3
emXVuv86R6tlnjSKqVxKbb+HzLF+1t3cWw9Seb9t/5lkc+B4iO5LPLaW3XFEbw0B
m3P6rWG0+htMFjSNNc31rLhApA6nBckMWFQ2QPR+yNWjpAxj1YKPSrfhWs8zSSTQ
IVTPKlkFX8R5xm0Fx0sg9Z+kPmptlRj7YURthpdRlGheUBLtSYkESoe2t9tPG6Y3
uDsvnqUgQBsgz1yG6eIeZGcatx2Sl5Up2l7RX3LSnxmWtpJrnG7E5L+/xdW0Az0o
vmVA9VSJA3KeEP90JFUibXiRvb1iVcBkdreZqpG5zADjaD6MSq1R2dhfnUwHKwsw
hY1c4dQ3mEdByF3U01tvTQzQrAra7LoV7P4cgQXwyMhBfAooqiyMhNYZshjS7+ut
qhX+QqQa+fsBfIWTpexdTAQQd4GADBcOKhwy3kj4xDeWCxGxaE48uBSAah2zs188
cvxXSQHO9hZTv7fFU63LvJUQ+uQiSCyjWWMOCuIWdsL2H31rOSvlUQFdAi0AsESW
kxehQTIJ/JsVKuDalXyssVlA8S4pdL+wwWAmmyhDrr0Ham7fQ355Bcl6w/wHdcJm
er9qJ0vNol7YwfkX84GMWY4rzNwM/EhXlS9P8nL8TxCGFgxQae6szCpqaZqXtstS
f5vAEyXJYTJqyLiUUgFS
=TYHT
-----END PGP SIGNATURE-----
--- End Message ---