GNOME Bugzilla – Bug 398103
dasher does not build; autogen.sh fails
Last modified: 2008-03-30 22:49:37 UTC
Trying to build dasher, I get the following: Running automake-1.10... cp: cannot stat `INSTALL': No such file or directory configure.in:27: required file `./config.rpath' not found configure.in:9: installing `./missing' configure.in:9: installing `./install-sh' gnome-doc-utils.make:68: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:68: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:71: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:71: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:104: if $(DOC_USER_FORMATS: non-POSIX variable name gnome-doc-utils.make:104: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:109: if $(filter environment,$(origin LINGUAS: non-POSIX variable name gnome-doc-utils.make:109: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:109: filter $(LINGUAS: non-POSIX variable name gnome-doc-utils.make:109: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:133: shell xmllint --format $(2: non-POSIX variable name gnome-doc-utils.make:133: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:133: notdir $(patsubst %/$(notdir $(2: non-POSIX variable name gnome-doc-utils.make:133: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:148: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:148: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:148: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:148: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:152: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:152: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:152: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:152: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:161: call db2omf_args,$@,$<,'docbook': non-POSIX variable name gnome-doc-utils.make:161: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:165: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:165: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:165: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:165: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:174: call db2omf_args,$@,$<,'xhtml': non-POSIX variable name gnome-doc-utils.make:174: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:179: if $(filter docbook,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:179: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:179: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:179: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:192: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:192: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:196: foreach ent,$(DOC_ENTITIES: non-POSIX variable name gnome-doc-utils.make:196: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:200: foreach inc,$(DOC_INCLUDES: non-POSIX variable name gnome-doc-utils.make:200: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:216: if $(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:216: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:216: foreach fig,$(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:216: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:216: patsubst $(srcdir: non-POSIX variable name gnome-doc-utils.make:216: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:216: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:216: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:223: foreach f, \ gnome-doc-utils.make:223: $(shell xsltproc --xinclude \ gnome-doc-utils.make:223: --stringparam db.chunk.basename "$(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:223: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:234: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:234: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:234: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:234: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:242: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:242: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:242: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:242: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:247: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:247: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:247: foreach inc,$(_DOC_C_INCLUDES: non-POSIX variable name gnome-doc-utils.make:247: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:247: notdir $(inc: non-POSIX variable name gnome-doc-utils.make:247: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:254: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:254: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:254: foreach doc,$(_DOC_C_HTML: non-POSIX variable name gnome-doc-utils.make:254: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:254: notdir $(doc: non-POSIX variable name gnome-doc-utils.make:254: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:260: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:260: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:266: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:266: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:266: patsubst C/%,$(lc: non-POSIX variable name gnome-doc-utils.make:266: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:269: foreach fig,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:269: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:269: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:269: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:269: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:269: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:269: patsubst C/%,%,$(fig: non-POSIX variable name gnome-doc-utils.make:269: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:274: dir $@: non-POSIX variable name gnome-doc-utils.make:274: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:308: dir $@: non-POSIX variable name gnome-doc-utils.make:308: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:319: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:319: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:331: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:331: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:334: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:334: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:337: patsubst %.xhtml,%.xml,$@: non-POSIX variable name gnome-doc-utils.make:337: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:382: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:382: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:383: if $(_DOC_DSK_IN: non-POSIX variable name gnome-doc-utils.make:383: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:384: if $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:384: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:385: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:385: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:491: patsubst C/%,%,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:491: (probably a GNU make extension) Data/Help/Gnome/Makefile.am:1: `gnome-doc-utils.make' included from here Src/Common/Makefile.am: installing `./depcomp' Src/Qt/Makefile.am:13: `%'-style pattern rules are a GNU make extension Src/Qt/Makefile.am:16: `%'-style pattern rules are a GNU make extension Makefile.am: installing `./INSTALL' *** error during stage configure of dasher: Error running ./autogen.sh --prefix /opt/gnome2 --with-a11y --with-gnome --disable-static --disable-gtk-doc *** [127/140]
Hopefully this is now fixed - it works from a clean checkout for me, but let me know if there are problems.
995 newren@amr:gnome/dasher$ ./autogen.sh --prefix /opt/gnome2 --with-a11y --with-gnome --disable-static --disable-gtk-doc <snip lots of output that looks nearly identical> 996 newren@amr:gnome/dasher$ echo $? 1 Something is still returning a nonzero exit status, causing jhbuild to abort.
Right - I'm confused about this one then. It could be automake 1.10, as I'm still on 1.9, but I can't easily check that right at the moment. A lot of the errors are from gnome-doc-utils.make, but I'm sure every other package would fail for the same reason if that really was an issue.
Yes, it turns out that things work just fine when hacking gnome-autogen.sh to force the use of automake-1.9 instead of automake-1.10. So it looks like there is some kind of incompatibility between gnome-doc-utils and automake-1.10? Seems kind of weird that this doesn't get triggered for all the other modules I build. Maybe Shaun or Danilo have an idea...
It is enough to copy config.rpath to fix the build failure. The important line is: configure.in:27: required file `./config.rpath' not found
I checked out the svn trunk today (03/03/2008) and I am still unable to build. With recent calls for community involvement in Dasher, this would be a nice bug to see fixed. a11y@a11y:~/code/dasher>./autogen.sh [snip] Running automake-1.10... configure.in:10: installing `./missing' configure.in:10: installing `./install-sh' automake-1.10: cannot open < gnome-doc-utils.make: File or directory not found I do have gnome-doc-utils 0.10.3 installed.
This issue is now also present with automake 1.9, and confirmed by Phil in http://tech.groups.yahoo.com/group/dasherteam/message/1138 with a work around of running gnome-doc-prepare prior to running augogen.sh. Interestingly enough this was not an issue for me as recently as SVN r3446, revision 3447 breaks it for me.
I certainly don't understand this, but I've identified the problem, at least with autoconf 1.9. The problem for autoconf 1.9 is associated with the changes to configure.in in revision 3447. http://svn.gnome.org/viewvc/dasher/trunk/configure.in?r1=3397&r2=3447 Interestingly enough viewVC doens't actually show the problem area. In rev 3447, line 416 of configure.in is indented two spaces. It turns out that if the GNOME_DOC_INIT call in configure.in is indented, then the build doesn't work. It was a bit complicated to narrow this down because apparently some cached files affect whether the build works or not, so I deleted all non svn related files as shown below (ref svn status --no-ignore). My suggestion is to make the following change to configure.in: GNOME_DOC_INIT # Indenting this line will cause ./autogen.sh to fail with "cannot open < gnome-doc-utils.make" with autoconf 1.9. Debugging history: # binary search which revision problem occurs in: svn update -r 3443 # works svn update -r 3445 # works svn update -r 3446 # works svn update -r 3447 # fails svn update -r 3450 # fails Narrow down the specific change: svn update -r 3446 svn status --no-ignore | sed 's/^.//' | xargs rm -r svn update -r 3447 configure.in # fails svn status --no-ignore | sed 's/^.//' | xargs rm -r svn update -r 3446 . # works svn status --no-ignore | sed 's/^.//' | xargs rm -r add change: AC_INIT([dasher],[4.7.1... # works svn status --no-ignore | grep -v configure.in | sed 's/^.//' | xargs --no-run-if-empty rm -r add change: AM_CONDITIONAL(GNOME_HELP.. # works svn status --no-ignore | grep -v configure.in | sed 's/^.//' | xargs --no-run-if-empty rm -r add change: GNOME_DOC_INIT (indentation only) # fails svn status --no-ignore | grep -v configure.in | sed 's/^.//' | xargs --no-run-if-empty rm -r Install all changes other than GNOME_DOC_INIT # works
Created attachment 106658 [details] [review] configure.in patch In Bug 520549 there are some hints for this. I'm by no means an expert on autoconf, or on the specifics of gnome-doc-utils, but I did get this patch to work for me on autoconf 1.9. Perhaps someone with better detailed knowledge can get something better:
Has anyone running automake-1.10 tried out the patch from comment #9?
Applied attachment 106658 [details] [review] in r3469.
In Bug 525028 comment 4 (and following) Gilles Dartiguelongue confirms that with minor changes (applied in r3491), attachment 106658 [details] [review] from comment 9 does in fact fix this defect for Gentoo and automake-1.10. I'm considering that "good enough" and closing out this bug.