After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412155 - 5.9.13 fails to build
5.9.13 fails to build
Status: RESOLVED DUPLICATE of bug 169324
Product: gnome-doc-utils
Classification: Deprecated
Component: build utils
0.1.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-doc-utils maintainers
gnome-doc-utils maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-26 07:06 UTC by Daniel Holbach
Modified: 2007-04-12 14:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Transcript of building gcalctool v5.9.13 on Ubuntu Feisty. (73.77 KB, text/plain)
2007-02-26 15:12 UTC, Rich Burridge
Details

Description Daniel Holbach 2007-02-26 07:06:16 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'
Comment 1 Rich Burridge 2007-02-26 15:12:05 UTC
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.
Comment 2 Daniel Holbach 2007-03-12 16:27:34 UTC
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:~$ 

Comment 3 Rich Burridge 2007-03-12 16:37:10 UTC
gnome-doc-utils.make is not part of the gcalctool set of source files.
Should I transfer this bug to gnome-doc-utils?
Comment 4 Rich Burridge 2007-03-28 13:05:09 UTC
Hi Daniel. Still need a reply to comment #3. Thanks.
Comment 5 Daniel Holbach 2007-03-28 14:13:40 UTC
It gets shipped in the tarball.
Comment 6 Rich Burridge 2007-03-28 15:47:36 UTC
Understood, but the gcalctool build process just "sucks it in"
from somewhere else. Transferring to gnome-doc-utils for further
evaluation.
Comment 7 Shaun McCance 2007-03-28 16:19:05 UTC
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 ***
Comment 8 Rich Burridge 2007-03-28 16:25:22 UTC
Will do. Thanks.

I'm running latest Ubuntu Feisty. Any idea whether the
fix made it into GNOME 2.18.0?
Comment 9 Daniel Holbach 2007-03-28 16:34:54 UTC
Yes, Rich, it is in Feisty.
Comment 10 Rich Burridge 2007-03-28 16:40:49 UTC
Cool. Then my next gcalctool tarball should be a good one. 8-)
Comment 11 Daniel Holbach 2007-04-12 14:07:19 UTC
I patched 5.9.14 with 
   gnome-doc-prepare -f
   aclocal -I m4
   autoconf
   automake
in Ubuntu Feisty.

Now it builds again.