Your message dated Tue, 24 Sep 2013 13:15:25 +0100
with message-id <20130924121525.gi32...@riva.ucam.org>
and subject line Re: mapserver: fails to build with ld that defaults to 
--as-needed
has caused the Debian Bug report #709186,
regarding mapserver: fails to build with ld that defaults to --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 ow...@bugs.debian.org
immediately.)


-- 
709186: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mapserver
Version: 6.0.1-3.2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

mapserver fails to build with a linker that defaults to --as-needed, as
shown in this Ubuntu build log:

  
https://launchpadlibrarian.net/140379929/buildlog_ubuntu-saucy-i386.mapserver_6.0.1-3.2build1_FAILEDTOBUILD.txt.gz

This is quite cumbersome to fix in any autotools-normal way, because
dlopen isn't detected directly by configure, but instead HAVE_DLFCN_H is
picked up from <gdal/cpl_config.h>.  The most straightforward workaround
I found was to make debian/rules pass XTRALIBS=-ldl to configure.  You
may have a better answer ...

  * Link executables with -ldl.

diff -Nru mapserver-6.0.1/debian/rules mapserver-6.0.1/debian/rules
--- mapserver-6.0.1/debian/rules        2012-08-28 19:29:25.000000000 +0100
+++ mapserver-6.0.1/debian/rules        2013-05-21 13:08:41.000000000 +0100
@@ -59,7 +59,7 @@
 
 configure-stamp:
        dh_testdir
-       ./configure $(COMMON_CONFIG) CFLAGS="$(MS_CFLAGS)" 
CXXFLAGS="$(MS_CXXFLAGS)"
+       ./configure $(COMMON_CONFIG) CFLAGS="$(MS_CFLAGS)" 
CXXFLAGS="$(MS_CXXFLAGS)" XTRALIBS=-ldl
 
 
        touch configure-stamp
@@ -67,7 +67,7 @@
 configure-php5-stamp: clean-first-build
        dh_testdir
        ./configure $(COMMON_CONFIG) \
-               --with-php=/usr/include/php5  CFLAGS="$(MS_CFLAGS)" 
CXXFLAGS="$(MS_CXXFLAGS)"
+               --with-php=/usr/include/php5  CFLAGS="$(MS_CFLAGS)" 
CXXFLAGS="$(MS_CXXFLAGS)" XTRALIBS=-ldl
 
        touch configure-php5-stamp
 

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

--- End Message ---
--- Begin Message ---
Source: mapserver
Source-Version: 6.2.1-3

On Tue, Sep 24, 2013 at 02:07:40PM +0200, Sebastiaan Couwenberg wrote:
> Is this bug still relevant?
> 
> In the mean time MapServer has been updated in Debian to 6.2.1 and
> 6.4.0. These build use -ldl already.

Indeed, 6.2.1-3 built cleanly for us.

> In Ubuntu saucy MapServer has been updated to 6.2.1-3, and should pull
> in 6.4.0-2 from Debian.

We're in feature freeze now, so this will probably need to wait for our
next release cycle unless 6.2.1-3 is critically broken in some way.

Thanks,

-- 
Colin Watson                                       [cjwat...@debian.org]

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to