public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] libxml2 does not build in stage3.
@ 2010-05-18 14:23 Juan Luis Pérez Pérez
  2010-06-23 13:41 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
  0 siblings, 1 reply; 6+ messages in thread
From: Juan Luis Pérez Pérez @ 2010-05-18 14:23 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-catalyst] Re: libxml2 does not build in stage3.
  2010-05-18 14:23 [gentoo-catalyst] libxml2 does not build in stage3 Juan Luis Pérez Pérez
@ 2010-06-23 13:41 ` Juan Luis Pérez Pérez
  2010-06-23 14:10   ` Guillermo M. Narvaja
  0 siblings, 1 reply; 6+ messages in thread
From: Juan Luis Pérez Pérez @ 2010-06-23 13:41 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-catalyst] Re: libxml2 does not build in stage3.
  2010-06-23 13:41 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
@ 2010-06-23 14:10   ` Guillermo M. Narvaja
  2010-06-23 14:53     ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 6+ messages in thread
From: Guillermo M. Narvaja @ 2010-06-23 14:10 UTC (permalink / raw
  To: gentoo-catalyst

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-catalyst] Re: libxml2 does not build in stage3.
  2010-06-23 14:10   ` Guillermo M. Narvaja
@ 2010-06-23 14:53     ` Juan Luis Pérez Pérez
  2010-06-23 17:21       ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 6+ messages in thread
From: Juan Luis Pérez Pérez @ 2010-06-23 14:53 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-catalyst] Re: libxml2 does not build in stage3.
  2010-06-23 14:53     ` Juan Luis Pérez Pérez
@ 2010-06-23 17:21       ` Juan Luis Pérez Pérez
  2010-06-23 17:27         ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 6+ messages in thread
From: Juan Luis Pérez Pérez @ 2010-06-23 17:21 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-catalyst] Re: libxml2 does not build in stage3.
  2010-06-23 17:21       ` Juan Luis Pérez Pérez
@ 2010-06-23 17:27         ` Juan Luis Pérez Pérez
  0 siblings, 0 replies; 6+ messages in thread
From: Juan Luis Pérez Pérez @ 2010-06-23 17:27 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-23 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18 14:23 [gentoo-catalyst] libxml2 does not build in stage3 Juan Luis Pérez Pérez
2010-06-23 13:41 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
2010-06-23 14:10   ` Guillermo M. Narvaja
2010-06-23 14:53     ` Juan Luis Pérez Pérez
2010-06-23 17:21       ` Juan Luis Pérez Pérez
2010-06-23 17:27         ` Juan Luis Pérez Pérez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox