Your message dated Mon, 08 Oct 2018 00:19:21 +0200
with message-id <[email protected]>
and subject line Re: Bug#637647: kannel-sqlbox: FTBFS with ld --as-needed
has caused the Debian Bug report #637647,
regarding kannel-sqlbox: 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.)
--
637647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kannel-sqlbox
Version: 0.7.2-3
Severity: normal
Tags: upstream 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/72074831/buildlog_ubuntu-oneiric-i386.kannel-sqlbox_0.7.2-3build1_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/kannel-sqlbox/0.7.2-3ubuntu1
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500,
'natty-proposed'), (500, 'natty'), (100, 'natty-backports')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix failure to build with --as-needed linker option. Place
libraries in LIBS variable to ensure correct order of parameters to ld.
Author: Ilya Barygin <[email protected]>
Bug-Ubuntu: https://launchpad.net/bugs/770876
--- kannel-sqlbox-0.7.2.orig/configure.in
+++ kannel-sqlbox-0.7.2/configure.in
@@ -417,7 +417,7 @@ else
AC_MSG_RESULT([$gw_version])
AC_MSG_CHECKING([Kannel libs])
if ! $GW_CONFIG --libs &>/dev/null ; then
- LDFLAGS="$LDFLAGS `$GW_CONFIG --libs`"
+ LIBS="`$GW_CONFIG --libs` $LIBS"
gw_libdir=`$GW_CONFIG --libs`
AC_MSG_RESULT([$gw_libdir])
fi
--- End Message ---
--- Begin Message ---
Version: 0.7.2-4
Quoting Ilya Barygin (2011-08-13 13:47:48)
> 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/72074831/buildlog_ubuntu-oneiric-i386.kannel-sqlbox_0.7.2-3build1_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/kannel-sqlbox/0.7.2-3ubuntu1
This is believed fixed in 0.7.2-4.
Thanks for reporting!
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature
--- End Message ---