Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44728 - Emerging kdenetwork-3.2.1 fails
Summary: Emerging kdenetwork-3.2.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 00:43 UTC by Tobias Bartsch
Modified: 2004-04-26 18:03 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 Tobias Bartsch 2004-03-15 00:43:52 UTC
I tried emerging kdenetwork with many different CFlags (e.g. -O2 -march=athlon-xp -pipe) (and some less aggressive alternatives); but emerge always fails with the same error message:

In file included from /usr/include/libxml2/libxml/valid.h:18,
                 from /usr/include/libxml2/libxml/parser.h:19,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from kopetexsl.cpp:21:
/usr/include/libxml2/libxml/xmlautomata.h:1: error: parse error before `+' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:29: error: syntax error before `*' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:43: error: parse error before `)' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:45: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:45: error: parse error before `)' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:48: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:48: error: parse error before `)' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:50: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:50: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:53: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:53: error: parse error before `)' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:55: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:55: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:61: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:61: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:68: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:68: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:76: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:76: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:84: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:84: error: parse error before `,' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:89: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:108: error: parse error before `)' 
   token
/usr/include/libxml2/libxml/xmlautomata.h:110: error: `xmlAutomataPtr' was not 
   declared in this scope
/usr/include/libxml2/libxml/xmlautomata.h:110: error: parse error before `)' 
   token
In file included from /usr/include/libxml2/libxml/parser.h:19,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from kopetexsl.cpp:21:
/usr/include/libxml2/libxml/valid.h:85: error: 'xmlAutomataPtr' is used as a 
   type, but is not defined as a type.
make[4]: *** [kopetexsl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.1/work/kdenetwork-3.2.1/kopete/libkopete/private'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.1/work/kdenetwork-3.2.1/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.1/work/kdenetwork-3.2.1/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.1/work/kdenetwork-3.2.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdenetwork-3.2.1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make


I am upgrading from kde-3.2.0

Reproducible: Always
Steps to Reproduce:
1. emerge -u kdenetwork
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-03-15 06:13:43 UTC
what versions of libxml2 and libxslt do you have?

Did you upgrade them recently?
Comment 2 Tobias Bartsch 2004-03-15 07:34:24 UTC
the latest version in stable. 

*  dev-libs/libxml
      Latest version available: 1.8.17-r2
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 972 kB
      Homepage:    http://www.xmlsoft.org/
      Description: Version 1 of the library to manipulate XML files.
      License:     GPL-2 LGPL-2

*  dev-libs/libxml2
      Latest version available: 2.6.6
      Latest version installed: 2.6.6
      Size of downloaded files: 2,590 kB
      Homepage:    http://www.xmlsoft.org/
      Description: Version 2 of the library to manipulate XML files
      License:     MIT

I just managed to solve the problem though. I spent the entire morning changing USE flags and Cflags, and nothing helped. I then decided that i could just update all other parts of kde first... So I updated kdemultimedia. That worked flawlessly. After that i told my PC to update kdepim - without checking its dependencies first. It dependes on kdenetwork  - and this time kdenetwork compiled.
Ergo, I think that somehow on my box kdenetwork depends on kdemultimedia... weird.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-04-26 18:03:14 UTC
weird - well, sounds like it fixed itself for you.