libgdk_pixbuf-2.0.la missing from packages

Bug #665768 reported by Alan Knowles
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdk-pixbuf (Debian)
Fix Released
Unknown
gdk-pixbuf (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

has been removed from gtk-2.0-dev and not put in gdk-pixbuf dev package

This results in compiler errors for Gtk based Applications:
/bin/sed: can't read /usr/lib/libgdk_pixbuf-2.0.la: No such file or directory
libtool: link: `/usr/lib/libgdk_pixbuf-2.0.la' is not a valid libtool archive

dpkg --listfiles libgdk-pixbuf2.0-dev | grep la
nothing..

dpkg --listfiles libgtk2.0-dev | grep la
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgdk-x11-2.0.la

on a debian system:

dpkg --listfiles libgtk2.0-dev | grep la
/usr/lib/libgdk_pixbuf-2.0.la
/usr/lib/libgdk_pixbuf_xlib-2.0.la
/usr/lib/libgdk-x11-2.0.la
/usr/lib/libgtk-x11-2.0.la

Tags: patch
Revision history for this message
Alan Knowles (alan-akbkhome) wrote :

Note this breaks pretty much every gtk build...

Revision history for this message
Alan Knowles (alan-akbkhome) wrote :

Current work around - install from source package.

apt-get source libgdk-pixbuf2.0-0
cd gdk-pixbuf-2.22.0/
./configure --prefix=/usr
make
make install

description: updated
Revision history for this message
Matthew Mott (orbweaver) wrote :

The problem seems to be that the .la files are not correctly installed into the -dev package during package build. This can be easily fixed by applying the attached patch to the unpacked gdk-pixbuf-2.22.0 source tree:

apt-get source libgdk-pixbuf2.0-0
cd gdk-pixbuf-2.22.0/
patch -p1 < ../gdkpixbuff.diff
debuild -b -uc -us

You will then end up with a proper .deb package (e.g. libgdk-pixbuf2.0-dev_2.22.0-0ubuntu1_amd64.deb) which contains the correct files and can be installed as normal.

Changed in gdk-pixbuf (Ubuntu):
status: New → Confirmed
Revision history for this message
Sam Hegarty (pspsampsp) wrote :

The patch provided by Matthew Mott fixed the problem for me. Hopefully it will be included in an update sometime soon.

Revision history for this message
Matthew Mott (orbweaver) wrote :

I've published a fixed version of gdk-pixbuf in the DarkRadiant PPA:

https://launchpad.net/~orbweaver/+archive/darkradiant

Hopefully I've got the versioning correct so that it will supersede the official package but be superseded by future official updates.

tags: added: patch
Revision history for this message
Colin Watson (cjwatson) wrote :

For Natty, if the dependency stack isn't too deep, we should remove the .la files from packages depending on libgdk-pixbuf2.0-dev for preference. See:

  http://www.debian.org/doc/debian-policy/ch-files.html#s-libraries

(Of course, that's not to say that the .la can't be reintroduced to libgdk-pixbuf2.0-dev as a stopgap measure.)

Revision history for this message
Laurent Bigonville (bigon) wrote :

I'm would be tempted to say that I'm against re-adding the .la file if removing .la file in the depending packages is not too painful.

Colin: do you have a list of these packages? So this could be coordinate with debian?

Revision history for this message
Colin Watson (cjwatson) wrote :

No, sorry, I don't. I assume you could generate it with a combination of grep-dctrl and the Contents files ...

Revision history for this message
Laurent Bigonville (bigon) wrote :

There is a list of .la files generated daily here: http://release.debian.org/~aba/la/current.txt

Looking at it I see nothing related to gdk-pixbuf

@Alan: which application are you trying to compile?

Revision history for this message
Alan Knowles (alan-akbkhome) wrote :

Sorry, I can not remember exactly which package it was, perhaps some of the other watchers can remember what they had trouble with.

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

I am having trouble with building gnumeric via jhbuild...

Revision history for this message
Laurent Bigonville (bigon) wrote :

No problem here to build gnumeric in a maveric or natty pbuilder

Revision history for this message
Laurent Bigonville (bigon) wrote :

Could somebody try

grep pixbuf /usr/lib/*.la

and post the result here?

and also do a grep in the usr/lib directory of jhbuild?

Changed in gdk-pixbuf (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

We fixed the remaining packages which still refer to this .la, so we don't need to bring it back.

Changed in gdk-pixbuf (Ubuntu):
status: Fix Committed → Won't Fix
Changed in gdk-pixbuf (Debian):
status: Unknown → 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.