GNOME Bugzilla – Bug 315320
installer failure for gtk-doc-manual-C.omf.out
Last modified: 2012-08-01 21:50:25 UTC
Please describe the problem: I'm seeing this build failure: for file in gtk-doc-manual-C.omf; do \ /home/fitzsim/bin/install-check -m 644 $file.out /home/fitzsim/install/share/omf/gtk-doc/$file; \ done /usr/bin/install: cannot stat `gtk-doc-manual-C.omf.out': No such file or directory make[3]: *** [install-data-hook-omf] Error 1 make[3]: Leaving directory `/home/fitzsim/build/gtk-doc-bld/help/manual/C' I'll attach a patch that fixes the problem. Steps to reproduce: 1. Attempt to build gtk-doc using JHBuild. Actual results: The build fails. Expected results: The build should succeed. Does this happen every time? Yes. Other information:
Created attachment 51846 [details] [review] fix for install target problem
It works OK here, and the omf.make file is a standard build file from scrollkeeper that is used in lots of apps. So I'm not sure what the problem is.
I'll close this as I think it was probably an odd problem on one machine. But reopen if you still have a problem.
Hi there, I'm reopening as I get this bug too when building with builddir != srcdir. This is due to the fact that omffiles are assumed to be below srcdir in omf.make. I think this is a bug in omf.make, and I don't think it can be solved elegantly in gtk-doc as omf.make hardcodes: scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out In the case of gtk-doc, builddir/help/manual/C/gtk-doc-manual-C.omf is generated from srcdir/help/manual/C/gtk-doc-manual-C.omf.in, so specifying "omffile = gtk-doc-manual-C.omf" will not find the file below srcdir like omf.make expects. The reason for generating gtk-doc-manual-C.omf is that it includes: <version identifier="@VERSION@" date="2005-08-01" description="GTK-Doc Manual"/> I'm going to attach an ugly workaround which will break if you update omf.make without applying the same changes. Bye,
Created attachment 82752 [details] [review] (ugly) workaround for out of tree builds
Created attachment 82755 [details] [review] fix for out of tree builds (proposed gnome-common patch)
Shouldn't this go into gtkdoc-common?
Reassigning to gnome-common.
Comment on attachment 82755 [details] [review] fix for out of tree builds (proposed gnome-common patch) Pushed to master as commit 1b2fb3fb47405908eb53d0db46329a64a1697a59, thanks.