Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95323 - dev-cpp/libxmlpp-2.8.0* contains an errant ';' in validators/validator.h
Summary: dev-cpp/libxmlpp-2.8.0* contains an errant ';' in validators/validator.h
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 02:13 UTC by Jakub Moc (RETIRED)
Modified: 2005-06-07 07:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2005-06-07 02:13:08 UTC
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 ".deps/herds.Tpo" -c -o herds.o herds.cc; \
then mv -f ".deps/herds.Tpo" ".deps/herds.Po"; else rm -f ".deps/herds.Tpo";
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 ".deps/pkgquery.Tpo" -c -o pkgquery.o pkgquery.cc; \
then mv -f ".deps/pkgquery.Tpo" ".deps/pkgquery.Po"; else rm -f
".deps/pkgquery.Tpo"; 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 `;'
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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/herdstat-1.1.1_rc6/work/herdstat-1.1.1_rc6'
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="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks maketest
sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
ftp://ftp.fi.muni.cz/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="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"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-06-07 04:57:51 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-07 05:01:10 UTC
Ok, here we go:

dev-cpp/libxmlpp-2.8.0-r1
dev-libs/glib-2.6.3
dev-cpp/glibmm-2.4.7-r1
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-07 05:16:23 UTC
OK, to save your bug-hunting time, it works with dev-cpp/libxmlpp-2.10.0-r1. 
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2005-06-07 06:20:29 UTC
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 "C" {
   struct _xmlValidCtxt;
-};
+}
 
 namespace xmlpp {
 

I'll do an -r2 shortly.
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2005-06-07 06:58:43 UTC
2.8.0-r2 is in CVS.  Thanks for the bug Jakub.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-06-07 07:09:50 UTC
That was fast, thanks too!