Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33013 - quanta-3.2.0_beta1 fails because of docbook-XML errors
Summary: quanta-3.2.0_beta1 fails because of docbook-XML errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 08:59 UTC by Bernd Wurst
Modified: 2004-01-18 08:01 UTC (History)
1 user (show)

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


Attachments
my ebuild for quanta-3.2.0_beta1 (quanta-3.2.0_beta1.ebuild,1.11 KB, text/plain)
2003-11-09 00:13 UTC, Bernd Wurst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Wurst 2003-11-08 08:59:24 UTC
In forum, http://forums.gentoo.org/viewtopic.php?t=102787 (the last two postings) describes what I seen on my box.
Is this an upstream bug or can this be fixed in the ebuild? I did not find any any matching bug in kde/quanta bugtracker.

last output of emerge:
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc'
Making all in .
make[3]: Entering directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc'
Making all in quanta
make[3]: Entering directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc/quanta'
/usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
introduction.docbook:1: parser error : Missing encoding in text declaration
<?xml version="1.0" ?>
                    ^
index.docbook:160: error: Failure to process entity introduction
&introduction;
              ^
index.docbook:160: parser error : Entity 'introduction' not defined
&introduction;
              ^
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc/quanta'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93'
make: *** [all] Error 2

!!! ERROR: app-editors/quanta-3.2.0_beta1 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Bernd Wurst 2003-11-09 00:13:24 UTC
Created attachment 20461 [details]
my ebuild for quanta-3.2.0_beta1

I did a evil trick. :-)
In the ebuild, I inserted a src_compile() functions that deletes ${S}/doc
before compilig. This removes documentation, but fixes these compile errors.
I
do not know anything about docbook-xml, so I did not make any effort about
fixing the 'real' bug.
Because I ran into the same error as described in bug #32717, I also fixed
it
by sed-ing the appropriate file as describes in the forums/bug comments.

But this works, so I'm happy now.
Comment 2 Matthias Liertzer 2003-11-09 06:18:34 UTC
Same problem here on a "brand new" ~x86 gentoo.

emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test8)
=================================================================
System uname: 2.6.0-test8 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
                                                                        
                         neric/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/hdb6/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://trumpetti.atm.tut.fi/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gen
                                                                        
                         too"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa
gdbm berkdb slang readline arts tetex bonobo mysql X sdl gpm tcpd pam libwww
ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla ldap cdr
aalib acpi acpi 4linux apache2 cscope dga doc dvd faad fbcon gatos gd gphoto2
gtk2 gtkhtml imap innodb java joystick maildir mmx moznocompose moznoirc
nptl pic samba scanner sdk sse tiff usb vim-with-x xml -apm -svga -esd linguas_de"

Comment 3 Boef 2003-11-11 15:12:58 UTC
the fixed version of quanta is in the current CVS of kde.
in every first line of the docbook-files must 
	encoding="UTF-8"
been inserted.

http://forums.gentoo.org/viewtopic.php?p=642512#642512
Comment 4 Boef 2003-11-11 15:16:48 UTC
Look at:
http://forums.gentoo.org/viewtopic.php?p=642512#642512
for solution.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-01-18 08:01:25 UTC
I believe this is now fixed in _beta2 and higher.