Your message dated Mon, 07 Nov 2011 04:02:40 +0000
with message-id <[email protected]>
and subject line Bug#647316: fixed in tty-clock 1.1-1
has caused the Debian Bug report #647316,
regarding tty-clock: ftbs with --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.)


-- 
647316: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647316
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tty-clock
Version: 1.0-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: ld-as-needed

the package tty-clock fails to build when using the linker flag
--as-needed
This is caused by the libraries are being placed before the objects
using it. In that case the libraries are not registered as needed and is
dropped.

See the buildlog in ubuntu:
https://launchpadlibrarian.net/83152614/buildlog_ubuntu-precise-i386.tty-clock_1.0-3_FAILEDTOBUILD.txt.gz

attached patch fixes the issue.
Description: fix build with ld --as-needed
 libraries must be behind objects needing their symbols
 when building with ld --as-needed
Author: Julian Taylor <[email protected]>
--- tty-clock-1.0.orig/Makefile
+++ tty-clock-1.0/Makefile
@@ -8,14 +8,14 @@ BIN = tty-clock
 PREFIX ?= /usr/local
 INSTALLPATH = ${DESTDIR}${PREFIX}/bin
 CFLAGS = -Wall -g
-LDFLAGS = -lncurses
+LIBS = -lncurses
 
 
 tty-clock : ${SRC}
 
 	@echo "build ${SRC}"
-	@echo "CC ${CFLAGS} ${LDFLAGS} ${SRC}"
-	@${CC} ${CFLAGS} ${LDFLAGS} ${SRC} -o ${BIN}
+	@echo "CC ${CFLAGS} ${LDFLAGS} ${SRC} ${LIBS}"
+	@${CC} ${CFLAGS} ${LDFLAGS} ${SRC} ${LIBS} -o ${BIN}
 
 install : ${BIN}
 

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: tty-clock
Source-Version: 1.1-1

We believe that the bug you reported is fixed in the latest version of
tty-clock, which is due to be installed in the Debian FTP archive:

tty-clock_1.1-1.debian.tar.gz
  to main/t/tty-clock/tty-clock_1.1-1.debian.tar.gz
tty-clock_1.1-1.dsc
  to main/t/tty-clock/tty-clock_1.1-1.dsc
tty-clock_1.1-1_amd64.deb
  to main/t/tty-clock/tty-clock_1.1-1_amd64.deb
tty-clock_1.1.orig.tar.gz
  to main/t/tty-clock/tty-clock_1.1.orig.tar.gz



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.
Antoine Beaupré <[email protected]> (supplier of updated tty-clock 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 2011 22:40:09 -0500
Source: tty-clock
Binary: tty-clock
Architecture: source amd64
Version: 1.1-1
Distribution: unstable
Urgency: low
Maintainer: Antoine Beaupré <[email protected]>
Changed-By: Antoine Beaupré <[email protected]>
Description: 
 tty-clock  - simple terminal clock
Closes: 647316
Changes: 
 tty-clock (1.1-1) unstable; urgency=low
 .
   * fix my email address
   * no more DM field, I am a DD
   * remove useless todo, we have an upstream 1.0
   * fix compile with --as-needed", thanks to Julian Taylor
     (Closes: #647316).
   * new upstream release factors in all patches
   * do not require upstream branch in git-buildpackage
Checksums-Sha1: 
 a4025a36f8dc10fc6a4e2ec2d3d3546ea07b3e82 1815 tty-clock_1.1-1.dsc
 2e55e666fff7ca288d73731ad32a124c38ea24c4 5115 tty-clock_1.1.orig.tar.gz
 9f2849a1a440c6985bb7ee3673b09c91e93ea62a 2769 tty-clock_1.1-1.debian.tar.gz
 34332ea6aba4c849b55adf9983559a3419306512 10150 tty-clock_1.1-1_amd64.deb
Checksums-Sha256: 
 be61ebf1ef9b9bd12409432e06d7ccf3c4e952e5aa386e813983173970b112de 1815 
tty-clock_1.1-1.dsc
 f99fbbbd6ac523db777787541309a4a3396e7e6a60428b7d771e8ceeecdb76d1 5115 
tty-clock_1.1.orig.tar.gz
 03585e5a36e2ad53b01531b3cce358465b2b24a94bccb43d080071fd24fe04ea 2769 
tty-clock_1.1-1.debian.tar.gz
 38d3a0e38423d803c7993b9c2f524355b37ea9e129a99eb8eca318f748cd1095 10150 
tty-clock_1.1-1_amd64.deb
Files: 
 6ef4b8f4b4e344acd27de5b2155b6fd3 1815 utils extra tty-clock_1.1-1.dsc
 472bab8ab84ebe91132b860fc4a84245 5115 utils extra tty-clock_1.1.orig.tar.gz
 b2cde219f7589c7c52c4f5164fabe191 2769 utils extra tty-clock_1.1-1.debian.tar.gz
 51609b98e144162b426e7a3018513f62 10150 utils extra tty-clock_1.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOt1R8AAoJEHkhUlJ7dZIeBEgP/32XygO6R8JnMPlxjgU4h6jk
OMUuyhTLF9RJFLaSS5N5MdXwLCIWuBKmbld+nLktpG1FlMIfaUdmj210lX/XLDv/
uQTKPzKctXCzKjQUpHmItDwv1yD63nwkocQgSiYdxloibryMSXpSwh/EDlea1Du5
mmP3jLElcizChzjwCxhGq6sZ/0aU9MEb6afJ69sDGuWvEABwguIZ3X0o9OODGX/i
Ad1SAHvi7mnhnRLdiZzKGecOwSLh1zPWZPqEMTzvUnwx1EzhYK7KdS8vIVinhKLl
b/OntRDawQYZGV1WlqXJQ9qx2u1iEZMIW/2APU0cJgrHQJwpNFiKNMSI0KCctnxU
DESC46mj4VYxvPdKiiJItGF2tbkp6qieWjkSU8gbSdMMQ5+mJfMFSKhNV7XpLanb
zoSpvZ8WssMhcNZQl2aCDbAqZ+NRmueYVNNd2a4m0FaNJiHwjcG/o1AcMauARKOC
L8po/zwes0jksncmdMAtgJ+PdtiKSi4JMlhLtLdS6qkUaruDEke5EXRdt6OziCmd
o70N+x8mrFxABnZ9y0QIhpVTh9/VS8MzFZg4np5wm97KIADTC8+ovqXnMy9UACB9
S8xHbyS00LrT9tZMo2ztVzgpOo6xLSEPuC4BVi72wChXcZ4L8+8v+f3+3qxJty2C
H89WAkOTwN/Pmq00KF8+
=cIC3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to