<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>95323</bug_id>
          
          <creation_ts>2005-06-07 02:13 0000</creation_ts>
          <short_desc>dev-cpp/libxmlpp-2.8.0* contains an errant &apos;;&apos; in validators/validator.h</short_desc>
          <delta_ts>2005-06-07 07:09:50 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Portage Development</product>
          <component>Tools</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jakub@gentoo.org</reporter>
          <assigned_to>ka0ttic@gentoo.org</assigned_to>
          <cc>gnome@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-06-07 02:13:08 0000</bug_when>
            <thetext>if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib   -pedantic -ansi
-Wall -I/usr/include/libxml++-2.6 -I/usr/include/libxml2
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-MT herds.o -MD -MP -MF &quot;.deps/herds.Tpo&quot; -c -o herds.o herds.cc; \
then mv -f &quot;.deps/herds.Tpo&quot; &quot;.deps/herds.Po&quot;; else rm -f &quot;.deps/herds.Tpo&quot;;
exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib   -pedantic -ansi
-Wall -I/usr/include/libxml++-2.6 -I/usr/include/libxml2
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-MT pkgquery.o -MD -MP -MF &quot;.deps/pkgquery.Tpo&quot; -c -o pkgquery.o pkgquery.cc; \
then mv -f &quot;.deps/pkgquery.Tpo&quot; &quot;.deps/pkgquery.Po&quot;; else rm -f
&quot;.deps/pkgquery.Tpo&quot;; exit 1; fi
In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:22,
                 from xmlparser.hh:35,
                 from xml.hh:33,
                 from herds_xml.hh:30,
                 from pkgquery.hh:32,
                 from pkgquery.cc:28:
/usr/include/libxml++-2.6/libxml++/validators/validator.h:25: error: extra `;&apos;
make[2]: *** [pkgquery.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/herdstat-1.1.1_rc6/work/herdstat-1.1.1_rc6/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/herdstat-1.1.1_rc6/work/herdstat-1.1.1_rc6&apos;
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge =app-portage/herdstat-1.1.1_rc6




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Sempron(tm)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  3 2005, 09:59:34)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O2 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache collision-protect distlocks maketest
sandbox sfperms strict test userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
ftp://ftp.fi.muni.cz/pub/linux/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
LINGUAS=&quot;en&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 acpi alsa apache2 apm bash-completion berkdb crypt fbcon fortran ftp gd
gdbm gif imap innodb jpeg libg++ libwww maildir mcal mmx mp3 mpeg mysql ncurses
nls nptl nptlonly pam pdflib perl php png pnp python readline sasl ssl tcpd tiff
unicode xml xml2 zlib linguas_en userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-06-07 04:57:51 0000</bug_when>
            <thetext>The error looks like it is coming from a libxmlpp header.  Please include the
version of libxmlpp you are using.  Might as well include glib/glibmm versions
as well for the hell of it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-06-07 05:01:10 0000</bug_when>
            <thetext>Ok, here we go:

dev-cpp/libxmlpp-2.8.0-r1
dev-libs/glib-2.6.3
dev-cpp/glibmm-2.4.7-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-06-07 05:16:23 0000</bug_when>
            <thetext>OK, to save your bug-hunting time, it works with dev-cpp/libxmlpp-2.10.0-r1. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-06-07 06:20:29 0000</bug_when>
            <thetext>Only took me about 2 minutes to find the bug, so no worries :)

$ diff -u libxml++-2.8.0/libxml++/validators/validator.h
libxml++-2.10.0/libxml++/validators/validator.h 
--- libxml++-2.8.0/libxml++/validators/validator.h	2004-05-28 17:33:03.000000000
-0400
+++ libxml++-2.10.0/libxml++/validators/validator.h	2004-11-30
02:20:34.000000000 -0500
@@ -22,7 +22,7 @@
 
 extern &quot;C&quot; {
   struct _xmlValidCtxt;
-};
+}
 
 namespace xmlpp {
 

I&apos;ll do an -r2 shortly.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-06-07 06:58:43 0000</bug_when>
            <thetext>2.8.0-r2 is in CVS.  Thanks for the bug Jakub.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-06-07 07:09:50 0000</bug_when>
            <thetext>That was fast, thanks too!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>