Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263372 - [gnome-overlay] dev-util/gtk-doc-1.11 doesn't like spaces in filenames, causes build failure in gimp, atk
Summary: [gnome-overlay] dev-util/gtk-doc-1.11 doesn't like spaces in filenames, cause...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-03-22 15:25 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2009-03-22 15:53 UTC (History)
0 users

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


Attachments
gtk-doc-1.11-quote.patch (gtk-doc-1.11-quote.patch,324 bytes, patch)
2009-03-22 15:25 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-03-22 15:25:07 UTC
gtkdoc-common.pl in gtk-doc-1.11 (from Gnome overlay) does not quote filenames when passing them to cmp. Naturally, this causes build failures for all packages that use gtk-doc and have spaces in some of their filenames - for example, atk and gimp.

Example:
gtk-doc: Building XML
cd . && \
	gtkdoc-mkdb --module=libgimpbase --source-dir=../../libgimpbase --output-format=xml --expand-content-files="" --main-sgml-file=libgimpbase-docs.sgml --sgml-mode --output-format=xml
50% symbol docs coverage (98 symbols documented, 0 symbols incomplete, 97 not documented)
See libgimpbase-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
cmp: invalid --ignore-initial value `./xml/api-index-GIMP'
cmp: Try `cmp --help' for more information.
Error running 'cmp ./xml/api-index-GIMP 2.2.xml ./xml/api-index-GIMP 2.2.new' at /usr/share/gtk-doc/data/gtkdoc-common.pl line 60.
make[3]: *** [sgml-build.stamp] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.6/work/gimp-2.6.6/devel-docs/libgimpbase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.6/work/gimp-2.6.6/devel-docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.6/work/gimp-2.6.6'
make: *** [all] Error 2
 * 
 * ERROR: media-gfx/gimp-2.6.6 failed.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-03-22 15:25:57 UTC
Created attachment 185881 [details, diff]
gtk-doc-1.11-quote.patch

Patch from gnome svn to fix this issue.
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-03-22 15:53:03 UTC
(In reply to comment #1)
> Created an attachment (id=185881) [edit]
> gtk-doc-1.11-quote.patch
> 
> Patch from gnome svn to fix this issue.
> 

Added to overlay, thanks for reporting and the patch :)