When I start yelp it print /usr/share/yelp/info.xml:0: error : unterminated entity reference development tools in console. Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686) ================================================================= System uname: 2.6.16-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -mmmx -msse -msse2 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" LANG="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/clotho/portage" SYNC="rsync://140.211.166.165/gentoo-portage" USE="x86 X aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cjk cli crypt cscope curl dbus dts dvd emacs emboss esd exif expat fam flac foomaticdb gdbm glut gnome gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog java jpeg jpeg2k lcms libg++ libwww mad matroska mikmod mmx mmxext mng mozilla mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sasl session spell spl sse sse2 ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xorg xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Curious, can you attach info.xml to this bug. Also, have you tried to re-emerge yelp and running it again.
I got the same error, but re-emerging yelp fixed it for me.
(In reply to comment #2) > I got the same error, but re-emerging yelp fixed it for me. Scrub that. I still get the error, there was just a 5 second delay before it appeared! Here is my emerge --info. I will attach my /usr/share/yelp/info.xml file. Gentoo Base System version 1.12.1 Portage 2.1 (default-linux/x86/no-nptl/2.4, gcc-4.1.1/vanilla, glibc-2.3.6-r4, 2.6.16-ija1 i686) ================================================================= System uname: 2.6.16-ija1 i686 AMD Duron(tm) processor dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86 ~amd64 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/work/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apm arts avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups curl doc dri eds emboss encode expat firefox flac flash foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms ldap libg++ libwww mad mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls no-helper nsplugin offensive ogg opengl oss pam pcre pdflib perl plotutils png pppd python qemu-fast qt quicktime readline reflection samba sdl session slang softmmu spell spl ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_radeon video_cards_ati video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 89126 [details] Requested /usr/share/yelp/info.xml
(In reply to comment #1) > Curious, can you attach info.xml to this bug. > > Also, have you tried to re-emerge yelp and running it again. > Sorry for late reply. I re-emerge yelp several times and also clear conf files in home dir, but it don't help. This error still occur but a little different. /usr/share/yelp/info.xml:0: error : unterminated entity reference UML for Emacs /usr/share/yelp/info.xml:0: error : unterminated entity reference development tools Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM Unmatched element: SM
Created attachment 89289 [details] My info.xml This is my info.xml
fixed in yelp-2.14.2-r1
(In reply to comment #7) > fixed in yelp-2.14.2-r1 > Not yet fixed, when I update to yelp-2.14.2-r1, it still print following message: /usr/share/yelp/info.xml:0: error : unterminated entity reference UML for Emacs
It still not completely fixed, I will try to fix it. This is the entries in info that cause the bug: Programming & development tools * GDBM: (gdbm). The GNU database manager. * cogre: (cogre). Graphs & UML for Emacs It seems that ampersand is not handled correctly. The first one split into Programming and development tools in yelp 2.14.2. The patch in portage fixed this, but the second one still not being fixed. In yelp, it displays as cogre Graphs and the string behind ampersand is not shown. It also print error message in the console as following. /usr/share/yelp/info.xml:0: error : unterminated entity reference UML for Emacs
Created attachment 90731 [details, diff] New ampersand escaping patch This patch fix error in parse xml when ampersand also exists in info description. Tested in my machine.
I have a question with the way to deal with ampersand. When we find ampersand also used in other field of info dir, we should update our patch to resolve it. Is there any way to completely resolve similar problems?
As yelp is update to 2.16.x, this is no longer valid.