Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60429 - libgtkhtml has a bad/corrupted header that causes gimp to fail compiliation
Summary: libgtkhtml has a bad/corrupted header that causes gimp to fail compiliation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-15 10:46 UTC by Timmy Douglas
Modified: 2004-08-18 17:15 UTC (History)
0 users

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 Timmy Douglas 2004-08-15 10:46:17 UTC
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1: error: syntax error before '/' token
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:34: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:61: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:84: too many decimal points in number



....


In file included from /usr/include/gtkhtml-2.0/libgtkhtml/layout/htmlbox.h:29,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: warning: type defaults to `int' in declaration of `dom_Node__get_childNodes'
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: warning: data definition has no type or storage class
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: warning: type defaults to `int' in declaration of `dom_Document__get_doctype'
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: warning: data definition has no type or storage class
make[3]: *** [dialog.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins/helpbrowser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0.4 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! (no error message)


root@main ~ #  cat /usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h
virtual/x11 || ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 ) >=x11-libs/qt-3.2.0 >=kde-base/kdelibs-3.2.0
virtual/x11 || ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 ) >=x11-libs/qt-3.2.0 >=kde-base/kdelibs-3.2.0
0
mirror://sourceforge/scim/skim-0.9.4.tar.gz

http://scim.freedesktop.org/Software/ScimKDE
GPL-2
Smart Common Input Method (SCIM) optimized for KDE
~x86 ~ppc











this probably isn't too related, but it's all i could find:http://bugs.gentoo.org/show_bug.cgi?id=3048

root@main ~ # 


re-emerging does not fix

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




Portage 2.0.50-r9 (2004.2, gcc-3.3.4, glibc-2.2.5-r2,2.3.4.20040808-r0, 2.6.8-rc2)
=================================================================
System uname: 2.6.8-rc2 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.5.2
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib aim alsa apm arts avi berkdb bonobo canna cjk crypt debug dga dvd
emacs encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile iconv imap
imlib ipv6 java jpeg kde leim libg++ libwww mad mikmod mmap motif mozilla mpeg
msn ncurses nls nostrip oggvorbis oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd tiff truetype unicode x86 xml2 xmms
xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-08-18 05:23:05 UTC
what versions of libgtkhtml do you have installed exactly ? And can you attach the full error output, this is missing the relevant parts.
Comment 2 Timmy Douglas 2004-08-18 08:59:10 UTC
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -g -mcpu=athlon-xp -O2 -pipe -Wall -MT queue.o -MD -MP -MF ".deps/queue.Tpo" \
  -c -o queue.o `test -f 'queue.c' || echo './'`queue.c; \
then mv -f ".deps/queue.Tpo" ".deps/queue.Po"; \
else rm -f ".deps/queue.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -g -mcpu=athlon-xp -O2 -pipe -Wall -MT uri.o -MD -MP -MF ".deps/uri.Tpo" \
  -c -o uri.o `test -f 'uri.c' || echo './'`uri.c; \
then mv -f ".deps/uri.Tpo" ".deps/uri.Po"; \
else rm -f ".deps/uri.Tpo"; exit 1; \
fi
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1: error: syntax error before '/' token
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:34: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:61: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:84: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:109: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:34: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:61: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:84: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:109: too many decimal points in number
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-abstractview.h:30,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-documentview.h:43: error: syntax error before "DomAbstractView"
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-documentview.h:43: warning: no semicolon at end of struct or union
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-documentview.h:48: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-documentview.h:48: warning: type defaults to `int' in declaration of `dom_DocumentView__get_defaultView'
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-documentview.h:48: warning: data definition has no type or storage class
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmlparser.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/document/htmldocument.h:32,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:31,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-abstractview.h:43: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/views/dom-abstractview.h:48: error: syntax error before '*' token
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:57,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/layout/htmlbox.h:29,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-documenttype.h:1: error: syntax error before '/' token
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:58,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/layout/htmlbox.h:29,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:34: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:61: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:84: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:1:109: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:34: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:61: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:84: too many decimal points in number
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h:2:109: too many decimal points in number
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:59,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/layout/htmlbox.h:29,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-nodelist.h:41: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-nodelist.h:42: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-nodelist.h:54: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-nodelist.h:55: error: syntax error before '*' token
In file included from /usr/include/gtkhtml-2.0/libgtkhtml/layout/htmlbox.h:29,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/view/htmlview.h:33,
                 from /usr/include/gtkhtml-2.0/libgtkhtml/gtkhtml.h:28,
                 from dialog.c:33:
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: warning: type defaults to `int' in declaration of `dom_Node__get_childNodes'
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:64: warning: data definition has no type or storage class
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: error: syntax error before '*' token
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: warning: type defaults to `int' in declaration of `dom_Document__get_doctype'
/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-node.h:70: warning: data definition has no type or storage class
make[3]: *** [dialog.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins/helpbrowser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0.4 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! (no error message)

main ~ # emerge -p libgtkhtml

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] gnome-extra/libgtkhtml-3.0.10-r1 
Comment 3 foser (RETIRED) gentoo-dev 2004-08-18 09:30:35 UTC
i said 'attach' & 'full' , but leave it like this alright

i need all your installed libgtkhtml versions , not just the latest available :
try 'emerge -C libgtkhtml -p'
Comment 4 Timmy Douglas 2004-08-18 09:43:18 UTC
>>> These are the packages that I would unmerge:

 gnome-extra/libgtkhtml
    selected: 3.0.10-r1 2.6.2
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

sorry i misread what you said earlier. i think my first comment shows the problem---for some reason portage(or something else) puts some of its info crap into one of the header files. maybe i should unmerge the 2.6.2 version and then try again(and use revdep-rebuild or something)?
or maybe remerge the 2.6.2 version
Comment 5 foser (RETIRED) gentoo-dev 2004-08-18 09:50:03 UTC
well you could try rebuilding libgtkhtml-2.6 .. revdep-rebuild shouldn't be needed, because it's a header problem.

Comment 6 Timmy Douglas 2004-08-18 14:52:36 UTC
well rebuilding the old gtkhtml seems to fix it but it's weird how that garbage made it into the header in the first place.
Comment 7 foser (RETIRED) gentoo-dev 2004-08-18 15:24:14 UTC
non-reproducable, closing

maybe a bad disk or something, or a unclean unmount ?

Can be a lot of things.
Comment 8 Timmy Douglas 2004-08-18 17:15:13 UTC
hello? did you even read what i said?
" think my first comment shows the problem---for some reason portage(or something else) puts some of its info crap into one of the header files. "

from the first comment:

root@main ~ #  cat /usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-document.h
virtual/x11 || ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 ) >=x11-libs/qt-3.2.0 >=kde-base/kdelibs-3.2.0
virtual/x11 || ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 ) >=x11-libs/qt-3.2.0 >=kde-base/kdelibs-3.2.0
0
mirror://sourceforge/scim/skim-0.9.4.tar.gz

http://scim.freedesktop.org/Software/ScimKDE
GPL-2
Smart Common Input Method (SCIM) optimized for KDE
~x86 ~ppc



why would a bad disk or an unclean umount put dependancy info into a header file?