The compilation goes through fine up to the part of compiling the help files. I am getting namespace errors. The error message is in "Actual Results". I have Reproducible: Always Steps to Reproduce: 1. emerge gnucash Actual Results: Making all in help make[2]: Entering directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4/help' Making all in C make[3]: Entering directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4/help/C' for file in gnucash-help-C.omf; do \ scrollkeeper-preinstall /usr/share/gnome/help/gnucash/C/gnucash-help.xml ./$file $file.out; \ done touch omf_timestamp /bin/sh ../../mkinstalldirs gnucash-help; \ for file in gnucash-help.xml; do \ xsltproc -o gnucash-help/ --param use.id.as.filename 1 \ ../../xsl/general-customization.xsl ./$file; \ done mkdir gnucash-help compilation error: file ../../xsl/titlepage2.xsl line 7 element template xsl:template: error duplicate name 'book.titlepage' compilation error: file ../../xsl/titlepage2.xsl line 115 element template xsl:template: error duplicate name 'article.titlepage' ../../xsl/toc.xsl:10: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="generate.book.toc" select="1" doc:type="boolean"/> ^ ../../xsl/toc.xsl:13: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="generate.article.toc" select="1" doc:type="boolean"/> ^ ../../xsl/toc.xsl:16: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="generate.part.toc" select="1" doc:type="boolean"/> ^ ../../xsl/toc.xsl:19: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="chapter.autolabel" select="1" doc:type="boolean"/> ^ ../../xsl/toc.xsl:22: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="section.autolabel" select="1" doc:type ="boolean"/> ^ ../../xsl/toc.xsl:26: namespace error : Namespace prefix doc for type on param is not defined aram name="section.label.includes.component.label" select="1" doc:type="boolean" ^ ../../xsl/toc.xsl:29: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="use.id.as.filename" select="1" doc:type='boolean'/> ^ ../../xsl/copyright.xsl:10: namespace error : Namespace prefix doc for type on param is not defined<xsl:param name="make.year.ranges" select="1" doc:type="boolean"/> ^ ../../xsl/admonitions.xsl:18: namespace error : Namespace prefix doc for type on param is not defined <xsl:param name="graphic.default.extension" select="'png'" doc:type="string"/> ^ make[3]: *** [convert-html] Error 5 make[3]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4/help/C' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4' make: *** [all-recursive-am] Error 2 !!! ERROR: app-office/gnucash-1.8.9 failed. !!! Function src_compile, Line 83, Exitcode 2 !!! doc make failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Emerge successfully. Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 13 2004, 02:51:12)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.9.3, 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r1 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.llarian.net/ http://mirror.tucdemonic.org/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ http://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X aalib acl aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo caps cdr cluster crypt cups curl dba dedicated dga directfb divx4linux doc eds emacs emacs-w3 encode esd ethereal evo f77 fam fastcgi fbcon flash foomaticdb fortran freetds gb gd gdbm ggi gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib innodb jabber java jikes joystick jpeg junit libg++ libgda libwww mad mbox mcal mikmod mmx motif mozilla mpeg mpi msn mule mysql nas ncurses nls nptl odbc oggvorbis opengl oscar oss pam pdflib perl plotutils png prelude python quicktime readline ruby samba sdl session slang snmp spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype unicode usb videos x86 xml xml2 xmms xosd xv xvid yahoo zlib"
Confirmed; same error here.
This seems to be an incompatibility problem with the latest version of libxslt. I was able to emerge gnucash 1.8.9 by reverting to libxslt-1.1.9-r1
Mike, libxslt seems to be your area.
The missing namespace declarations aren't actually the real error, which complains about multiple definitions: compilation error: file ../../xsl/titlepage2.xsl line 7 element template xsl:template: error duplicate name 'book.titlepage' compilation error: file ../../xsl/titlepage2.xsl line 115 element template xsl:template: error duplicate name 'article.titlepage' This is because the help files include xsl/general-customization.xsl, which has: !-- Including new title page stylesheets for customizing the placement of tags in the title page. --> <!-- This one is autogenerated from titlepage.xml --> <xsl:include href="titlepage.xsl"/> <!-- This one was edited by hand, to make titlepage a separate chunk for book and aricle --> <xsl:include href="titlepage2.xsl"/> Both titlepage.xsl and titlepage2.xsl define the same schema, which wasn't a problem in older (1.1.9) libxslt (I'm guessing it just used the first definition). In newer libxslt versions, this is an error - and that's why the build bails out. The following patch should fix things, it just comments out the extra definition, titlepage2.xsl. --- gnucash-docs-1.8.4/xsl/general-customization.xsl 2004-12-27 09:47:50.563368424 +0800 +++ gnucash-docs-1.8.4-patched/xsl/general-customization.xsl 2004-12-27 10:54:33.354851624 +0800 @@ -16,9 +16,9 @@ <xsl:include href="titlepage.xsl"/> <!-- This one was edited by hand, to make titlepage a separate chunk - for book and aricle --> + for book and aricle <xsl:include href="titlepage2.xsl"/> - +--> <!-- Make a separate titlepage and link it behind the main page. --> <xsl:param name="generate.titlepage.link" select="1"/>
Is it possible to have that pach added to the portage tree?
*** Bug 85446 has been marked as a duplicate of this bug. ***
Not sure what this is worth, but I just hit that same error during a revdep-rebuild. Hadn't seen this bug report yet, and went ahead replacing DOC_VER="1.8.4" by DOC_VER="1.8.5" in the ebuild, which seemed to fix the problem for me... As 1.8.9 is the latest stable version, other people are experiencing this problem, including on fresh Gentoo installs (see here: http://forums.gentoo.org/viewtopic-p-2196648.html). Maybe it would be a good idea to put a fix in Portage... ;-)
changing DOC_VER to "1.8.5" fixes problem for me as well. Would be nice to see the fix beeing pushed to portage, since it is such a easy one.
My apologies for the delay on this one. I'm reassigning to seemant, as he's the maintainer of gnucash and this isn't so much about libxslt anymore as it is with bumping the DOC_VER. Thanks guys.
I've changed the DOCS_VER in 1.8.9, but I would really like to move 1.8.10 to stable (or 1.8.11 to stable around April 15). Can I have volunteers to put either/both through their paces and let me know. Please file a new bug and assign to me for that.
I can confirm, that app-office/gnucash-1.8.10 works on my system. Will try now 1.8.11. Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11.4 i686) ================================================================= System uname: 2.6.11.4 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 13 2005, 16:32:57)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.2.3-r5, 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=64 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=64 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/gentoo.overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex GAPING_SECURITY_HOLE X aac aalib accessibility acl acpi alsa apm arts artswrappersuid artworkextra audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr clamav crypt cups curl dga directfb divx4linux dmx dv dvd emboss encode erandom esd fam faxonly fbcon flac font-server foomaticdb fortran gd gdbm ggi gif gimp gimpprint gnokii gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc icc-pgo ieee1394 imagemagick imlib ipv6 irda jack java jikes jpeg jpeg2k junit kde kdeenablefinal kerberos krb4 lcms ldap libg++ libwww live lm_sensors mad maildir md5sum mikmod mmx motif mozilla mp3 mpeg nas ncurses nls nntp nptl nvidia oav oggvorbis openexr opengl oss pam pda pdflib perl pic png ppds python qt quicktime rdesktop readline real rtc ruby samba scanner sdl skey slang slp sms snmp socks5 speex spell sqlite sqlite3 sse ssl svg svga svgz symlink sysfs t1lib tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb wmf xface xine xml xml2 xmms xpm xprint xrandr xscreensaver xv xvid zeroconf zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
app-office/gnucash-1.8.11 works as well with the same configuration as mentioned bevore.