Your message dated Tue, 29 Jul 2014 19:18:31 +0000
with message-id <[email protected]>
and subject line Bug#756256: fixed in ebook-tools 0.2.2-4
has caused the Debian Bug report #756256,
regarding Fix link 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 [email protected]
immediately.)


-- 
756256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ebook-tools
Version: 0.2.2-3
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch utopic
User: [email protected]
Usertags: autopkgtest

Hello,

ebook-tool's autopkgtest currently succeeds in Debian, but fails in
Ubuntu [1]:

adt-run [05:19:29]: test build: [-----------------------
/tmp/ccIgEbHv.o: In function `main':
test-libepub.c:(.text+0x2a): undefined reference to `epub_open'
test-libepub.c:(.text+0x65): undefined reference to `epub_close'
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-ebook-tools/6/ARCH=i386,label=adt/console
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru ebook-tools-0.2.2/debian/changelog ebook-tools-0.2.2/debian/changelog
--- ebook-tools-0.2.2/debian/changelog  2014-07-23 20:45:00.000000000 +0200
+++ ebook-tools-0.2.2/debian/changelog  2014-07-28 07:23:33.000000000 +0200
@@ -1,3 +1,9 @@
+ebook-tools (0.2.2-3ubuntu1) utopic; urgency=medium
+
+  * Fix link order in "build" autopkgtest.
+
+ -- Martin Pitt <[email protected]>  Mon, 28 Jul 2014 07:23:24 +0200
+
 ebook-tools (0.2.2-3) unstable; urgency=medium
 
   * Add a simple autopkgtest, loosely based on the patch provided by
diff -Nru ebook-tools-0.2.2/debian/tests/build 
ebook-tools-0.2.2/debian/tests/build
--- ebook-tools-0.2.2/debian/tests/build        2014-07-23 20:37:38.000000000 
+0200
+++ ebook-tools-0.2.2/debian/tests/build        2014-07-28 07:23:23.000000000 
+0200
@@ -3,5 +3,5 @@
 
 SRCDIR=$(dirname $(realpath $0))
 cd $ADTTMP
-gcc -Wall -Werror -pedantic -std=c90 -lepub -o test-libepub 
$SRCDIR/test-libepub.c
+gcc -Wall -Werror -pedantic -std=c90 -o test-libepub $SRCDIR/test-libepub.c 
-lepub
 ./test-libepub "$SRCDIR/wasteland-20120118.epub"

--- End Message ---
--- Begin Message ---
Source: ebook-tools
Source-Version: 0.2.2-4

We believe that the bug you reported is fixed in the latest version of
ebook-tools, 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.
Pino Toscano <[email protected]> (supplier of updated ebook-tools 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: SHA1

Format: 1.8
Date: Tue, 29 Jul 2014 21:07:32 +0200
Source: ebook-tools
Binary: libepub-dev libepub0 ebook-tools-dbg epub-utils
Architecture: source amd64
Version: 0.2.2-4
Distribution: unstable
Urgency: medium
Maintainer: Pino Toscano <[email protected]>
Changed-By: Pino Toscano <[email protected]>
Description:
 ebook-tools-dbg - library and tools to work with the EPUB file format - debug 
symbo
 epub-utils - tools to work with the EPUB file format
 libepub-dev - library to work with the EPUB file format - development files
 libepub0   - library to work with the EPUB file format - runtime library
Closes: 756256
Changes:
 ebook-tools (0.2.2-4) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * Fix link order in "build" autopkgtest. (Closes: #756256)
Checksums-Sha1:
 1f6d7277f8886ae56035de9f01618cf05f20a6c8 1311 ebook-tools_0.2.2-4.dsc
 989c9b2a3d1a19d3047f000399021163a2036f18 115676 
ebook-tools_0.2.2-4.debian.tar.xz
 bb46de9185dba998c647a82c27f299b941ced420 12516 libepub-dev_0.2.2-4_amd64.deb
 b340ed76ace220b00a1e2eae347bb0296916840e 28800 libepub0_0.2.2-4_amd64.deb
 500ea1485e6eedb2ae7cb10339a349c1e1eaec11 49730 
ebook-tools-dbg_0.2.2-4_amd64.deb
 ed7d27101ced28771c551c527986de4b462ad9d1 15260 epub-utils_0.2.2-4_amd64.deb
Checksums-Sha256:
 b69ccf7ea96b6ad45d66e8d9d46f6b10527618da6600a457cab64b31ce69712c 1311 
ebook-tools_0.2.2-4.dsc
 4d13f67bded4228694bac6c8e6cc4d0eb0d3e8053fc20284ceeba8ca1e7a61da 115676 
ebook-tools_0.2.2-4.debian.tar.xz
 0a42609aed86cfde83bf87d0122bf770e478abca1543a2262db6f8dd6b6384e2 12516 
libepub-dev_0.2.2-4_amd64.deb
 79ae8d57c80cfbe429bcb435fc66d482bfcb0e3b160b0f1c45d2b23e9c49dd85 28800 
libepub0_0.2.2-4_amd64.deb
 9b2587f57c5526c45b5b523acb8a7ea9980257e4d805a874c9ebaf1f1f73a703 49730 
ebook-tools-dbg_0.2.2-4_amd64.deb
 61146865055c4baacff2cfe4e23b3e40de5728ff0390cbccae9510b388662ca4 15260 
epub-utils_0.2.2-4_amd64.deb
Files:
 384c3ab0b9b6d22595779f791043e768 12516 libdevel optional 
libepub-dev_0.2.2-4_amd64.deb
 c29aab3a6b96e0d78ff062b121b500e7 28800 libs optional libepub0_0.2.2-4_amd64.deb
 a134361faee230c2b73dd453d2868e81 49730 debug extra 
ebook-tools-dbg_0.2.2-4_amd64.deb
 8ab63cb150cca385c150a63ed47040da 15260 graphics optional 
epub-utils_0.2.2-4_amd64.deb
 f0ec863b3a7fbb79c3ff7ca72b8700b7 1311 libs optional ebook-tools_0.2.2-4.dsc
 9810430516f40b8c41ce2bbebb2323c3 115676 libs optional 
ebook-tools_0.2.2-4.debian.tar.xz

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

iD8DBQFT1/IOTNH2piB/L3oRAg+uAJ90iF42QQbK1UDY+Zc9l5eXExMS9QCfS8dy
/fZfWPsAGfePcmPQRx4/GGU=
=eqvd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to