Your message dated Fri, 24 Jun 2011 18:32:10 +0000
with message-id <[email protected]>
and subject line Bug#631270: fixed in clasp 2.0.1-2
has caused the Debian Bug report #631270,
regarding clasp: 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.)


-- 
631270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631270
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clasp
Version: 2.0.1-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch

*** /tmp/tmpTSfYgn
In Ubuntu, the attached patch was applied to achieve the following:

  * Use LIBS instead of LDFLAGS for linking to libraries. Fixes FTBFS with ld's
    --as-needed

Patch also forwarded upstream: 
https://sourceforge.net/tracker/?func=detail&aid=3324430&group_id=238741&atid=1107486
But we'd appreciate it if you could include it, should you do any
uploads before then.

Thanks for considering the patch.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-1-generic (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix build failure with ld --as-needed.
Author: Stefano Rivera <[email protected]>
Forwarded: 
https://sourceforge.net/tracker/?func=detail&aid=3324430&group_id=238741&atid=1107486
Last-Update: 2011-06-22
--- a/configure.sh
+++ b/configure.sh
@@ -11,6 +11,7 @@
 CONFIG=""
 # CONFIGURATION
 LDFLAGS=""
+LIBS=""
 BUILDPATH=""
 CXXFLAGS=""
 INSTALLPATH=""
@@ -166,7 +167,7 @@
                exit 1
        fi
        CXXFLAGS="${CXXFLAGS} -I${TBB_INCLUDE}"
-       LDFLAGS="${LDFLAGS} -ltbb -L${TBB_LIB}"
+       LIBS="${LIBS} -ltbb -L${TBB_LIB}"
        if [[ $rpath == 1 ]]; then
                LDFLAGS="${LDFLAGS} -Xlinker \"--rpath=${TBB_LIB}\""
        fi
@@ -195,6 +196,7 @@
 ROOTPATH="../.."
 LIB_CLASP="libclasp"
 LIB_OPTS="libprogram_opts"
+LIBS="${LIB_CLASP}/lib/${LIB_CLASP}.a ${LIB_OPTS}/lib/${LIB_OPTS}.a ${LIBS}"
 mkdir -p $BUILDPATH/app
 mkdir -p $BUILDPATH/bin
 mkdir -p $BUILDPATH/$LIB_CLASP/lib
@@ -213,6 +215,7 @@
 echo "CXXFLAGS    := ${CXXFLAGS}" >> FLAGS
 echo "WARNFLAGS   := -W -Wall"    >> FLAGS
 echo "LDFLAGS     := ${LDFLAGS}"  >> FLAGS
+echo "LIBS        := ${LIBS}"     >> FLAGS
 echo ""                           >> FLAGS
 
 # create Makefiles
@@ -231,7 +234,7 @@
 echo "OUT_DIR      := app"                  >> .CONFIG
 echo "INCLUDES     := -I\$(PROJECT_ROOT)/${LIB_CLASP} 
-I\$(PROJECT_ROOT)/${LIB_OPTS}" >> .CONFIG
 echo "SUBDIRS      := ${LIB_CLASP} ${LIB_OPTS}"  >> .CONFIG
-echo "LIBS         := ${LIB_CLASP}/lib/${LIB_CLASP}.a 
${LIB_OPTS}/lib/${LIB_OPTS}.a" >> .CONFIG
+echo "LIBS         := ${LIBS}"              >> .CONFIG
 echo "INSTALL_DIR  := ${INSTALLPATH}"       >> .CONFIG
 if [ ! -z "$POST_BUILD" ]; then
 echo "POST_BUILD  := $POST_BUILD"           >> .CONFIG

--- End Message ---
--- Begin Message ---
Source: clasp
Source-Version: 2.0.1-2

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

clasp_2.0.1-2.debian.tar.gz
  to main/c/clasp/clasp_2.0.1-2.debian.tar.gz
clasp_2.0.1-2.dsc
  to main/c/clasp/clasp_2.0.1-2.dsc
clasp_2.0.1-2_amd64.deb
  to main/c/clasp/clasp_2.0.1-2_amd64.deb



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.
Thomas Krennwallner <[email protected]> (supplier of updated clasp 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: Wed, 22 Jun 2011 19:44:48 +0200
Source: clasp
Binary: clasp
Architecture: source amd64
Version: 2.0.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Thomas Krennwallner <[email protected]>
Description: 
 clasp      - conflict-driven nogood learning answer set solver
Closes: 631270
Changes: 
 clasp (2.0.1-2) unstable; urgency=low
 .
   * control: Setup as Debian Science project.
     - Set Maintainer to Debian Science Maintainers and Uploaders to Thomas
       Krennwallner.
     - Set DM-Upload-Allowed to yes.
     - Convert bzr repository to git and use Vcs-Git and Vcs-Browser
     accourdingly.
   * patches/clasp-ld-as-needed.patch: Bug fix: "FTBFS with ld
     --as-needed", thanks to [email protected]; (Closes: #631270).
Checksums-Sha1: 
 d4a9c4b31b817d4a324f3593847c652ceace6526 1304 clasp_2.0.1-2.dsc
 5594d716c8c43f55da5d3a585ad6a2464b64831f 6385 clasp_2.0.1-2.debian.tar.gz
 95d5b0801616618c633826f2d1a4668a3494f5dc 366990 clasp_2.0.1-2_amd64.deb
Checksums-Sha256: 
 08c8b4182c15f633853b513ab1785fec855ea69e0db587d7131de18cfd7e83d9 1304 
clasp_2.0.1-2.dsc
 9f29b28a754c681423dca7d2e9d43808f6e146ec0039317f8aaa9f98db7ac3f5 6385 
clasp_2.0.1-2.debian.tar.gz
 cd981d167a75ebb72ce6c385e68aa8165f14f5a166b3e0c6cd424e423fbd2ed5 366990 
clasp_2.0.1-2_amd64.deb
Files: 
 663f84d9a236871194c02554d10d0e2c 1304 interpreters extra clasp_2.0.1-2.dsc
 f94cdd048b014f8b2ef2b9fdf85e87cc 6385 interpreters extra 
clasp_2.0.1-2.debian.tar.gz
 843e42da741dae86dcb47700859ad8c5 366990 interpreters extra 
clasp_2.0.1-2_amd64.deb

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

iEYEARECAAYFAk4E1bsACgkQvx6dH3bVKsQ6WQCdE7zfJOxlFgg7fkIkt64bf2gb
SlEAoPC+AWgZZderwVQmdNcKI+UBaXYd
=0QtN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to