GNOME Bugzilla – Bug 735401
make check fails on 3.13.7 without --enable-installed-tests
Last modified: 2014-08-27 01:57:08 UTC
Hello! When building (debian packages of) gtk+ 3.13.7 I ran into issues like: ** (lt-gtk-reftest:13765): ERROR **: Could not load module 'reftest' from '/tmp/buildd/gtk+3.0-3.13.7/debian/build/shared/testsuite/reftests' when looking up 'reftest:switch_default_direction' FAIL (during make check phase I guess) The problem seemed to be that the generated Makefile didn't even try to build libreftest.la et.al. It had all of those lines commented out. Looking at Makefile.in made me realise this was because the debian packages was built without the "--enable-installed-tests" configure flag. Adding that worked around the problem. Running "make check" should probably work even without --enable-installed-tests...
Created attachment 284443 [details] [review] build: make reftests work without installed tests The libreftest.so module needs to be built in all cases. Without installed tests, it needs to not be installed though.
Review of attachment 284443 [details] [review]: sure, if it works
Attachment 284443 [details] pushed as 0f0fc59 - build: make reftests work without installed tests
Additional fixups are needed to actually getting it working. Company suggested something like: http://ur1.ca/i29mr Not pretty, but atleast it works.
(Without the above fix, libtool complains about relative path being used as rpath is not allowed and errors out.)