GNOME Bugzilla – Bug 640241
non-srcdir builds busted
Last modified: 2011-02-22 14:02:48 UTC
With 1.16, my distchecks fail. Looking closer, it turns out that .e.g the gio overview.xml file does not get copied over. I think the setup-build.stamp rule is faulty. ‣‧‧‧‧‧‧‧ test -f $(abs_srcdir)/$$file || \ ‣‧‧‧‧‧‧‧ cp -a $(abs_srcdir)/$$file $(abs_builddir)/; \ should be ‣‧‧‧‧‧‧‧ test -f $(abs_builddir)/$$file || \ ‣‧‧‧‧‧‧‧ cp -a $(abs_srcdir)/$$file $(abs_builddir)/; \
It seems that non-srcdir builds are more thoroughly busted than that. Just try to distcheck glib.
First, the out-of-srcdir build was never meant to be part of the relase. Dunno how it end up being committed. Too bad that no one tests pre-releases also. I have been successfully testing glib with it. I will do that again at some point.
I can't fully test "make distcheck" for srcdir=builddir right now - the doc scanner for gio segfaults. export GTK_DOC_KEEP_INTERMEDIATE=1 cd glib-2.27.93/_build/docs/reference/gio gdb ./gio-scan ... Program received signal SIGSEGV, Segmentation fault. g_io_extension_get_type (extension=0x50) at ../../gio/giomodule.c:905 905 { (gdb) bt
+ Trace 225658
Just confirming on a different machine the glib git build is indeed broken: libtool: link: gcc -g -O2 -Wall .libs/gio-scan.o -o .libs/gio-scan ../../../glib/.libs/libglib-2.0.so ../../../gobject/.libs/libgobject-2.0.so ../../../gmodule/.libs/libgmodule-2.0.so ../../../gio/.libs/libgio-2.0.so -Wl,-rpath -Wl,/home/ensonic/debug/lib .libs/gio-scan.o: In function `get_object_types': /home/ensonic/projects/gnome/glib/_debug/docs/reference/gio/gio-scan.c:193: undefined reference to `g_registry_backend_get_type' collect2: ld returned 1 exit status Linking of scanner failed:
Before someone brings it up - build.gnome.org is not affected: ... checking whether to build gtk-doc documentation... no ...
Sorry posted the wrong one: It also dies at the same point: Program received signal SIGSEGV, Segmentation fault. g_io_extension_get_type (extension=0x1) at ../../gio/giomodule.c:904 904 g_io_extension_get_type (GIOExtension *extension) (gdb) bt
+ Trace 225725
and this was caused by an leftover in .types. But thats fixed in glib git already. I pushed one commit to gtk-doc git to fix that issue.
Should be working in gtk-doc git head. It was working for non-tmpl based projects before.
Just to give status after several evenings of working: 1.) I still face leftover files when building the docs for glib. 2.) grep "Computing" make.log | wc -l 18 That is each doc module is build 6 times instead of 2 times! Once its happening because of "make check", but I don't know why yet. If I can't figure it in the coming 3 days I back-out the patch and release a 1.17 with the previous Makefiles.
quick update: 2.) grep "Computing" make.log | wc -l 9 Thats still 1 round too much, but I have hope again.
FWIW, you can try distcheck on libwnck master if you want something faster than glib ;-) Not sure it's the same issue, but it fails too.
(In reply to comment #10) > FWIW, you can try distcheck on libwnck master if you want something faster than > glib ;-) Not sure it's the same issue, but it fails too. Having something that is small, affected, but does not require gtk+-3 would be nice.
libwnck from gnome-2-30 also has the issue, if you don't want gtk+-3.
============================================== glib-2.27.94 archives ready for distribution: glib-2.27.94.tar.gz ============================================== So please, people try again.
For #gtk+ irc. 14:50 < ensonic> mclasen: is make distcheck working fine for you now? 14:50 < mclasen> ensonic: it was working the last time I tried, thanks