GNOME Bugzilla – Bug 412155
5.9.13 fails to build
Last modified: 2007-04-12 14:07:19 UTC
make[4]: Leaving directory `/tmp/buildd/gcalctool-5.9.13/gnome/help/zh_TW' make[4]: Entering directory `/tmp/buildd/gcalctool-5.9.13/gnome/help' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/tmp/buildd/gcalctool-5.9.13/gnome/help' xsltproc -o gcalctool-C.omf --stringparam db2omf.basename gcalctool --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`//tmp/buildd/gcalctool-5.9.13/./help/gcalctool.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` /tmp/buildd/gcalctool-5.9.13/./help/C/gcalctool.xml warning: failed to load external entity "/tmp/buildd/gcalctool-5.9.13/gnome/help//tmp/buildd/gcalctool-5.9.13/./help/gcalctool.omf.in" db2omf: Could not construct the OMF subject element. Add either a subject element to /tmp/buildd/gcalctool-5.9.13/gnome/help//tmp/buildd/gcalctool-5.9.13/./help/gcalctool.omf.in. make[3]: *** [gcalctool-C.omf] Error 10 make[3]: Leaving directory `/tmp/buildd/gcalctool-5.9.13/gnome/help' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/gcalctool-5.9.13/gnome' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/gcalctool-5.9.13/gnome'
Created attachment 83389 [details] Transcript of building gcalctool v5.9.13 on Ubuntu Feisty. I'm not seeing the problem you are seeing. I've just successfully built gcalctool v5.9.13 from the published tarball. I've attached a transcript of the configure, compile and install for you to compare against. This was on a Ubuntu Feisty machine with all the latest updates as of this morning.
The same happens for me with 5.9.14 - the problem seems to be gnome-doc-utils.make: xsltproc -o gcalctool-C.omf --stringparam db2omf.basename gcalctool --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`//tmp/buildd/gcalctool-5.9.12/./help/gcalctool.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` /tmp/buildd/gcalctool-5.9.12/./help/C/gcalctool.xml warning: failed to load external entity "/tmp/buildd/gcalctool-5.9.12/gnome/help//tmp/buildd/gcalctool-5.9.12/./help/gcalctool.omf.in" db2omf: Could not construct the OMF subject element. Add either a subject element to /tmp/buildd/gcalctool-5.9.12/gnome/help//tmp/buildd/gcalctool-5.9.12/./help/gcalctool.omf.in. make[3]: *** [gcalctool-C.omf] Error 10 make[3]: Leaving directory `/tmp/buildd/gcalctool-5.9.12/gnome/help' make[2]: *** [all-recursive] Error 1 Note the duplication of paths in /tmp/buildd/gcalctool-5.9.12/gnome/help//tmp/buildd/gcalctool-5.9.12/./help/gcalctool.omf.in I compared gnome-doc-utils.make with the one of eog-2.18.0 daniel@bert:~$ diff -u gcalctool-5.9.14/gnome-doc-utils.make eog-2.18.0/gnome-doc-utils.make | diffstat gnome-doc-utils.make | 191 +++++++-------------------------------------------- 1 file changed, 27 insertions(+), 164 deletions(-) daniel@bert:~$ I suppose the following change would fix it: daniel@bert:~$ diff -u gcalctool-5.9.14/gnome-doc-utils.make eog-2.18.0/gnome-doc-utils.make | grep "stringparam db2omf.omf_in" - --stringparam db2omf.omf_in "`pwd`/$(_DOC_OMF_IN)" \ + --stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \ daniel@bert:~$
gnome-doc-utils.make is not part of the gcalctool set of source files. Should I transfer this bug to gnome-doc-utils?
Hi Daniel. Still need a reply to comment #3. Thanks.
It gets shipped in the tarball.
Understood, but the gcalctool build process just "sucks it in" from somewhere else. Transferring to gnome-doc-utils for further evaluation.
This looks like bug #169324, which was fixed in revision 883: http://svn.gnome.org/viewcvs/gnome-doc-utils/trunk/tools/gnome-doc-utils.make?r1=883&r2=882&pathrev=883 Rich, please update your gnome-doc-utils and run 'gnome-doc-prepare -f' in any existing SVN checkouts you have. *** This bug has been marked as a duplicate of 169324 ***
Will do. Thanks. I'm running latest Ubuntu Feisty. Any idea whether the fix made it into GNOME 2.18.0?
Yes, Rich, it is in Feisty.
Cool. Then my next gcalctool tarball should be a good one. 8-)
I patched 5.9.14 with gnome-doc-prepare -f aclocal -I m4 autoconf automake in Ubuntu Feisty. Now it builds again.