[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#627428: marked as done (gmetadom: fails to build with 'ld --as-needed')



Your message dated Tue, 31 May 2011 09:17:20 +0000
with message-id <E1QRL4i-0000go-Iy@franck.debian.org>
and subject line Bug#627428: fixed in gmetadom 0.2.6-6
has caused the Debian Bug report #627428,
regarding gmetadom: fails to build 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 owner@bugs.debian.org
immediately.)


-- 
627428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627428
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gmetadom
Version: 0.2.6-5
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric

As reported in
https://bugs.launchpad.net/ubuntu/+source/gmetadom/+bug/771037, gmetadom
fails to build with 'ld --as-needed'.  See
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
for details.  This can be fixed by adjusting link order so that
libraries come after the objects/libraries that use their symbols, as in
the following patch.

  * Rearrange link order to work with 'ld --as-needed'.

diff -u gmetadom-0.2.6/debian/patches/00list gmetadom-0.2.6/debian/patches/00list
--- gmetadom-0.2.6/debian/patches/00list
+++ gmetadom-0.2.6/debian/patches/00list
@@ -1,0 +2 @@
+ld-as-needed.dpatch
only in patch2:
unchanged:
--- gmetadom-0.2.6.orig/debian/patches/ld-as-needed.dpatch
+++ gmetadom-0.2.6/debian/patches/ld-as-needed.dpatch
@@ -0,0 +1,35 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## ld-as-needed.dpatch by Colin Watson <cjwatson@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: rearrange link order to work with 'ld --as-needed'
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gmetadom~/src/gdome_cpp_smart/test/Makefile.am gmetadom/src/gdome_cpp_smart/test/Makefile.am
+--- gmetadom~/src/gdome_cpp_smart/test/Makefile.am	2007-05-08 16:26:18.000000000 +0100
++++ gmetadom/src/gdome_cpp_smart/test/Makefile.am	2011-05-20 15:20:07.000000000 +0100
+@@ -6,9 +6,9 @@
+ deep_SOURCES = deep.cc
+ 
+ LDADDS = \
+-  $(GDOME_LIBS) \
+   $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
+   $(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la \
++  $(GDOME_LIBS) \
+   -lstdc++
+ 
+ test_LDADD = $(LDADDS)
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gmetadom~/src/gdome_cpp_smart/test/Makefile.in gmetadom/src/gdome_cpp_smart/test/Makefile.in
+--- gmetadom~/src/gdome_cpp_smart/test/Makefile.in	2007-10-15 10:42:44.000000000 +0100
++++ gmetadom/src/gdome_cpp_smart/test/Makefile.in	2011-05-20 15:20:13.000000000 +0100
+@@ -217,9 +217,9 @@
+ basic_SOURCES = basic.cc
+ deep_SOURCES = deep.cc
+ LDADDS = \
+-  $(GDOME_LIBS) \
+   $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
+   $(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la \
++  $(GDOME_LIBS) \
+   -lstdc++
+ 
+ test_LDADD = $(LDADDS)

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



--- End Message ---
--- Begin Message ---
Source: gmetadom
Source-Version: 0.2.6-6

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

gmetadom_0.2.6-6.debian.tar.gz
  to main/g/gmetadom/gmetadom_0.2.6-6.debian.tar.gz
gmetadom_0.2.6-6.dsc
  to main/g/gmetadom/gmetadom_0.2.6-6.dsc
libgdome2-cpp-smart-dev_0.2.6-6_amd64.deb
  to main/g/gmetadom/libgdome2-cpp-smart-dev_0.2.6-6_amd64.deb
libgdome2-cpp-smart0c2a_0.2.6-6_amd64.deb
  to main/g/gmetadom/libgdome2-cpp-smart0c2a_0.2.6-6_amd64.deb
libgdome2-ocaml-dev_0.2.6-6_amd64.deb
  to main/g/gmetadom/libgdome2-ocaml-dev_0.2.6-6_amd64.deb
libgdome2-ocaml_0.2.6-6_amd64.deb
  to main/g/gmetadom/libgdome2-ocaml_0.2.6-6_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 627428@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated gmetadom 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 31 May 2011 10:39:12 +0200
Source: gmetadom
Binary: libgdome2-cpp-smart0c2a libgdome2-cpp-smart-dev libgdome2-ocaml-dev libgdome2-ocaml
Architecture: source amd64
Version: 0.2.6-6
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Description: 
 libgdome2-cpp-smart-dev - C++ bindings for GDome2 DOM implementation
 libgdome2-cpp-smart0c2a - C++ bindings for GDome2 DOM implementation
 libgdome2-ocaml - OCaml bindings for GDome2 DOM implementation
 libgdome2-ocaml-dev - OCaml bindings for GDome2 DOM implementation
Closes: 620614 627428
Changes: 
 gmetadom (0.2.6-6) unstable; urgency=low
 .
   [ Stéphane Glondu ]
   * Team upload
   * Remove Stefano from Uploaders
   * Switch source package format to 3.0 (quilt)
 .
   [ Steve Langasek ]
   * debian/rules: clean the dependency_libs out of .la files at build
     time, per Policy 10.2 (Closes: #620614)
 .
   [ Colin Watson ]
   * Rearrange link order to work with 'ld --as-needed'
     (LP: #771037, Closes: #627428)
Checksums-Sha1: 
 b3ad1324f33cade5f52539cbba416d3c14124cf1 2062 gmetadom_0.2.6-6.dsc
 f3a36384585ed2fa4060d41a54d591e2d37d5845 7401 gmetadom_0.2.6-6.debian.tar.gz
 87b8ce54c9874080bf86b4e324c8b3d65af0a7e3 44576 libgdome2-cpp-smart0c2a_0.2.6-6_amd64.deb
 f91b4c9cbf550b3e08ef2a07a418cb4168e7f026 60344 libgdome2-cpp-smart-dev_0.2.6-6_amd64.deb
 c683516dee78ba216f0a0b928b321ff71de20060 322042 libgdome2-ocaml-dev_0.2.6-6_amd64.deb
 7133ecb5735bd91762020108bd44a106baaa9ca4 34654 libgdome2-ocaml_0.2.6-6_amd64.deb
Checksums-Sha256: 
 f6202f1afa11b0b256386d919b246c835cb9e3a226a19c6fb841350c879ef778 2062 gmetadom_0.2.6-6.dsc
 d31eb41a6d50aa5ad0a75c84b1a7d3ed7309a2e428c2e676d558068697f51fae 7401 gmetadom_0.2.6-6.debian.tar.gz
 5a7b55606854db5e06d46fd0f6f8c7314b520383e480df42b84b75743b3065ef 44576 libgdome2-cpp-smart0c2a_0.2.6-6_amd64.deb
 b92577b451f7b6cb6a607fa6307c5f4a9e4a447af2fc022a30f72ad97e4de896 60344 libgdome2-cpp-smart-dev_0.2.6-6_amd64.deb
 5970b645f57c9f444ea0d209b3a85699115385fbd6bd00961f8d9a5e291917e1 322042 libgdome2-ocaml-dev_0.2.6-6_amd64.deb
 8107ce1ed859056925fe3b5d97e271c511888e47836713f6ad829d3b50fcda5a 34654 libgdome2-ocaml_0.2.6-6_amd64.deb
Files: 
 0d852f496e3039bc9d4a5c2176e9f884 2062 devel optional gmetadom_0.2.6-6.dsc
 185859c0acafbd40ceb119c4572e1bd2 7401 devel optional gmetadom_0.2.6-6.debian.tar.gz
 76ba4314b02faf0dcf0ff9d0077115d9 44576 libs optional libgdome2-cpp-smart0c2a_0.2.6-6_amd64.deb
 ebbf8cc9da0e80d49a3511117c8c04f6 60344 libdevel optional libgdome2-cpp-smart-dev_0.2.6-6_amd64.deb
 1dd0be0f70d0f31c336c33491e63237e 322042 ocaml optional libgdome2-ocaml-dev_0.2.6-6_amd64.deb
 9a336742195daa124ad056917409583c 34654 ocaml optional libgdome2-ocaml_0.2.6-6_amd64.deb

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

iQIcBAEBCgAGBQJN5K7nAAoJEHhT2k1JiBrTblgP/3pRdEVrEkzWip+aHWyxuZoL
5HeosDx8U75d2VuUtUeVsWUrM1XPHDzh2SIVPddklyC643T6CFwzbG6T++zDA0TT
R3MMZNKkgCileFt2F6GhjkIJDVnj4GMBK6BHCkf5EPXDYsddy+RKa0uwbx6ADVJe
xxMWvHHHkEcY5pPtfam9+d07mOZgYBPwOaQBevf0eA732K6/ggyop2QZq9lTGyTS
qgI62QlNlIjJ/DgAasKwe85MnnZOrt5E/k9rjiiscbnQLFDf9/C43mzHeZmNTLyE
nnSztiYs96Qk7xHPkToV+68HBGpJAfsqtnD+TUBLIuQl/B4qWNTTa6Z8RA0uMbqT
I7UTxIrXTg5Am42nLy43If0pOOJmS5X1chHT8lWGMcxdGfNZNE62NBhxDmsO4tkf
XcEvEvw+70w2oEp22sJLfxe/1FUgQLAii6W59OVXhnudyih8mgHURZcpEPFBe5Oz
Gig/fE6RHw1uZ8OQoIJ8yuyf1O1qyOjHWFYY7B0F3PVtAFGdNr6oo1oQl2cWELOs
Wj0HI36mIUDxPpvGKSAq97vSqDe/ToAlJZNMvHl1JpP92RLFy3ZsxZy7608mXhuk
569Iw3qNzjeqHdwVn4/C4mZBqw28N/0/8P3DCPfEB7dNAS84FqNkG5mV+VklviA7
+YzPFv9Lqqrns5ABudje
=QJ0v
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: