invalid token @CARBON_LIBS@ in glib-2.0.pc

Bug #1330033 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Fix Released
Undecided
Iain Lane

Bug Description

In libglib2.0-dev 2.41.0-1, glib-2.0.pc contains an unexpanded token in Libs.private:

Name: GLib
Description: C Utility Library
Version: 2.41.0
Requires.private: libpcre
Libs: -L${libdir} -lglib-2.0
Libs.private: -pthread -lpcre @CARBON_LIBS@
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include

This makes it impossible to statically link against glib2.0 in utopic, though it doesn't cause problems for dynamic linking.

I ran into this problem while doing a test build of qemu. I'm not entirely sure why Libs.private was used, given that qemu dynamically links against glib2.0, but it's definitely still a bug in glib2.0.

Revision history for this message
Iain Lane (laney) wrote :
Changed in glib2.0 (Ubuntu):
status: New → In Progress
assignee: nobody → Iain Lane (laney)
Revision history for this message
Iain Lane (laney) wrote :

Nope. Bug #1330451 means I can't, sorry.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glib2.0 - 2.41.0-2

---------------
glib2.0 (2.41.0-2) experimental; urgency=medium

  [ Andreas Henriksson ]
  * Bump python:any build-dependency to >= 2.7.5-5~ (Closes: #747928)

  [ Emilio Pozuelo Monfort ]
  * Use the default compiler on sparc, since it's already >> 4.7.
    Closes: #751313.

  [ Iain Lane ]
  * 0001-Prevent-an-invalid-CARBON_LIBS-from-appearing-in-the.patch:
    Cherry-pick patch from upstream to fix an invalid "@CARBON_LIBS@" token
    appearing in Libs.private in the pcfile. (LP: #1330033)

 -- Iain Lane <email address hidden> Mon, 16 Jun 2014 10:17:36 +0100

Changed in glib2.0 (Ubuntu):
status: In Progress → 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.