Your message dated Sat, 09 May 2015 18:22:42 +0100
with message-id <[email protected]>
and subject line morse: FTBFS with ld --as-needed
has caused the Debian Bug report #632436,
regarding morse: FTBFS 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.)
--
632436: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632436
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: morse
Version: 2.4-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ld-as-needed
The package fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpadlibrarian.net/73699494/buildlog_ubuntu-oneiric-i386.morse_2.4-1_FAILEDTOBUILD.txt.gz
See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/morse/2.4-1ubuntu1
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric
APT policy: (500, 'oneiric')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-10-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Description: move X11LIBS later in cc command
Author: John T. Nogatch <[email protected]>
--- morse-2.3.origdeb/morse.d/Makefile 2011-01-15 10:25:33.000000000 -0800
+++ morse-2.3/morse.d/Makefile 2011-06-13 16:54:56.000000000 -0700
@@ -18,7 +18,7 @@
ln morse${DEVICE} $@
morseX11: morse.o beepX11.o alarm.o
- $(CC) $(X11LIBS) -o $@ morse.o beepX11.o alarm.o
+ $(CC) -o $@ morse.o beepX11.o alarm.o $(X11LIBS)
morseLinux: morse.o beepLinux.o alarm.o
$(CC) -o $@ morse.o beepLinux.o alarm.o -lm
--- End Message ---
--- Begin Message ---
This is *not* a bug on Debian. It might be a bug on Ubuntu.
Colin
--
Colin Tuckley | +44(0)1223 830814 | PGP/GnuPG Key Id
Debian Developer | +44(0)7799 143369 | 0x38C9D903
--- End Message ---