Your message dated Tue, 23 Feb 2016 16:38:26 +0000
with message-id <e1ayfyk-0007z9...@franck.debian.org>
and subject line Bug#748682: fixed in spooles 2.2-12
has caused the Debian Bug report #748682,
regarding Fix linking order in autopkgtest
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 ow...@bugs.debian.org
immediately.)


-- 
748682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748682
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: spooles
Version: 2.2-11
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch utopic
User: autopkgtest-de...@lists.alioth.debian.org
Usertags: autopkgtest

Hello,

spooles' autopkgtest currently succeeds in Debian, but fails in
Ubuntu [1]

| adt-run: & apt0t-build2:  - - - - - - - - - - results - - - - - - - - - -
| apt0t-build2         FAIL non-zero exit status 1
| adt-run: & apt0t-build2:  - - - - - - - - - - stderr - - - - - - - - - -
| /tmp/ccCeSbJF.o: In function `main':
| expandGraph.c:(.text+0x1c1): undefined reference to `Graph_new'
| expandGraph.c:(.text+0x1d9): undefined reference to `Graph_readFromFile'
| [...]
| collect2: error: ld returned 1 exit status

That's because Ubuntu's gcc/binutils already use the stricter linking
as with binutils-gold, where the order matters. (See
https://wiki.debian.org/ToolChain/DSOLinking for details)

Attached patch fixes the -l to come after the source that needs the
library, which makes the test succeed with binutils-gold too.

Thanks for considering,

Martin

[1] 
https://jenkins.qa.ubuntu.com/job/utopic-adt-spooles/1/ARCH=i386,label=adt/console
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru spooles-2.2/debian/changelog spooles-2.2/debian/changelog
--- spooles-2.2/debian/changelog        2014-05-17 19:53:58.000000000 +0200
+++ spooles-2.2/debian/changelog        2014-05-19 17:47:36.000000000 +0200
@@ -1,3 +1,9 @@
+spooles (2.2-11ubuntu1) utopic; urgency=medium
+
+  * Fix link order in autopkgtest.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 19 May 2014 17:45:00 +0200
+
 spooles (2.2-11) unstable; urgency=medium
 
   * [0e2b291] Fix FTBFS in timings.h. (Closes: #747773)
diff -Nru spooles-2.2/debian/tests/build1 spooles-2.2/debian/tests/build1
--- spooles-2.2/debian/tests/build1     2014-05-17 19:35:44.000000000 +0200
+++ spooles-2.2/debian/tests/build1     2014-05-19 17:44:25.000000000 +0200
@@ -5213,7 +5213,7 @@
 
 EOF
 
-gcc -I/usr/include -I/usr/include/spooles -lspooles checkComponents.c -o 
checkComponents
+gcc -I/usr/include -I/usr/include/spooles checkComponents.c -lspooles -o 
checkComponents
 
 echo "build: OK"
 [ -x checkComponents ]
diff -Nru spooles-2.2/debian/tests/build2 spooles-2.2/debian/tests/build2
--- spooles-2.2/debian/tests/build2     2014-05-17 19:43:11.000000000 +0200
+++ spooles-2.2/debian/tests/build2     2014-05-19 17:44:44.000000000 +0200
@@ -2389,7 +2389,7 @@
 
 EOF
 
-gcc -I/usr/include -I/usr/include/spooles -lspooles expandGraph.c -o 
expandGraph
+gcc -I/usr/include -I/usr/include/spooles expandGraph.c -lspooles -o 
expandGraph
 
 echo "build: OK"
 [ -x expandGraph ]

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: spooles
Source-Version: 2.2-12

We believe that the bug you reported is fixed in the latest version of
spooles, 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 748...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated spooles 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 23 Feb 2016 15:49:03 +0100
Source: spooles
Binary: libspooles-dev libspooles2.2 spooles-doc
Architecture: source
Version: 2.2-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Description:
 libspooles-dev - SPOOLES SParse Object Oriented Linear Equations Solver 
developmen
 libspooles2.2 - SPOOLES SParse Object Oriented Linear Equations Solver shared 
lib
 spooles-doc - SPOOLES numerical simulation pre- and post-processor documentatio
Closes: 748682
Changes:
 spooles (2.2-12) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * [1159233] Fix link order in autopkgtest. (Closes: #748682)
 .
   [ Anton Gladky ]
   * [c3b4f93] Apply cme fix dpkg.
   * [eae632f] Fix lintian warning in d/copyright.
Checksums-Sha1:
 72d7bcf3134f83b05e88c1df35e92402e54478ef 2172 spooles_2.2-12.dsc
 6b68b9ab7713fda45a372ffd8a2fff9c543fd020 58784 spooles_2.2-12.debian.tar.xz
Checksums-Sha256:
 5527f2f2366e703a41d96d89da6af6f14a2a5a5c682719914c5d7e39e1c36913 2172 
spooles_2.2-12.dsc
 27e6537817e2c6fb3b259bf5a492d24521e5fe744792aa18bd1d09be32613252 58784 
spooles_2.2-12.debian.tar.xz
Files:
 cfb8dab1d7906241be56d64a9fde5438 2172 math extra spooles_2.2-12.dsc
 8410d12911b1f6532bb1109aa27135f9 58784 math extra spooles_2.2-12.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWzHToAAoJENPhc4PPp/8G8JgP/iNLcfuH+pI5w36Jx+ddVSjr
v++R9KjFCrrhycq4JoRmiL0Muvwkj0GgvV/CA8mVC3iQ+0Gr2ERcAkVBPxdaQHhH
QDpVJLGZMTkB2fEnCK5z9kG4Q2r4o2BhbN+Q2IRuxiKPEKU7PTxd0luqyI7/5sy+
khMWMGxP4QWBLC89PkM8Cfndj7c5J2vRXkXvo2bdg6FgYRITr5alLIbRUUaJS7B0
p9rudwvwlN9W/LENbXn6eXhRUW3r+MUAaJVRIsurc/up+jI7kcjf3yAHcbUPharT
YCJlxmRgUHtts11z7OVlXH7jk7+yU3jLEmLOKnvEuSSSs14CZi0e2+XvzuYZ5nvO
sQM1TE/ncOBxYArwPBTv33qR1wM0chavEhQFlqdQDgohsIHI4ENboap3kFKexVal
G9nQy0eSbMOU2Zwxf/MUCjfHWx0pyKUn8OnbrG9gdagrnuvDGhoO0oB9AgpYfIt5
pwlK/g9n1KRWwxm12UemVnAJ5Y/4NjPngKkQyCnQK7BOhSOWiK9zzHCV65Xoisot
jfZBD6rnT66Le+cEFTuI7kN2EvJZPHrVrbkwAF0TCpUYm8pKhLCNByRkYClqG3kn
z9TeAkYtyfxgZQuADBPuaw+2CFnVrzTX+aNwaITsFzHL9ePAImkZN2Fqno/YTmt3
gqxweJUMX+qyfVaZk2h0
=5Z0K
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to