GNOME Bugzilla – Bug 627641
Build of docs/tutorial fails with gtk+-2.21.6 on Slackware 13.1
Last modified: 2010-08-22 19:03:18 UTC
db2html does not set the output directory, causing the build to fail. $ diff -du Makefile.orig Makefile --- Makefile.orig 2010-08-22 15:05:17.769111059 +0300 +++ Makefile 2010-08-22 15:05:50.537111061 +0300 @@ -573,7 +573,7 @@ html: gtk-tut.sgml if test -w $(srcdir); then \ (cd $(srcdir); \ - db2html gtk-tut.sgml; \ + db2html -o gtk-tut gtk-tut.sgml; \ test -d html && rm -r html; \ mv gtk-tut html; \ mkdir html/images; \ $ diff -du Makefile.in.orig Makefile.in --- Makefile.in.orig 2010-08-22 15:12:53.564111061 +0300 +++ Makefile.in 2010-08-22 15:13:25.981111060 +0300 @@ -573,7 +573,7 @@ @HAVE_DOCBOOK_TRUE@html: gtk-tut.sgml @HAVE_DOCBOOK_TRUE@ if test -w $(srcdir); then \ @HAVE_DOCBOOK_TRUE@ (cd $(srcdir); \ -@HAVE_DOCBOOK_TRUE@ db2html gtk-tut.sgml; \ +@HAVE_DOCBOOK_TRUE@ db2html -o gtk-tut gtk-tut.sgml; \ @HAVE_DOCBOOK_TRUE@ test -d html && rm -r html; \ @HAVE_DOCBOOK_TRUE@ mv gtk-tut html; \ @HAVE_DOCBOOK_TRUE@ mkdir html/images; \ # Output of failing command: if test -w .; then \ (cd .; \ db2html gtk-tut.sgml; \ test -d html && rm -r html; \ mv gtk-tut html; \ mkdir html/images; \ cp images/*.png html/images); \ fi Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /home/jefbed/Downloads/gtk+-2.21.6/docs/tutorial/gtk-tut.sgml Done. mv: cannot stat `gtk-tut': No such file or directory mkdir: cannot create directory `html/images': No such file or directory cp: target `html/images' is not a directory make: *** [html] Error 1 # Output of patched command: if test -w .; then \ (cd .; \ db2html -o gtk-tut gtk-tut.sgml; \ test -d html && rm -r html; \ mv gtk-tut html; \ mkdir html/images; \ cp images/*.png html/images); \ fi Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /home/jefbed/Downloads/gtk+-2.21.6/docs/tutorial/gtk-tut.sgml Done.
*** This bug has been marked as a duplicate of bug 623150 ***