Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97154 - gmime-2.1.15-r1 +doc build failure: No rule to make target `tmpl/*.sgml', needed by `sgml-build.stamp'.
Summary: gmime-2.1.15-r1 +doc build failure: No rule to make target `tmpl/*.sgml', nee...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-26 18:23 UTC by Ed Catmur
Modified: 2005-06-28 17:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2005-06-26 18:23:25 UTC
touch tmpl-build.stamp
make[3]: *** No rule to make target `tmpl/*.sgml', needed by `sgml-build.stamp'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/gmime-2.1.15-r1/work/gmime-2.1.15/docs/reference'
make[2]: *** [all-recursive] Error 1

Googling for the error throws up the gnome bug http://bugzilla.gnome.org/show_bug.cgi?id=156643 as linked above.
It seems to be a bug in gtk-doc.make that is triggered in a few corner cases.

Suggested fix: in src_unpack, add:

    sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \
        gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)"

This is the patch as in the above linked gnome bug. By patching docs/reference/Makefile.in we avoid having to run automake.

This fix works for me.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-06-28 17:07:39 UTC
Fixed in CVS, thanks!