After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703012 - make check fails: Cannot open pixbuf loader module file '.../gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
make check fails: Cannot open pixbuf loader module file '.../gdk-pixbuf-2.0/2...
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-24 20:10 UTC by Darxus
Modified: 2014-02-04 00:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Set GDK_PIXBUF_MODULE_FILE when running the tests (793 bytes, patch)
2013-11-06 12:53 UTC, Iain Lane
none Details | Review

Description Darxus 2013-06-24 20:10:01 UTC
commit 5f8c246aff21a029ef1631571edf275613a6cad3 (current git master)

Using my buildtest script, which wipes the install prefix, and git cleans all repos before building them.  Last known good commit is 948b5cfcd4ab112050d801d1a05eeb9260591d53.  Not sure where exactly this started since the "Forgotten file" problem happened since then.

make  check-TESTS check-local
make[3]: Entering directory `/home/darxus/source/gdk-pixbuf/tests'
==================
All 0 tests passed
==================
TEST: animation... (pid=3121)
  /animation/gif:
(/home/darxus/source/gdk-pixbuf/tests/.libs/lt-animation:3121): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/home/darxus/install.test/lib/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 > /home/darxus/install.test/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
FAIL
GTester: last random seed: R02Sd3a291d78b169a0c56c17e7c3b913b92
/bin/bash: line 1:  3120 Terminated              G_TEST_SRCDIR="/home/darxus/source/gdk-pixbuf/tests" G_TEST_BUILDDIR="/home/darxus/source/gdk-pixbuf/tests" G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester --verbose animation pixbuf-icon-serialize pixbuf-randomly-modified pixbuf-threads
make[3]: *** [test-nonrecursive] Error 143
make[3]: Leaving directory `/home/darxus/source/gdk-pixbuf/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/darxus/source/gdk-pixbuf/tests'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/darxus/source/gdk-pixbuf/tests'
make: *** [check-recursive] Error 1
Comment 1 Iain Lane 2013-11-06 12:53:27 UTC
Created attachment 259067 [details] [review]
Set GDK_PIXBUF_MODULE_FILE when running the tests

We create this in the build system, but don't tell the (installed)
testsuite to use it.
Comment 2 Iain Lane 2013-11-06 12:59:24 UTC
We were seeing this in Ubuntu:

  https://launchpadlibrarian.net/155950592/buildlog_ubuntu-trusty-i386.gdk-pixbuf_2.30.0-0ubuntu1_FAILEDTOBUILD.txt.gz

& setting this fixes it. I wanted to use AM_TESTS_ENVIRONMENT but it seems like that doesn't work with our test harness (which I'm not familiar with). That or something like it would be better than setting GTESTER like this, but that works for me.
Comment 3 Matthias Clasen 2014-02-04 00:11:30 UTC
we're now doing

TESTS_ENVIRONMENT += GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/loaders.cache

and we're not using gtester anymore (switched to the automake tap driver)