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
Created attachment 310421 [details] emerge info for x86
I see a distinct lack of the build log here.
Created attachment 310473 [details] build log for x86
(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
The actual error is: xml.sax._exceptions.SAXReaderNotAvailable: No parsers found Usually that means either python[-xml] or python[build] on your system.
(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.
rebuilt python completely and restarted the merge of kde, no joy,libxml2 refuses to build Geoff
...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 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 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.
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".
(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
(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.