Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17698 - app-text/docbook-xml-dtd-4.2 doesn't install properly
Summary: app-text/docbook-xml-dtd-4.2 doesn't install properly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 52725
Blocks:
  Show dependency tree
 
Reported: 2003-03-17 12:16 UTC by Julien Allanos (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
0 users

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


Attachments
new build-docbook-catalog-4.2 script (build-docbook-catalog-4.2,7.71 KB, text/plain)
2003-03-17 12:18 UTC, Julien Allanos (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Allanos (RETIRED) gentoo-dev 2003-03-17 12:16:52 UTC
The build-docbook-catalog-4.2 script in the files directory, is exactly the same
as build-docbook-catalog-4.1.2. This script is designed to add the docbook
entries to the general catalogs in /etc/xml. Of course, when installing 4.2
version, the script (which is called from the ebuild thanks to pkg_postinst())
tries to add entries of 4.1.2 files, which is incorrect, and may fail if 4.1.2
files aren't installed.
I have rewritten the build-docbook-catalog-4.2 script to match the new docbook
version. It seems to works properly, having or not 4.1.2/4.1.2-r3 installed.

Reproducible: Always
Steps to Reproduce:
emerge the current app-text/docbook-xml-dtd-4.2, which is actually marked as
unstable.


Actual Results:  
look at the output, it may have this :
>>> /usr/share/sgml/docbook/xml-dtd-4.2/calstblx.dtd

find: /usr/share/xml: No such file or directory
could not locate docbookx.dtd for DocBook XML
>>> Regenerating /etc/ld.so.cache...

Expected Results:  
>>> /usr/share/sgml/docbook/xml-dtd-4.2/calstblx.dtd

Found DocBook XML 4.2 DTD in /usr/share/sgml/docbook/xml-dtd-4.2
Found ISO DocBook entities in /usr/share/sgml/docbook/xml-dtd-4.2/ent
Found DocBook XSLT stylesheets in /usr/share/sgml/docbook/xsl-stylesheets-1.57.0
>>> Regenerating /etc/ld.so.cache...


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt cups encode gif jpeg libg++ mmx mpeg ncurses nls
pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang readline arts
svga java X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt kde motif
opengl aalib acpi alsa -apm cdr dvd esd flash gd gtk2 -gnome imap lcms maildir
mozilla mikmod perl sasl scanner tcltk tetex tiff truetype usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -falign-functions=4
-fforce-addr -ffast-math -mmmx -m3dnow"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -falign-functions=4
-fforce-addr -ffast-math -mmmx -m3dnow"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org"
FEATURES="sandbox ccache distcc"
Comment 1 Julien Allanos (RETIRED) gentoo-dev 2003-03-17 12:18:12 UTC
Created attachment 9525 [details]
new build-docbook-catalog-4.2 script

Here is the new build-docbook-catalog-4.2 script.
Comment 2 Jeff Kowing 2003-04-08 21:31:06 UTC
Just reporting that I had success with the fix, 
http://bugs.gentoo.org/attachment.cgi?id=9525&action=view

Thanks.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-09-07 06:36:08 UTC
okay, after i've had some recent investigations into docbook-xml-dtd i think this is valid, and we also need to version the build-docbook-catalog script, as the versions are slotted.

cc'ing me.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-06-02 09:53:23 UTC
Better fix is in bug 52725, which rewrites the build-docbook-catalog script to be version independent
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2004-07-21 21:43:43 UTC
As aron mentioned, this is fixed with his build-docbook-catalog script and bug #52725, so we're over there now.