Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264814 - jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name - breaks libusb-0* w/ USE=doc
Summary: jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-04 00:58 UTC by Dan Johnson
Modified: 2010-08-24 20:50 UTC (History)
1 user (show)

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


Attachments
The log of the failed build (libusb-0.1.12-r5-build.log,53.92 KB, text/plain)
2009-04-04 02:00 UTC, Dan Johnson
Details
93sgmltools-lite from the broken ~x86 box (93sgmltools-lite.BROKEN,578 bytes, text/plain)
2009-06-01 23:15 UTC, Neil Cathey
Details
93sgmltools-lite from the working ~amd64 box (93sgmltools-lite.WORKS,578 bytes, text/plain)
2009-06-01 23:16 UTC, Neil Cathey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Johnson 2009-04-04 00:58:48 UTC
When compiling the documentation in dev-libs/libusb-0.1.12-r5, many errors similar to the following are produced:
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is no
t a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:7:19:E: "X00C1" is no
t a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:8:18:E: "X00E2" is no
t a function name

along with:
jade:I: maximum number of errors (200) reached; change with -E option

As a result of this, the emerge fails.

Since this is part of the compilation of documentation, this only happens with USE=doc (I checked)

emerge --info:
Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: Linux-2.6.29-gentoo-i686-Intel-R-_Celeron-R-_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Apr 2009 04:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.7
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.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/kde-testing /usr/portage/local/johnmon2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdr cli cracklib crypt cups curl dbus directfb doc dri dvb dvd dvdr dvdread emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gnutls gpm gstreamer hal htmlhandbook iconv id3 ipv6 isdnlog jpeg kde kdeprefix kerberos kpathsea lame latex ldap libnotify mad midi mikmod mjpeg mmx mp3 mpeg mplayer mudflap mysql ncurses nls normalize nptl nptlonly ogg opengl openmp pam pcre pdf perl phonon plasma png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection replaygain sasl sdl session speex spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vim-syntax vorbis webkit win32codecs x264 x86 xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dan Johnson 2009-04-04 02:00:51 UTC
Created attachment 187258 [details]
The log of the failed build
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-04 17:40:12 UTC

*** This bug has been marked as a duplicate of bug 130881 ***
Comment 3 Dan Johnson 2009-04-04 18:12:26 UTC
The solution from https://bugs.gentoo.org/show_bug.cgi?id=130881 was to reemerge app-text/sgml-common. This did not fix this bug for me, although the symptoms look almost identical as that bug. Is there anything else that could be causing this?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-16 06:44:00 UTC
Did you follow the tetex/tex-live upgrade instructions completely? Something is definetely broken in that regard with your system.


Comment 5 Dan Johnson 2009-05-16 12:40:19 UTC
I have in the past, it was long enough ago that I don't remember if I followed it for this box. 

Let me know what other information would be useful to provide.

For the record, this is the output of "sudo texconfig conf":
=========================== version information ==========================

==================== binaries found by searching $PATH ===================
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/kde/4.2/sbin:/usr/kde/4.2/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
kpsewhich: /usr/bin/kpsewhich
updmap: /usr/bin/updmap
fmtutil: /usr/bin/fmtutil
texconfig: /usr/bin/texconfig
tex: /usr/bin/tex
pdftex: /usr/bin/pdftex
mktexpk: /usr/bin/mktexpk
dvips: /usr/bin/dvips
dvipdfm: /usr/bin/dvipdfm

=========================== active config files ==========================
//etc/texmf/dvips/config/config.ps
//etc/texmf/web2c/fmtutil.cnf
//etc/texmf/web2c/updmap.cfg
/usr/share/texmf/dvipdfm/config/config
/usr/share/texmf/tex/generic/config/pdftexconfig.tex
/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/web2c/texmf.cnf
/usr/share/texmf/xdvi/XDvi

============================= font map files =============================
psfonts.map: //var/lib/texmf/fonts/map/dvips/updmap/psfonts.map
pdftex.map: //var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map: //var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
dvipdfm.map: //var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map

=========================== kpathsea variables ===========================
TEXMFMAIN=/usr/share/texmf
TEXMFDIST=/usr/share/texmf-dist
TEXMFLOCAL=/usr/local/share/texmf
TEXMFSYSVAR=//var/lib/texmf
TEXMFSYSCONFIG=//etc/texmf
TEXMFVAR=/home/johnmon2/.texlive2008/texmf-var
TEXMFCONFIG=/home/johnmon2/.texlive2008/texmf-config
TEXMFHOME=/home/johnmon2/texmf
VARTEXFONTS=//var/cache/fonts
TEXMF={/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}
SYSTEXMF=//var/lib/texmf:/usr/share/texmf:/usr/local/share/texmf:/usr/share/texmf-site:/usr/share/texmf-dist
TEXMFDBS={!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist,!!/usr/share/texmf-doc}
WEB2C={/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/web2c
TEXPSHEADERS=.:{/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/dvips//
ENCFONTS=.:{/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{/home/johnmon2/.texlive2008/texmf-config,/home/johnmon2/.texlive2008/texmf-var,/home/johnmon2/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//

==== kpathsea variables from environment only (ok if no output here) ====
Comment 6 Neil Cathey 2009-06-01 23:14:12 UTC
I'm hitting this bug as well, but it's kinda weird.  I have two boxes, one ~amd64 and one ~x86, that are configured as identically as I can get them.  I even installed them from the ground up side-by-side (with the same portage tree shared between them).  However, libusb-0.1.12-r5 fails on the ~x86 box with the above mentioned errors, but it emerges fine on the ~amd64 box.  I found that if I take the /etc/env.d/93sgmltools-lite from the working ~amd64 box and put it on the broken ~x86 box, the broken ~x86 box starts working fine (at least until 93sgmltool-lite gets overwritten).  I haven't had a chance to see how this file is generated, but I'll attach them.
Comment 7 Neil Cathey 2009-06-01 23:15:15 UTC
Created attachment 193205 [details]
93sgmltools-lite from the broken ~x86 box
Comment 8 Neil Cathey 2009-06-01 23:16:25 UTC
Created attachment 193207 [details]
93sgmltools-lite from the working ~amd64 box
Comment 9 Dan Johnson 2010-08-24 20:50:49 UTC
No package claims to install that file, do you know what package installs/generates it? Removing it entirely fixed the problem for me. Since I don't actually have the sgmltools-lite package installed on this box, I tried removing it.

Unless some other ebuild generates that file, I believe removing it is the correct course of action, and that this bug is fixed.