[Patch] gobject-introspection puts the -l library options for gcc in the wrong place

Bug #897816 reported by Albert Astals Cid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gobject-introspection (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

To be able to build poppler with cmake in ubuntu we need a patch upstream from gobject-introspection otherwise i get lots of undefined symbols because the -lfoo are put too early in the command like.

The patch that needs to be applied can be found on http://git.gnome.org/browse/gobject-introspection/commit/giscanner/dumper.py?id=169b6680c0f765ba8a0045a29f2fcf41ea81e80a

It would be great if it could be applied to current ubuntu so people can actually build poppler with cmake

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gobject-introspection 1.30.0-0ubuntu2 [modified: usr/lib/gobject-introspection/giscanner/dumper.py]
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Nov 29 19:02:05 2011
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: gobject-introspection
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Albert Astals Cid (aacid) wrote :
summary: - gobject-introspection puts the -l library options for gcc in the wrong
- place
+ [Patch] gobject-introspection puts the -l library options for gcc in the
+ wrong place
Changed in gobject-introspection (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Martin Pitt (pitti) wrote :

Committed to Debian packaging git. The current version should go into testing really soon now, then I'll upload to sid/sync.

Changed in gobject-introspection (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gobject-introspection - 1.31.1-1

---------------
gobject-introspection (1.31.1-1) unstable; urgency=low

  [ Sjoerd Simons ]
  * debian/control.in: Make the Vcs-* tags refer to the unstable repos

  [ Josselin Mouette ]
  * Make the -dev package depend on g-i. Closes: #649859.

  [ Loïc Minier ]
  * dh_girepository: don't override LD_LIBRARY_PATH completely; fakeroot needs
    it.

  [ Thorsten Glaser ]
  * Fix invalid alignment assumptions. (Closes: #604603)

  [ Michael Biebl ]
  * Change section of gir1.2-glib-2.0 and gir1.2-freedesktop to introspection.
  * Set <email address hidden> as Maintainer.
  * New upstream release.
    - scanner: Put the -l library names after the .o, to fix FTBFS with cmake
      projects. (LP: #897816)
  * Refresh debian/patches/fix-alignment.patch.
  * Strip debian/tmp/ from .install files.
  * Add Build-Depends on libglib2.0-doc for proper cross references.
  * Add Recommends on libglib2.0-doc to libgirepository1.0-doc.

 -- Michael Biebl <email address hidden> Thu, 15 Dec 2011 07:51:35 +0100

Changed in gobject-introspection (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.