Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47320

Summary: libglade-0.17-r6 fails to compile ( parser.h is missing )
Product: Gentoo Linux Reporter: Nuno Alexandre <ikaro>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nuno Alexandre 2004-04-09 03:25:56 UTC
emerge log for this specific merge is available online at this address:
http://ikaro.homepage.dk/libglade.html


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




System uname: 2.6.5-tribal-2 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.4
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /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 ccache cvs digest sanbox sandbox"
MAKEOPTS="-j4"
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="3dnow X Xaw3d aalib alsa apache2 apm avi berkdb bindist cdr composite crypt
cups directfb emacs encode esd fbcon foomaticdb gd gd-external gdbm ggi gif
gnome gpm gtk gtk2 imlib ipv6 java jikes jpeg ldap libg++ libwww mad maildir
mikmod mmx, motif mozilla mpeg mysql mysql, ncurses oggvorbis opengl oss pam
pdflib perl php pic png pnp python quicktime readline sasl sdl slang spell sse
ssl svga tcltk tcltk, tcpd truetype video_cards_nvidia x86 xml xml2 xmms xpm xv
zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-04-09 09:02:22 UTC
the dep for parser.h (libxml) is in the ebuild, the include statement is there. You tell me how come parser.h doesn't exist (check if it does) ?

And please attach output, we can't rely on outside hosts.
Comment 2 Nuno Alexandre 2004-04-09 14:07:40 UTC
Here are some errors:

sed: can't read ./intl/po2tbl.sed.in: No such file or directory
./configure: line 10098: ./po/POTFILES.in: No such file or directory



glade-sax.c:37:20: parser.h: No such file or directory


glade-sax.c:251: warning: type defaults to `int' in declaration of `CHAR'
glade-sax.c:251: error: syntax error before '*' token
glade-sax.c: In function `gladeStartElement':
glade-sax.c:253: error: `state' undeclared (first use in this function)
glade-sax.c:253: error: (Each undeclared identifier is reported only once
glade-sax.c:253: error: for each function it appears in.)
glade-sax.c:255: error: `name' undeclared (first use in this function)
mv -f .libs/glade-init.lo glade-init.lo
glade-sax.c: At top level:
glade-sax.c:363: warning: type defaults to `int' in declaration of `CHAR'
glade-sax.c:363: error: syntax error before '*' token
glade-sax.c: In function `gladeEndElement':
glade-sax.c:364: error: `state' undeclared (first use in this function)
glade-sax.c:375: error: `name' undeclared (first use in this function)
glade-sax.c: At top level:
glade-sax.c:616: warning: type defaults to `int' in declaration of `CHAR'
glade-sax.c:616: error: syntax error before '*' token
glade-sax.c: In function `gladeCharacters':
glade-sax.c:620: error: `state' undeclared (first use in this function)
glade-sax.c:625: error: `len' undeclared (first use in this function)
glade-sax.c:626: error: `chars' undeclared (first use in this function)
glade-sax.c: At top level:
glade-sax.c:629: error: syntax error before "gladeGetEntity"
glade-sax.c:629: warning: type defaults to `int' in declaration of `CHAR'
glade-sax.c:629: error: syntax error before '*' token
glade-sax.c:629: warning: return type defaults to `int'
glade-sax.c: In function `gladeGetEntity':
glade-sax.c:630: warning: implicit declaration of function `xmlGetPredefinedEntity'
glade-sax.c:630: error: `name' undeclared (first use in this function)
glade-sax.c: At top level:
glade-sax.c:657: error: syntax error before "gladeSAXParser"
glade-sax.c:657: warning: type defaults to `int' in declaration of `gladeSAXParser'
glade-sax.c:659: warning: excess elements in scalar initializer
glade-sax.c:659: warning: (near initialization for `gladeSAXParser')
glade-sax.c:660: warning: excess elements in scalar initializer
glade-sax.c:660: warning: (near initialization for `gladeSAXParser')
glade-sax.c:661: warning: excess elements in scalar initializer
glade-sax.c:661: warning: (near initialization for `gladeSAXParser')
glade-sax.c:662: warning: excess elements in scalar initializer
glade-sax.c:662: warning: (near initialization for `gladeSAXParser')
glade-sax.c:663: error: `getEntitySAXFunc' undeclared here (not in a function)
glade-sax.c:663: warning: excess elements in scalar initializer
glade-sax.c:663: warning: (near initialization for `gladeSAXParser')
glade-sax.c:663: error: syntax error before "gladeGetEntity"
glade-sax.c:664: warning: excess elements in scalar initializer
glade-sax.c:664: warning: (near initialization for `gladeSAXParser')
glade-sax.c:665: warning: excess elements in scalar initializer
glade-sax.c:665: warning: (near initialization for `gladeSAXParser')
glade-sax.c:666: warning: excess elements in scalar initializer
glade-sax.c:666: warning: (near initialization for `gladeSAXParser')
glade-sax.c:667: warning: excess elements in scalar initializer
glade-sax.c:667: warning: (near initialization for `gladeSAXParser')
glade-sax.c:668: warning: excess elements in scalar initializer
glade-sax.c:668: warning: (near initialization for `gladeSAXParser')
glade-sax.c:669: warning: excess elements in scalar initializer
glade-sax.c:669: warning: (near initialization for `gladeSAXParser')
glade-sax.c:670: error: `startDocumentSAXFunc' undeclared here (not in a function)
glade-sax.c:670: warning: excess elements in scalar initializer
glade-sax.c:670: warning: (near initialization for `gladeSAXParser')
glade-sax.c:670: error: syntax error before "gladeStartDocument"
glade-sax.c:671: error: `endDocumentSAXFunc' undeclared here (not in a function)
glade-sax.c:671: warning: excess elements in scalar initializer
glade-sax.c:671: warning: (near initialization for `gladeSAXParser')
glade-sax.c:671: error: syntax error before "gladeEndDocument"
glade-sax.c:672: error: `startElementSAXFunc' undeclared here (not in a function)
glade-sax.c:672: warning: excess elements in scalar initializer
glade-sax.c:672: warning: (near initialization for `gladeSAXParser')
glade-sax.c:672: error: syntax error before "gladeStartElement"
glade-sax.c:673: error: `endElementSAXFunc' undeclared here (not in a function)
glade-sax.c:673: warning: excess elements in scalar initializer
glade-sax.c:673: warning: (near initialization for `gladeSAXParser')
glade-sax.c:673: error: syntax error before "gladeEndElement"
glade-sax.c:674: warning: excess elements in scalar initializer
glade-sax.c:674: warning: (near initialization for `gladeSAXParser')
glade-sax.c:675: error: `charactersSAXFunc' undeclared here (not in a function)
glade-sax.c:675: warning: excess elements in scalar initializer
glade-sax.c:675: warning: (near initialization for `gladeSAXParser')
glade-sax.c:675: error: syntax error before "gladeCharacters"
glade-sax.c:676: warning: excess elements in scalar initializer
glade-sax.c:676: warning: (near initialization for `gladeSAXParser')
glade-sax.c:677: warning: excess elements in scalar initializer
glade-sax.c:677: warning: (near initialization for `gladeSAXParser')
glade-sax.c:678: error: `commentSAXFunc' undeclared here (not in a function)
glade-sax.c:678: warning: excess elements in scalar initializer
glade-sax.c:678: warning: (near initialization for `gladeSAXParser')
glade-sax.c:678: error: syntax error before numeric constant
glade-sax.c:679: error: `warningSAXFunc' undeclared here (not in a function)
glade-sax.c:679: warning: excess elements in scalar initializer
glade-sax.c:679: warning: (near initialization for `gladeSAXParser')
glade-sax.c:679: error: syntax error before "gladeWarning"
glade-sax.c:680: error: `errorSAXFunc' undeclared here (not in a function)
glade-sax.c:680: warning: excess elements in scalar initializer
glade-sax.c:680: warning: (near initialization for `gladeSAXParser')
glade-sax.c:680: error: syntax error before "gladeError"
glade-sax.c:681: error: `fatalErrorSAXFunc' undeclared here (not in a function)
glade-sax.c:681: warning: excess elements in scalar initializer
glade-sax.c:681: warning: (near initialization for `gladeSAXParser')
glade-sax.c:681: error: syntax error before "gladeFatalError"
glade-sax.c:682: warning: data definition has no type or storage class
glade-sax.c: In function `glade_widget_tree_parse_file':
glade-sax.c:698: warning: implicit declaration of function `xmlSAXUserParseFile'
glade-sax.c: In function `glade_widget_tree_parse_memory':
glade-sax.c:725: warning: implicit declaration of function `xmlSAXUserParseMemory'
glade-sax.c: At top level:
glade-sax.c:220: warning: `gladeStartDocument' defined but not used
glade-sax.c:239: warning: `gladeEndDocument' defined but not used
glade-sax.c:252: warning: `gladeStartElement' defined but not used
glade-sax.c:363: warning: `gladeEndElement' defined but not used
glade-sax.c:617: warning: `gladeCharacters' defined but not used
glade-sax.c:633: warning: `gladeWarning' defined but not used
glade-sax.c:641: warning: `gladeError' defined but not used
glade-sax.c:649: warning: `gladeFatalError' defined but not used
source='glade-tree.c' object='glade-tree.lo' libtool=yes \
depfile='.deps/glade-tree.Plo' tmpdepfile='.deps/glade-tree.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include      -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wunused  -c -o glade-tree.lo `test -f glade-tree.c || echo './'`glade-tree.c
make[2]: *** [glade-sax.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
glade-xml.c: In function `autoconnect_foreach':
glade-xml.c:306: warning: dereferencing type-punned pointer will break strict-aliasing rules
glade-xml.c: In function `glade_xml_gettext':
glade-xml.c:917: warning: return discards qualifiers from pointer target type
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wunused -c glade-xml.c -MT glade-xml.lo -MD -MP -MF .deps/glade-xml.TPlo -o glade-xml.o >/dev/null 2>&1
rm -f .libs/glade-tree.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wunused -c glade-tree.c -MT glade-tree.lo -MD -MP -MF .deps/glade-tree.TPlo  -fPIC -DPIC -o .libs/glade-tree.lo
glade-tree.c: In function `glade_tree_get':
glade-tree.c:50: warning: dereferencing type-punned pointer will break strict-aliasing rules
glade-tree.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wunused -c glade-tree.c -MT glade-tree.lo -MD -MP -MF .deps/glade-tree.TPlo -o glade-tree.o >/dev/null 2>&1
mv -f .libs/glade-xml.lo glade-xml.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wunused -c glade-gtk.c -MT glade-gtk.lo -MD -MP -MF .deps/glade-gtk.TPlo -o glade-gtk.o >/dev/null 2>&1
mv -f .libs/glade-tree.lo glade-tree.lo
mv -f .libs/glade-gtk.lo glade-gtk.lo
make[2]: Leaving directory `/var/tmp/portage/libglade-0.17-r6/work/libglade-0.17/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libglade-0.17-r6/work/libglade-0.17'
make: *** [all] Error 2

!!! ERROR: gnome-base/libglade-0.17-r6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)


looks like glade-sax.c isn't good.

Comment 3 foser (RETIRED) gentoo-dev 2004-04-09 15:38:23 UTC
no it looks like you are missing an include (see my earlier comment) and i don't know see how that could happen.
Comment 4 foser (RETIRED) gentoo-dev 2004-04-25 11:22:27 UTC
i don't believe this is a bug for the reasons stated above.

if you have prove otherwise you can reopen it.