gdk-pixbuf cache is missing from snap

Bug #1611505 reported by Francis Ginther
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am trying to snap hexchat with the attach snapcraft.yaml (it's not perfect). The application builds, install and runs, but generates the following error when it is executed:

(hexchat:4186): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

I'm not expecting to see this warning message. The loaders.cache file is normally generated by a libgdk-pixbuf2.0-0 postinst script. I don't know why it's not being generated in this case, but it is missing from the build/stage/prime files:

fginther@sandman:~/src/snap/hexchat$ find . -name 'loaders'
./parts/hexchat/install/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
./prime/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
./stage/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
fginther@sandman:~/src/snap/hexchat$ find . -name 'loaders.cache'
fginther@sandman:~/src/snap/hexchat$

What's in use:
fginther@sandman:~/src/snap/hexchat$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
fginther@sandman:~/src/snap/hexchat$ apt-cache policy snapcraft
snapcraft:
  Installed: 2.13.1
  Candidate: 2.13.1
  Version table:
 *** 2.13.1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
        100 /var/lib/dpkg/status
     2.8.4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
fginther@sandman:~/src/snap/hexchat$ apt-cache policy snapd
snapd:
  Installed: 2.11+0.16.04
  Candidate: 2.11+0.16.04
  Version table:
 *** 2.11+0.16.04 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Revision history for this message
Francis Ginther (fginther) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1611505/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → snapcraft (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Should be working with 3.x using the gnome extension

Changed in snapcraft (Ubuntu):
status: Confirmed → 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.