Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331033 - dev-db/postgresql-docs-9.0_beta3 fails to emerge, because openjade thinks that "X00E1" is not a function name
Summary: dev-db/postgresql-docs-9.0_beta3 fails to emerge, because openjade thinks tha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 13:07 UTC by Juergen Rose
Modified: 2011-03-21 02:09 UTC (History)
4 users (show)

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


Attachments
/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/temp/build.log (build.log,52.73 KB, text/plain)
2010-08-04 08:35 UTC, Juergen Rose
Details
/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/temp/environment (environment,119.70 KB, text/plain)
2010-08-04 08:36 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-08-03 13:07:18 UTC
'emerge postgresql-docs' fails with:
...
>>> Compiling source in /var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/work/postgresql-9.0beta3 ...
make -j1 html 
make -C src html
make[1]: Entering directory `/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/work/postgresql-9.0beta3/doc/src'
make -C sgml html
make[2]: Entering directory `/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/work/postgresql-9.0beta3/doc/src/sgml'
{ \
          echo "<!entity version \"9.0beta3\">"; \
          echo "<!entity majorversion \"9.0\">"; \
        } > version.sgml
"/usr/bin/perl" ./mk_feature_tables.pl YES ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-supported.sgml
"/usr/bin/perl" ./mk_feature_tables.pl NO ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
openjade  -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D . -c /usr/share/sgml/stylesheets/dsssl/docbook/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
openjade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name
openjade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:7:19:E: "X00C1" is not a function name
...
openjade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:67:17:E: "X00FF" is not a function name
make[2]: *** [HTML.index] Error 1


Reemerging sgml-common and docbook-sgml-utils did not solve the problem.

Reproducible: Always




root@inspironM12:/(42)# emerge --info =dev-db/postgresql-docs-9.0_beta3
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32-gentoo-r3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r3-i686-Intel-R-_Atom-TM-_CPU_Z520_@_1.33GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Jul 2010 08:00:20 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 cadsoft"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j1"
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="/var/lib/layman/java-overlay /var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/zugaina /usr/local/portage /var/lib/cpan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X Xaw3d a52 aac abiword acl acpi admin afs alsa ao apache2 applet archive arpack asf aspell assistant audacious audiofile automap automount bash-completion beagle berkdb blas blast bluetooth boo boost branding bzip2 cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbase dbi dbm dbus dell designer devhelp device-mapper dga dia djvu doc dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds elf emacs emboss empathy encode epiphany evo examples exif expat extensions extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm gedit geoip geolocation geos gif gimp ginac git glade glib glitz gml gmp gmtsuppl gnokii gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hdri hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kdrive kerberos kpathsea kvm ladspa lame lapack laptop latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper mapnik math matroska mikmod mmx mmxext mng modules mono moonlight motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pango pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qemu qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl secure-delete semantic-desktop server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora threads thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev                synaptics               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="psb intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root@inspironM12:/(43)# emerge -pqv =dev-db/postgresql-docs-9.0_beta3
[ebuild     U ] dev-db/postgresql-docs-9.0_beta3 [9.0_beta2]

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-08-03 15:41:28 UTC
Come, on, build.log end environemtn files, you know the procedure!
Comment 2 Juergen Rose 2010-08-04 08:35:25 UTC
Created attachment 241379 [details]
/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/temp/build.log
Comment 3 Juergen Rose 2010-08-04 08:36:32 UTC
Created attachment 241381 [details]
/var/tmp/portage/dev-db/postgresql-docs-9.0_beta3/temp/environment
Comment 4 Juergen Rose 2010-08-04 09:36:50 UTC
I suppose, that my texlive or docbook installation is anyway corrupted. But all what I tried: including 'emerge -uvDNe texlive', 'emerge -1 jadetex', 'emerge -v1 openjade' or 'for p in `qlist -ICv dtd` ; do emerge -v1 "=$p" ; done'
did not remove the problem.
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-08-04 15:36:18 UTC
Informations provided
Comment 6 Juergen Rose 2010-09-01 15:36:56 UTC
Now I have the issue with postgresql-docs-9.0_beta4, which blocks the installation of postgresql-base, postgresql-server and cyrus-sasl, apr-util, redland, gdal, libdbi-drivers, qt-sql and xemacs depending on postgres.
Comment 7 Aaron W. Swenson gentoo-dev 2010-09-02 11:01:00 UTC
This isn't a PgSQL bug.

The problem lies in the following file:
  /usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent

Which belongs to:
  app-text/docbook-xml-dtd
Comment 8 Patrick Lauer gentoo-dev 2010-09-03 08:33:21 UTC
(In reply to comment #6)
> Now I have the issue with postgresql-docs-9.0_beta4, which blocks the
> installation of postgresql-base, postgresql-server and cyrus-sasl, apr-util,
> redland, gdal, libdbi-drivers, qt-sql and xemacs depending on postgres.
> 

For now you *could* just do USE="-doc" - with 9.0 final the docs will be properly bundled in again, so for the next month or two you'd have a little less documentation installed.
Comment 9 Juergen Rose 2010-09-06 18:35:36 UTC
Hi Aaron and Patrick,

thanks for your hints. If I set USE=-doc for postgresql-base and postgresql-server, I can emerge postgresql-base and postgresql-server.
xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent does not belong to app-text/docbook-xml-dtd
but to docbook-xml-simple-dtd. So I will open a new bug to docbook-xml-simple-dtd.
Comment 10 Aaron W. Swenson gentoo-dev 2010-09-20 23:30:22 UTC
Give the 9.0.0 ebuild a shot.
Comment 11 Jeremy Stent 2010-09-21 17:05:25 UTC
From http://www.mail-archive.com/docbook-apps@lists.oasis-open.org/msg00730.html
"Thank you everyone who replied - I've got it all working without errors.

The crux of the matter is that the catalog for SGML ISO entities MUST 
appear in the SGML_CATALOG_FILES path BEFORE the XML DocBook catalog (that 
contains entries for the XML ISO entities)"

On my machine this is contained in /etc/env.d/93sgmltools-lite.
Comment 12 Disaster 2010-09-27 10:11:58 UTC
would you please post your correct /etc/env.d/93sgmltools-lite 

thanks
Comment 13 Aaron W. Swenson gentoo-dev 2011-01-02 14:27:20 UTC
Can this bug be closed now? It appears the issue is not in PostgreSQL, but with the ordering of /etc/env.d/93sgmltools-lite.
Comment 14 Aaron W. Swenson gentoo-dev 2011-03-21 02:09:00 UTC
Closing this bug. dev-db/postgresql-docs-9.0.3-r1 resolves the issue by eliminating the dependency and using what's already provided by upstream.