Public bug reported:

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

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: snap-desktop-issue

** Attachment added: "snapcraft.yaml"
   
https://bugs.launchpad.net/bugs/1611505/+attachment/4717792/+files/snapcraft.yaml

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611505

Title:
  gdk-pixbuf cache is missing from snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1611505/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to