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 694199 - Test suite fails in distcheck
Test suite fails in distcheck
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
3.10
Depends on:
Blocks:
 
 
Reported: 2013-02-19 18:30 UTC by Bastien Nocera
Modified: 2013-05-21 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2013-02-19 18:30:29 UTC
I believe that our test suite isn't well atuned to srcdir != builddir.
Comment 1 Martin Pitt 2013-02-20 08:14:07 UTC
I'm happy to fix this, I just currently have some trouble with running the tests at all. They apparently require g-s-d to be installed, as otherwise the code aborts on the missing "idle-dim" schema. But trying "jhbuild run make install" fails with

 /bin/bash ../../libtool   --mode=install /home/martin/.local/bin/install-check   libcolor.la '/home/martin-scratch/gnome/_jhbuild/root-gnome-settings-daemon/home/martin-scratch/gnome/lib64/gnome-settings-daemon-3.0'
libtool: install: error: cannot install `libcolor.la' to a directory not ending in /usr/local/lib/gnome-settings-daemon-3.0
make[3]: *** [install-pluginLTLIBRARIES] Error 1

I haven't seen that before. I guess I'll try installing and building the schema manually.
Comment 2 Martin Pitt 2013-05-21 13:43:25 UTC
I just tried "make && make check" in a separate build tree, and that works fine. But "distcheck" indeed does not:

BUILDDIR=. TOP_BUILDDIR=../..  ../../../plugins/power/test.py
Cannot start X.org with dummy driver.  Log:
[...]
[ 17813.431] 
Fatal server error:
[ 17813.431] xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

Is that what you are seeing as well? Or did you mean something else?
Comment 3 Bastien Nocera 2013-05-21 13:49:41 UTC
I think that's it, and that would be because the config file can't be found.
Comment 4 Martin Pitt 2013-05-21 14:04:12 UTC
Fixed in https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=6722ee40c

Sorry that this took so long, this fell through the cracks.