Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414001 - dev-libs/libxml2-2.7.8-r5 - xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
Summary: dev-libs/libxml2-2.7.8-r5 - xml.sax._exceptions.SAXReaderNotAvailable: No par...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 15:43 UTC by Geoff Madden
Modified: 2012-05-03 07:06 UTC (History)
1 user (show)

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


Attachments
emerge info for x86 (emerge.inf,4.80 KB, text/plain)
2012-04-29 15:47 UTC, Geoff Madden
Details
build log for x86 (build.log.tar.bz2,9.51 KB, application/x-bzip)
2012-04-30 03:19 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2012-04-29 15:43:54 UTC
Rebuilding the system from scratch used latest stage3. on trying to install xorg-x11 libxml2 is required but is failing to compile,tried an earlier version ie:-r4 but same result. Abug check does not show any bugs for this program.
Have run pythonupdater which installed a lot of perl files as well as a couple of python updates.

Reproducible: Always

Steps to Reproduce:
1.run emerge od xorg-x11
2.all files up to libxml installed
3.libxml fails
Actual Results:  
libxml fails compile

Expected Results:  
libxml2 compiled and installed
Comment 1 Geoff Madden 2012-04-29 15:47:09 UTC
Created attachment 310421 [details]
emerge info for x86
Comment 2 Rafał Mużyło 2012-04-29 18:38:51 UTC
I see a distinct lack of the build log here.
Comment 3 Geoff Madden 2012-04-30 03:19:13 UTC
Created attachment 310473 [details]
build log for x86
Comment 4 Geoff Madden 2012-04-30 04:44:26 UTC
(In reply to comment #2)
> I see a distinct lack of the build log here.
Yeh had trouble with links,I can place 1 addition but run into hassles trying to add more. Not too sure about Lynx these days but that had the same problem previously.
Geoff
Comment 5 Rafał Mużyło 2012-04-30 15:14:38 UTC
The actual error is:
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
Usually that means either python[-xml] or python[build] on your system.
Comment 6 Geoff Madden 2012-05-01 08:40:38 UTC
(In reply to comment #5)
> The actual error is:
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
> Usually that means either python[-xml] or python[build] on your system.
Ok added pyxml,& build is a required use flag.
rebuilt python 2.7 just in case,still getting the same error.
Comment 7 Geoff Madden 2012-05-01 12:43:55 UTC
rebuilt python completely and restarted the merge of kde, no joy,libxml2 refuses to build
Geoff
Comment 8 Rafał Mużyło 2012-05-01 14:45:32 UTC
...I don't see what pyxml (an outdated, mostly obsolete package) has anything to do with this.

To make sure, post 'emerge -1pv' output for every installed python slot.
Check also lib-dynload/pyexpat.so for those slots.
Comment 9 Geoff Madden 2012-05-02 07:29:50 UTC
(In reply to comment #8)
> ...I don't see what pyxml (an outdated, mostly obsolete package) has
> anything to do with this.
> 
> To make sure, post 'emerge -1pv' output for every installed python slot.
> Check also lib-dynload/pyexpat.so for those slots.

In one of your emails (prob the 1st) you made mention of the build flag,
today while checking my package.use I noted it was set for 2.7.3-r1.
SOOOOO I rebuilt 2.7.3 without the build flag and loanbehold libxml completed,still complained about ISO C90 not supporting long long,but completed the build and installed.
Many thanks for your time and suggestions,to a successful build
Geoff
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-03 00:43:40 UTC
Comment on attachment 310473 [details]
build log for x86

Please don't put singular files in archives. If not necessary, please don't compress them either.
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-03 02:04:21 UTC
As Rafał said in comment #5, this is almost certainly a problem in your python installation, not in libxml2.

Please attach the output of "emerge --info python".
Comment 12 Geoff Madden 2012-05-03 05:53:56 UTC
(In reply to comment #11)
> As Rafał said in comment #5, this is almost certainly a problem in your
> python installation, not in libxml2.
> 
> Please attach the output of "emerge --info python".

I ended up rebuilding python2.7 without the build flag and this fixed the problem.
Reinstallation of o/s now proceding as normal
Geoff
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-03 07:06:00 UTC
(In reply to comment #12)

Good to hear that the problem is resolved. But since the documentation for the build USE flag begins with "!!internal use only!! DO NOT SET THIS FLAG YOURSELF!", I am marking this bug report as invalid.