Your message dated Fri, 23 May 2014 18:48:43 +0000 with message-id <e1wnuwj-0007ze...@franck.debian.org> and subject line Bug#748683: fixed in alglib 3.8.2-3 has caused the Debian Bug report #748683, 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.) -- 748683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748683 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: alglib Version: 3.8.2-2 Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch utopic User: autopkgtest-de...@lists.alioth.debian.org Usertags: autopkgtest Hello, alglib' autopkgtest currently succeeds in Debian, but fails in Ubuntu [1] | adt-run [2014-05-10 23:27:56]: & apt0t-build1: running... | adt-run [2014-05-10 23:27:57]: & apt0t-build1: finished | adt-run: & apt0t-build1: - - - - - - - - - - results - - - - - - - - - - | apt0t-build1 FAIL non-zero exit status 1 | adt-run: & apt0t-build1: - - - - - - - - - - stderr - - - - - - - - - - | /tmp/cc9aaZ3b.o: In function `main': | demo.cpp:(.text+0x15): undefined reference to `alglib::real_2d_array::real_2d_array()' | demo.cpp:(.text+0x24): undefined reference to `alglib::real_2d_array::real_2d_array()' | [...] | /tmp/cc9aaZ3b.o:demo.cpp:(.text+0x26b): more undefined references to `alglib::real_2d_array::~real_2d_array()' follow | 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. I also took the liberty to drop the -I/usr/include as that's a standard gcc include search path. If that isn't working, then our gcc is broken. I tested this under current Debian sid and Ubuntu utopic, and it's succeeding in both now. Thanks for considering, Martin [1] https://jenkins.qa.ubuntu.com/job/utopic-adt-alglib/1/ARCH=i386,label=adt/console -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)diff -Nru alglib-3.8.2/debian/changelog alglib-3.8.2/debian/changelog --- alglib-3.8.2/debian/changelog 2014-05-10 17:18:34.000000000 +0200 +++ alglib-3.8.2/debian/changelog 2014-05-19 17:56:43.000000000 +0200 @@ -1,3 +1,9 @@ +alglib (3.8.2-2ubuntu1) utopic; urgency=medium + + * Fix link order in autopkgtest. + + -- Martin Pitt <martin.p...@ubuntu.com> Mon, 19 May 2014 17:56:32 +0200 + alglib (3.8.2-2) unstable; urgency=medium * [c95abb4] Add autopkgtests. --- alglib-3.8.2/debian/tests/build1 2014-05-10 17:10:11.000000000 +0200 +++ alglib-3.8.2/debian/tests/build1 2014-05-19 17:55:45.000000000 +0200 @@ -54,7 +54,7 @@ EOF -g++ -I/usr/include -lalglib -o demo demo.cpp +g++ -o demo demo.cpp -lalglib echo "build: OK" [ -x demo ] ./demo diff -Nru alglib-3.8.2/debian/tests/build2 alglib-3.8.2/debian/tests/build2 --- alglib-3.8.2/debian/tests/build2 2014-05-10 17:13:52.000000000 +0200 +++ alglib-3.8.2/debian/tests/build2 2014-05-19 17:55:34.000000000 +0200 @@ -69,7 +69,7 @@ EOF -g++ -I/usr/include -lalglib -o demo demo.cpp +g++ -o demo demo.cpp -lalglib echo "build: OK" [ -x demo ] ./demo diff -Nru alglib-3.8.2/debian/tests/build3 alglib-3.8.2/debian/tests/build3 --- alglib-3.8.2/debian/tests/build3 2014-05-10 17:14:44.000000000 +0200 +++ alglib-3.8.2/debian/tests/build3 2014-05-19 17:55:52.000000000 +0200 @@ -73,7 +73,7 @@ EOF -g++ -I/usr/include -lalglib -o demo demo.cpp +g++ -o demo demo.cpp -lalglib echo "build: OK" [ -x demo ] ./demo diff -Nru alglib-3.8.2/debian/tests/build4 alglib-3.8.2/debian/tests/build4 --- alglib-3.8.2/debian/tests/build4 2014-05-10 17:16:00.000000000 +0200 +++ alglib-3.8.2/debian/tests/build4 2014-05-19 17:55:59.000000000 +0200 @@ -121,7 +121,7 @@ EOF -g++ -I/usr/include -lalglib -o demo demo.cpp +g++ -o demo demo.cpp -lalglib echo "build: OK" [ -x demo ] ./demo diff -Nru alglib-3.8.2/debian/tests/build5 alglib-3.8.2/debian/tests/build5 --- alglib-3.8.2/debian/tests/build5 2014-05-10 17:17:02.000000000 +0200 +++ alglib-3.8.2/debian/tests/build5 2014-05-19 17:56:15.000000000 +0200 @@ -125,7 +125,7 @@ EOF -g++ -I/usr/include -lalglib -o demo demo.cpp +g++ -o demo demo.cpp -lalglib echo "build: OK" [ -x demo ] ./demosignature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: alglib Source-Version: 3.8.2-3 We believe that the bug you reported is fixed in the latest version of alglib, 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 alglib 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: Fri, 23 May 2014 20:21:20 +0200 Source: alglib Binary: libalglib-dev libalglib3.8 libalglib3.8-dbg Architecture: source amd64 Version: 3.8.2-3 Distribution: unstable Urgency: medium Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Anton Gladky <gl...@debian.org> Description: libalglib-dev - Development files for the alglib library libalglib3.8 - Numerical analysis and data processing library libalglib3.8-dbg - Debugging symbols for the alglib library Closes: 748683 Changes: alglib (3.8.2-3) unstable; urgency=medium . * [d503b10] Fix autopkgtests. (Closes: #748683) Checksums-Sha1: 4d9734366f60c877b2db038163f4c026922b2cd8 2141 alglib_3.8.2-3.dsc 9a3ce254ebfd0a74c63059c8712cf3f957a78e43 8472 alglib_3.8.2-3.debian.tar.xz e8560e4a04260673e4fefa819477c3ca14ee4a35 218834 libalglib-dev_3.8.2-3_amd64.deb 983a0eecbc452b59a44a9061386280a897334fdd 719492 libalglib3.8_3.8.2-3_amd64.deb ac5ddd4be2172452379f3f4559655cabaae2cd1c 1780304 libalglib3.8-dbg_3.8.2-3_amd64.deb Checksums-Sha256: 489944433fb4dfddd73548fc368994b6b6b6aeebf7d1c2fc81d5fcee824c98df 2141 alglib_3.8.2-3.dsc 56a188a1bbf35ddb38aa3cc765a0a5e85fd9bc5aef3cf4dc8e3c0b8aaa3d3fa7 8472 alglib_3.8.2-3.debian.tar.xz c6a38ef58fa32633c9981e8c8b944835a39099b1d1479e5bc71fefebc97d2216 218834 libalglib-dev_3.8.2-3_amd64.deb 906358d3e2c355a431a353e7adb25d167e48659368170363384ec76ee7be656b 719492 libalglib3.8_3.8.2-3_amd64.deb 29dcbf6cd326c9bca49ad788601d232643f30ae59fb856a8dd02f8b1739acd83 1780304 libalglib3.8-dbg_3.8.2-3_amd64.deb Files: 46912a3833bf8970258e1ee9b1873a13 218834 libdevel extra libalglib-dev_3.8.2-3_amd64.deb 256071658e9a205ab9071380fa74e448 719492 libs optional libalglib3.8_3.8.2-3_amd64.deb f96e6cca948aa1b0d153394e69d1639a 1780304 debug extra libalglib3.8-dbg_3.8.2-3_amd64.deb 82a4b09d0e571a6d73602a05cc175f85 2141 libs optional alglib_3.8.2-3.dsc 29a94394d1dc707a1152b242ae6f3bad 8472 libs optional alglib_3.8.2-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTf5WyAAoJENPhc4PPp/8Gb20QAJeKgdIDyKyzqKev7fff5o7u tauF6T9uCZVZna+U6Ab5Vz9ZhdwF3Ewux7YeTgTisetXmjmIuAB486ZOOF4q4QPj tFFjeJ7TYZDCPHeLvakzCzYt6h51IJZHkY+24nRXlTCHBeePukq5sGu/Z/dYMdmM vkRMe/HH7PhBvh0RF/NQkTvsidxMPmAx4Vmy99mpyWfmTeJbLhSHhtv7pVra83HY G7ksiUOAnEeO/kGo9qWaphTOH28PY7XDF/dxJiTAO5jFP67Dq0VU5XIZlLdJeoQC s8eAsBt29/UAJEawYEWJ/ieEUPhRF0NKut5R9aLlmcWaMtGJFFXq7iK4yvNK8KSD WSJZuIe6yVReRXBm7bFKh8EQP3fjfSSCw7Rn/jlqTEi3/Rw/5RMEVWCQPe4BCvZe 1Q7KexOu34u4fqTW5zrWhXDcX3rz5a9vK8VPDMLjp/Zj4Egtiz0PL+SFlmvbbVjD ZaWxTf2cewQ0vnsHzhrzX/21suSuN2EXT62aJO0AVsRu+smXWb85p6XFyNHcuwHh QmaQfTEeDty/2Y9ly3oQTYb3JyCa4Ecsuq3kc2GVnjW9xnvduBoiroRlIZXBQeuE dtoyMiSRz2McHpwxYtBMKaD4lqscj/qtwlbiDPt1qxs9dwnpSrg7nV/0+kwJ0hDy BtXt4tQzerQkn/HgN8rX =jw5y -----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