Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Catalyst (http://www.linux-archive.org/gentoo-catalyst/)
-   -   libxml2 does not build in stage3. (http://www.linux-archive.org/gentoo-catalyst/372687-libxml2-does-not-build-stage3.html)

Juan Luis Pérez Pérez 05-18-2010 02:23 PM

libxml2 does not build in stage3.
 
I got an error building stage3 while emerging libxml2-2.7.7:

make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
-2.7.7'
* Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
Making all in .
make[1]: Entering directory
`/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
/usr/bin/python ./generator.py .
Traceback (most recent call last):
File "./generator.py", line 1186, in <module>
buildStubs()
File "./generator.py", line 517, in buildStubs
(parser, target) = getparser()
File "./generator.py", line 34, in getparser
parser = xml.sax.make_parser()
File "/usr/lib/python2.6/xml/sax/__init__.py", line 93, in make_parser
raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
make[1]: *** [gen_prog] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
make: *** [all-recursive] Error 1
* ERROR: dev-libs/libxml2-2.7.7 failed:
* Building failed with CPython 2.6 in building() function
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4772: Called python_execute_function '-s'
'--source-dir' 'python' 'building'
* environment, line 3563: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info
=dev-libs/libxml2-2.7.7',
* the complete build log and the output of 'emerge -pqv
=dev-libs/libxml2-2.7.7'.
* The complete build log is located at
'/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/environment'.
* S: '/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7'

My stage*.spec:

Stage1:
subarch: i686
target: stage1
version_stamp: kmdevelop-20100514
rel_type: default
profile: default/linux/x86/10.0/desktop
snapshot: 20100514
source_subpath: default/stage3-i686-20100511

Stage2:
subarch: i686
target: stage2
version_stamp: kmdevelop-20100514
rel_type: default
profile: default/linux/x86/10.0/desktop
snapshot: 20100514
source_subpath: default/stage1-i686-kmdevelop-20100514

Stage3:
subarch: i686
target: stage3
version_stamp: kmdevelop-20100514
rel_type: default
profile: default/linux/x86/10.0/desktop
snapshot: 20100514
source_subpath: default/stage2-i686-kmdevelop-20100514

Firstly I though It could be that I was building stage1 with no
desktop profile, so xml USE flag wasn't active, but after building
again with desktop profile this error stays.

--
Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Juan Luis Pérez Pérez 06-23-2010 01:41 PM

libxml2 does not build in stage3.
 
This error persists nowadays, does anybody know any clue about how to fix this?

El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
<juanluperez@gmail.com> escribió:

> I got an error building stage3 while emerging libxml2-2.7.7:
>
> make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
> -2.7.7'
> ** Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
> Making all in .
> make[1]: Entering directory
> `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
> /usr/bin/python ./generator.py .
> Traceback (most recent call last):
> *File "./generator.py", line 1186, in <module>
> * *buildStubs()
> *File "./generator.py", line 517, in buildStubs
> * *(parser, target) *= getparser()
> *File "./generator.py", line 34, in getparser
> * *parser = xml.sax.make_parser()
> *File "/usr/lib/python2.6/xml/sax/__init__.py", line 93, in make_parser
> * *raise SAXReaderNotAvailable("No parsers found", None)
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
> make[1]: *** [gen_prog] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
> make: *** [all-recursive] Error 1
> ** ERROR: dev-libs/libxml2-2.7.7 failed:
> ** * Building failed with CPython 2.6 in building() function
> **
> ** Call stack:
> ** * * ebuild.sh, line * 54: *Called src_compile
> ** * environment, line 4772: *Called python_execute_function '-s'
> '--source-dir' 'python' 'building'
> ** * environment, line 3563: *Called die
> ** The specific snippet of code:
> ** * * * * * * * * * * * die "${failure_message}";
> **
> ** If you need support, post the output of 'emerge --info
> =dev-libs/libxml2-2.7.7',
> ** the complete build log and the output of 'emerge -pqv
> =dev-libs/libxml2-2.7.7'.
> ** The complete build log is located at
> '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/build.log'.
> ** The ebuild environment file is located at
> '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/environment'.
> ** S: '/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7'
>
> My stage*.spec:
>
> Stage1:
> subarch: i686
> target: stage1
> version_stamp: kmdevelop-20100514
> rel_type: default
> profile: default/linux/x86/10.0/desktop
> snapshot: 20100514
> source_subpath: default/stage3-i686-20100511
>
> Stage2:
> subarch: i686
> target: stage2
> version_stamp: kmdevelop-20100514
> rel_type: default
> profile: default/linux/x86/10.0/desktop
> snapshot: 20100514
> source_subpath: default/stage1-i686-kmdevelop-20100514
>
> Stage3:
> subarch: i686
> target: stage3
> version_stamp: kmdevelop-20100514
> rel_type: default
> profile: default/linux/x86/10.0/desktop
> snapshot: 20100514
> source_subpath: default/stage2-i686-kmdevelop-20100514
>
> Firstly I though It could be that I was building stage1 with no
> desktop profile, so xml USE flag wasn't active, but after building
> again with desktop profile this error stays.
>
> --
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>



--
Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

"Guillermo M. Narvaja" 06-23-2010 02:10 PM

libxml2 does not build in stage3.
 
El mié, 23-06-2010 a las 15:41 +0200, Juan Luis Pérez Pérez escribió:
> This error persists nowadays, does anybody know any clue about how to fix this?
>
> El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
> <juanluperez@gmail.com> escribió:
>
> > I got an error building stage3 while emerging libxml2-2.7.7:
> >
> > make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
> > -2.7.7'
> > * Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
> > Making all in .
> > make[1]: Entering directory
> > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
> > /usr/bin/python ./generator.py .
> > Traceback (most recent call last):
> > File "./generator.py", line 1186, in <module>
> > buildStubs()
> > File "./generator.py", line 517, in buildStubs
...

The same to me. What I'm doing to solve this issue, is doing a chroot
and rebuilding python with USE="xml" activated.

Then I restart catalyst and builds ok. Other errors I still have
building stage3 are building "dbus" and "ldap" because of the
"shadow/groupadd" issue already discussed here.


--
Guillermo M. Narvaja
Lambda Sistemas S.R.L.
www.fierro-soft.com.ar
Tel: (5411) 4857-6662
Cel: (5411) 15-6783-4435
Email: guillermo.narvaja@fierro-soft.com.ar
MSN: guillermo_narvaja@hotmail.com
Skype: guillermonarvaja
Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina

Juan Luis Pérez Pérez 06-23-2010 02:53 PM

libxml2 does not build in stage3.
 
Thanks Guillermo, I had those problemes too, I patched shadow, group
and passwd files to fix this issue.

I will try your work around.

2010/6/23 Guillermo M. Narvaja <guillermo.narvaja@fierro-soft.com.ar>:
> El mié, 23-06-2010 a las 15:41 +0200, Juan Luis Pérez Pérez escribió:
>> This error persists nowadays, does anybody know any clue about how to fix this?
>>
>> El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
>> <juanluperez@gmail.com> escribió:
>>
>> > I got an error building stage3 while emerging libxml2-2.7.7:
>> >
>> > make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
>> > -2.7.7'
>> > ** Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
>> > Making all in .
>> > make[1]: Entering directory
>> > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
>> > /usr/bin/python ./generator.py .
>> > Traceback (most recent call last):
>> > *File "./generator.py", line 1186, in <module>
>> > * *buildStubs()
>> > *File "./generator.py", line 517, in buildStubs
> ...
>
> The same to me. What I'm doing to solve this issue, is doing a chroot
> and rebuilding python with USE="xml" activated.
>
> Then I restart catalyst and builds ok. Other errors I still have
> building stage3 are building "dbus" and "ldap" because of the
> "shadow/groupadd" issue already discussed here.
>
>
> --
> Guillermo M. Narvaja
> Lambda Sistemas S.R.L.
> www.fierro-soft.com.ar
> Tel: (5411) 4857-6662
> Cel: (5411) 15-6783-4435
> Email: guillermo.narvaja@fierro-soft.com.ar
> MSN: guillermo_narvaja@hotmail.com
> Skype: guillermonarvaja
> Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina
>
>
>



--
Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Juan Luis Pérez Pérez 06-23-2010 05:21 PM

libxml2 does not build in stage3.
 
Guillermo, this worked, but then I had one more problem with cracklib,
this is trying to use python3.1 instead 2.6.

Is there a way to install python with xml USE flag activaded from
stage1? The problem is that in

El día 23 de junio de 2010 16:53, Juan Luis Pérez Pérez
<juanluperez@gmail.com> escribió:
> Thanks Guillermo, I had those problemes too, I patched shadow, group
> and passwd files to fix this issue.
>
> I will try your work around.
>
> 2010/6/23 Guillermo M. Narvaja <guillermo.narvaja@fierro-soft.com.ar>:
>> El mié, 23-06-2010 a las 15:41 +0200, Juan Luis Pérez Pérez escribió:
>>> This error persists nowadays, does anybody know any clue about how to fix this?
>>>
>>> El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
>>> <juanluperez@gmail.com> escribió:
>>>
>>> > I got an error building stage3 while emerging libxml2-2.7.7:
>>> >
>>> > make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
>>> > -2.7.7'
>>> > ** Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
>>> > Making all in .
>>> > make[1]: Entering directory
>>> > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
>>> > /usr/bin/python ./generator.py .
>>> > Traceback (most recent call last):
>>> > *File "./generator.py", line 1186, in <module>
>>> > * *buildStubs()
>>> > *File "./generator.py", line 517, in buildStubs
>> ...
>>
>> The same to me. What I'm doing to solve this issue, is doing a chroot
>> and rebuilding python with USE="xml" activated.
>>
>> Then I restart catalyst and builds ok. Other errors I still have
>> building stage3 are building "dbus" and "ldap" because of the
>> "shadow/groupadd" issue already discussed here.
>>
>>
>> --
>> Guillermo M. Narvaja
>> Lambda Sistemas S.R.L.
>> www.fierro-soft.com.ar
>> Tel: (5411) 4857-6662
>> Cel: (5411) 15-6783-4435
>> Email: guillermo.narvaja@fierro-soft.com.ar
>> MSN: guillermo_narvaja@hotmail.com
>> Skype: guillermonarvaja
>> Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina
>>
>>
>>
>
>
>
> --
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>



--
Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Juan Luis Pérez Pérez 06-23-2010 05:27 PM

libxml2 does not build in stage3.
 
I'm sorry I pushed send button before finnishing this message.


El día 23 de junio de 2010 19:21, Juan Luis Pérez Pérez
<juanluperez@gmail.com> escribió:
> Guillermo, this worked, but then I had one more problem with cracklib,
> this is trying to use python3.1 instead 2.6.
>
> Is there a way to install python with xml USE flag activaded from
> stage1? The problem is that in

The problem is that even if I set profile:
default/linux/x86/10.0/desktop for my stage1 target, python will be
emerged xml USE flag deactivated. This USE should be activated, as we
know, desktop profile defines xml USE flag.

Any idea about why this is happening?

> El día 23 de junio de 2010 16:53, Juan Luis Pérez Pérez
> <juanluperez@gmail.com> escribió:
>> Thanks Guillermo, I had those problemes too, I patched shadow, group
>> and passwd files to fix this issue.
>>
>> I will try your work around.
>>
>> 2010/6/23 Guillermo M. Narvaja <guillermo.narvaja@fierro-soft.com.ar>:
>>> El mié, 23-06-2010 a las 15:41 +0200, Juan Luis Pérez Pérez escribió:
>>>> This error persists nowadays, does anybody know any clue about how to fix this?
>>>>
>>>> El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
>>>> <juanluperez@gmail.com> escribió:
>>>>
>>>> > I got an error building stage3 while emerging libxml2-2.7.7:
>>>> >
>>>> > make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
>>>> > -2.7.7'
>>>> > ** Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
>>>> > Making all in .
>>>> > make[1]: Entering directory
>>>> > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
>>>> > /usr/bin/python ./generator.py .
>>>> > Traceback (most recent call last):
>>>> > *File "./generator.py", line 1186, in <module>
>>>> > * *buildStubs()
>>>> > *File "./generator.py", line 517, in buildStubs
>>> ...
>>>
>>> The same to me. What I'm doing to solve this issue, is doing a chroot
>>> and rebuilding python with USE="xml" activated.
>>>
>>> Then I restart catalyst and builds ok. Other errors I still have
>>> building stage3 are building "dbus" and "ldap" because of the
>>> "shadow/groupadd" issue already discussed here.
>>>
>>>
>>> --
>>> Guillermo M. Narvaja
>>> Lambda Sistemas S.R.L.
>>> www.fierro-soft.com.ar
>>> Tel: (5411) 4857-6662
>>> Cel: (5411) 15-6783-4435
>>> Email: guillermo.narvaja@fierro-soft.com.ar
>>> MSN: guillermo_narvaja@hotmail.com
>>> Skype: guillermonarvaja
>>> Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina
>>>
>>>
>>>
>>
>>
>>
>> --
>> Juan Luis Pérez Pérez
>> Website: http://www.juanluperez.com
>> Registered GNU/Linux user #408294 according to counter.li.org
>> --
>> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
>> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
>> Gracias.
>> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>>
>
>
>
> --
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>



--
Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html


All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.