Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85446

Summary: gnucash-1.8.9 fails to compile with gcc 3.4.3-20050110 but can be compiled with gcc 3.3.5-20050130
Product: Gentoo Linux Reporter: steveb <steeeeeveee>
Component: [OLD] GCC PortingAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description steveb 2005-03-15 19:41:49 UTC
Emerging gnucash-1.8.9 with gcc 3.4.3-20050110, but can be compiled with gcc 3.3.5-20050130. This is the error I get:
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 97, Exitcode 2
!!! doc make failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,  
glibc-2.3.4.20040808-r1, 2.6.11.2 i686)  
=================================================================  
System uname: 2.6.11.2 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
Comment 1 SpanKY gentoo-dev 2005-03-15 19:45:00 UTC
that doesnt look gcc related ...
Comment 2 steveb 2005-03-15 19:50:58 UTC
You are right! I was to fast with my message. Damn! Overlooked that the other successfull build was on the notebook. On the system where gnucash is failing, it fails with the same message on gcc 3.3.5.20050130:
[...]
rm -f make-gnucash-patch.tmp
sed < make-gnucash-patch.in > make-gnucash-patch.tmp \
            -e 's:@-PERL-@:/usr/bin/perl:g'
chmod +x make-gnucash-patch.tmp
mv make-gnucash-patch.tmp make-gnucash-patch
rm -f make-gnucash-potfiles.tmp
sed < make-gnucash-potfiles.in > make-gnucash-potfiles.tmp \
            -e 's:@-PERL-@:/usr/bin/perl:g'
chmod +x make-gnucash-potfiles.tmp
mv make-gnucash-potfiles.tmp make-gnucash-potfiles
make[2]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9'
make[1]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9'
cd . \
  && makeinfo `echo gnucash-design.texinfo | sed 's,.*/,,'`
/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9/src/doc/design//engine.texinfo:253: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
 * econf: updating gnucash-1.8.9/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnucash-1.8.9/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnucash-docs-1.8.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnucash-docs-1.8.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --localstatedir=/var/lib
creating cache ./config.cache
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse  -L/usr/X11R6/lib) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse  -L/usr/X11R6/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for strdup... yes
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking whether build environment is sane... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for xsltproc... /usr/bin/xsltproc
checking for perl... /usr/bin/perl
checking for dbopen... no
checking for dbopen in -ldb1... yes
checking for db_185.h... yes
checking for db1/db.h... yes
checking for db4/db_185.h... yes
updating cache ./config.cache
creating ./config.status
creating gnucash-docs.spec
creating doc-tools/Makefile
creating help/Makefile
creating help/C/Makefile
creating help/de_DE/Makefile
creating guide/Makefile
creating guide/C/Makefile
creating Makefile
creating config.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-docs-1.8.4'
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 97, Exitcode 2
!!! doc make failed
!!! If you need support, post the topmost build error, NOT this status message.




Sorry for the to quick posting. Both gcc versions I have installed DO NOT work.
Comment 3 steveb 2005-03-15 20:03:31 UTC
I am an idiot! I saw that error before. Now I know why....

*** This bug has been marked as a duplicate of 74291 ***