GNOME Bugzilla – Bug 730319
Test aliasfilecheck fails when out-of-source build is done
Last modified: 2014-05-23 10:40:23 UTC
Built fresh from gtk-2-24 git branch. When doing 'make check', the 'aliasfilescheck.sh' test fails: FAIL: aliasfilescheck.sh ======================== grep: gtkmarshal.c: No such file or directory grep: gtkmarshalers.c: No such file or directory grep: gtktypebuiltins.c: No such file or directory 212d211 < __GTK_TYPE_BUILTINS_C__ 228d226 < __gtk_marshal_MARSHAL_C__ The issue seems to be that the 'gtk_all_c_sources' variable contains both supplied and built sources. The test assumes all files reside in $srcdir while built sources actually land in $builddir.
Created attachment 276718 [details] [review] Initial patch for the issue It's not pretty -- I've used an outer 'for' loop with 'if' looking for files both in builddir (cwd) and srcdir. This particularly guarantees that if some of the files were supplied in $srcdir, and then were regenerated in $builddir, only the new version will be used.
tbh, I'd rather not touch it. gtk2 is in deep maintenance mode. the alias check is a tool that is only mean to work during make distcheck, which it does.