Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 17698
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Julien Allanos (RETIRED) <dju@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build-docbook-catalog-4.2 new build-docbook-catalog-4.2 script text/plain Julien Allanos (RETIRED) 2003-03-17 12:18 0000 7.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17698 depends on: 52725 Show dependency tree
Bug 17698 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-17 12:16 0000
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 From Julien Allanos (RETIRED) 2003-03-17 12:18:12 0000 -------
Created an attachment (id=9525) [details]
new build-docbook-catalog-4.2 script

Here is the new build-docbook-catalog-4.2 script.

------- Comment #2 From Jeff Kowing 2003-04-08 21:31:06 0000 -------
Just reporting that I had success with the fix, 
http://bugs.gentoo.org/attachment.cgi?id=9525&action=view

Thanks.

------- Comment #3 From Mike Gardiner (RETIRED) 2003-09-07 06:36:08 0000 -------
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 From Aron Griffis (RETIRED) 2004-06-02 09:53:23 0000 -------
Better fix is in bug 52725, which rewrites the build-docbook-catalog script to
be version independent

------- Comment #5 From Mike Gardiner (RETIRED) 2004-07-21 21:43:43 0000 -------
As aron mentioned, this is fixed with his build-docbook-catalog script and bug
#52725, so we're over there now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug