Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238996 - app-text/docbook-sgml-utils-0.6.14 USE=jadetex - jade:/etc/sgml/catalog:16:8:E: cannot open "/etc/sgml/xml-docbook-4.3.cat" ( )
Summary: app-text/docbook-sgml-utils-0.6.14 USE=jadetex - jade:/etc/sgml/catalog:16:8:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 05:39 UTC by Alexey Shvetsov
Modified: 2020-10-11 10:33 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,65.36 KB, text/plain)
2008-09-29 05:40 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2008-09-29 05:39:56 UTC
Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sun, 28 Sep 2008 13:04:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
GENTOO_MIRRORS="ftp://192.168.0.60 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/kde-testing /usr/local/overlays/portage /usr/local/overlays/mpi /usr/local/overlays/cross"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac acl acpi addbookmarks additions administrator akode alias alsa amarok amd64 amr amrnb amrwb apache2 audiofile audit autoreplace bash-completion berkdb big-tables blas branding bzip2 cairo caps catalogs cdr chm cli cluster coda-client coda-server color-console connectionstatus contactnotes contentcache context cracklib crypt cscope css cups curl cviewer cvs cyrillic dbus decibel djvu doc double-precision dri dvd dvdr dvdread emboss emovix enca encode exif exiv2 extra extraengine fam fame fbcondecor ffmpeg fftw firefox fits flac fontconfig fortran fpx ftp fuse games gcc4 gdb gdbm geoip gif gimp git glitz gmp gnutls gphoto2 gpm grace graphics graphviz gs gsl gtk hal history humanities hyperestraier icon iconv ieee1394 imagemagick innodb inode inotify iproute2 ipv6 isdnlog ithreads jadetex java jbig jingle jpeg jpeg2k kde lame lapack latex lcms lesstif libffi libnotify libwww lm_sensors log logrotate lyx lzo mad maps mecab midi mikmod mjpeg mktemp mmx mng motif mp3 mpeg mpi mplayer mudflap multilib music mysql ncurses neXt nepomuk netcdf newspr nfs nls nova nptl nptlonly nsplugin nxclient odk ogg omega openal openexr opengl openmp oscar pam passwdqc pch pcre pdf perl pertty php plasma plotutils plugins png pnm postgres postscript povray ppds pppd profile pstricks publishers pulseaudio python q32 qhull qt-copy qt3 qt3support qt4 query-browser quicktime radio rar rdesktop readline reflection resolvconf rtc ruby samba sasl sbcl science sdl sensord session sftp slang slp smp solver soundex speex spell spl sqlite srt sse sse2 ssl ssse3 startup-notification subversion svg svnserve symlink sysfs taglib tcl tcpd teamarena teletext tetex tex4ht theora threads tiff tk translator truetype unicode urandom usb utempter valgrind vboxbfe vhosts vim vim-syntax vnc vorbis webdav webpresence wmf workbench wxwindows x264 x86emu xattr xcb xcomposite xen xetex xft xine xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ident version" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexey Shvetsov archtester gentoo-dev 2008-09-29 05:40:21 UTC
Created attachment 166731 [details]
build.log

build.log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-29 09:04:30 UTC
looks like you don't have app-text/docbook-xml-dtd-4.3 installed. Could you install it and try again ?

or remove the file since it should have been installed or remove by app-text/docbook-xml-dtd-4.3 and rerun build-docbook-catalog.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2008-09-29 12:29:12 UTC
(In reply to comment #2)
> looks like you don't have app-text/docbook-xml-dtd-4.3 installed. Could you
> install it and try again ?
> 
> or remove the file since it should have been installed or remove by
> app-text/docbook-xml-dtd-4.3 and rerun build-docbook-catalog.
> 
removing entry from 
/etc/sgml/catalog
solves this issue
while reinstalling dont help
Comment 4 Thomas Capricelli 2009-10-12 13:45:33 UTC
hello. Same problem here. I'm trying to install app-text/docbook-sgml-utils-0.6.14, and it fails with 

jade:/etc/sgml/xml-docbook-4.4.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.4/docbook.cat" (No such file or directory)

This is a new computer install. The only related stuff that has been installed (as a dependency) is app-text/docbook-xml-dtd-4.5

In /etc/sgml/catalog there are both  'CATALOG "/etc/sgml/xml-docbook-4.4.cat"' and the same with 4.5. I've removed the one with '4.4' and now it works...

Still, i have no clue where this 4.4 comes from .... there's a bug somewhere, i can confirm.
Comment 5 Maxim P. Dementiev 2010-12-23 12:14:45 UTC
I wonder why I can't resolve the package with

equery b /etc/sgml/catalog

Is it safe to delete this file?
What should I re-emerge after deleting of /etc/sgml/ folder?
Comment 6 Boney McCracker 2011-06-16 01:36:35 UTC
I just ran into this problem too.

app-text/docbook-sgml-utils-0.6.14-r1 fails to build, giving error:

jade://etc/sgml/xml-docbook-4.3.cat:2:8:E: cannot open "//usr/share/sgml/docbook/xml-dtd-4.3/docbook.cat" (No such file or directory)

/etc/sgml/catalog contains:

CATALOG "//etc/sgml/xml-docbook-4.3.cat"     <---- erroneous entry
CATALOG "/etc/sgml/sgml-ent.cat"
CATALOG "/etc/sgml/sgml-docbook.cat"
CATALOG "/etc/sgml/sgml-docbook-3.0.cat"
CATALOG "/etc/sgml/sgml-docbook-3.1.cat"
CATALOG "/etc/sgml/sgml-docbook-4.1.cat"
CATALOG "/etc/sgml/sgml-docbook-4.0.cat"
CATALOG "/etc/sgml/dsssl-docbook-stylesheets.cat"
CATALOG "/etc/sgml/xml-simple-docbook-4.1.2.4.cat"
CATALOG "/etc/sgml/xml-simple-docbook-1.0.cat"
CATALOG "/etc/sgml/xml-docbook-4.5.cat"
CATALOG "/etc/sgml/openjade-1.3.2.cat"

The file /etc/sgml/xml-docbook-4.3.cat exists, and it contains:

CATALOG "//etc/sgml/sgml-docbook.cat"
CATALOG "//usr/share/sgml/docbook/xml-dtd-4.3/docbook.cat"

However, app-text/docbook-xml-dtd:4.3 has been unmerged from this machine. I would think that the catalog entry and the catalog file would have been removed when the package was unmerged.

It seems like this problem has existed for some time now.

Work-around:  removed erroneous entry (as indicated above) and deleted the corresponding file (/etc/sgml/xml-docbook-4.3.cat).
Comment 7 Pacho Ramos gentoo-dev 2013-10-13 11:17:21 UTC
This looks like a configuration problem when coming from and old buggy release, not sure how to handle it (and if it deserves the effort as I don't know how many years have passed since that buggy older version corrupted the config)
Comment 8 mistbow 2020-10-11 09:06:38 UTC
The same bug with updates to LXC 4.0.4. and app-text/docbook-sgml-utils-0.6.14-r4

Calculating dependencies... done!
  app-text/docbook-sgml-utils-0.6.14-r3 pulled in by:
    app-emulation/lxc-4.0.4 requires >=app-text/docbook-sgml-utils-0.6.14-r2

SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
        jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
                -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
jade:/etc/sgml/xml-docbook-4.2.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat" (No such file or directory)
jade:/etc/sgml/xml-docbook-4.2.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat" (No such file or directory)
jade:/etc/sgml/xml-docbook-4.2.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat" (No such file or directory)
.....
jade:/etc/sgml/xml-docbook-4.2.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat" (No such file or directory)
make[2]: *** [Makefile:300: docbook2texi.html] Error 1
jade:/etc/sgml/xml-docbook-4.2.cat:2:8:E: cannot open "/usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat" (No such file or directory)
make[2]: *** [Makefile:300: introduction.html] Error 1
make[2]: *** [Makefile:300: backend-spec.html] Error 1
make[2]: *** [Makefile:300: index.html] Error 1
make[2]: *** [Makefile:300: helpers.html] Error 1
make[2]: *** [Makefile:300: docbook2man.html] Error 1
make[2]: *** [Makefile:300: frontend-spec.html] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14/doc/HTML'
make[1]: *** [Makefile:157: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14/doc'
make: *** [Makefile:200: all-recursive] Error 1
 * ERROR: app-text/docbook-sgml-utils-0.6.14-r4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-text/docbook-sgml-utils-0.6.14-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14'
 * S: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14'

>>> Failed to emerge app-text/docbook-sgml-utils-0.6.14-r4, Log file:

>>>  '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/temp/build.log'

 * Messages for package app-text/docbook-sgml-utils-0.6.14-r4:

 * ERROR: app-text/docbook-sgml-utils-0.6.14-r4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-text/docbook-sgml-utils-0.6.14-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14'
 * S: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r4/work/docbook-utils-0.6.14'
Comment 9 mistbow 2020-10-11 10:33:50 UTC
fixed by copying /usr/share/sgml/docbook/xml-dtd-4.3 catalog to missing 4.2
Thanks!