public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Cannot emerge libgksu: lacks XML::Parser
@ 2009-08-01  3:56 Kevin O'Gorman
  2009-08-01  4:51 ` [gentoo-user] " ABCD
  2009-08-01  9:19 ` [gentoo-user] " Stroller
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin O'Gorman @ 2009-08-01  3:56 UTC (permalink / raw
  To: gentoo-user

I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
packages have started to fail during emerge for lack of Perl's
XML::Parser.
Even the simple script fails to run under perl:
> #!/usr/bin/perl -w
>
> use XML::Parser;
>
> print "yes\n";

Do I have to get it from CPAN?

Consider libgksu; here's the end of the emerge output, where
XML::Parser is required by intltool:

checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libgksu-2.0.9/work/libgksu-2.0.9/config.log
 *
 * ERROR: x11-libs/libgksu-2.0.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2896:  Called gnome2_src_compile
 *             environment, line 2264:  Called gnome2_src_configure
 *             environment, line 2278:  Called econf '--enable-nls'
'--disable-gtk-doc'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/environment'.
 *

>>> Failed to emerge x11-libs/libgksu-2.0.9, Log file:

>>>  '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'

-- 
Kevin O'Gorman, PhD



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

* [gentoo-user]  Re: Cannot emerge libgksu: lacks XML::Parser
  2009-08-01  3:56 [gentoo-user] Cannot emerge libgksu: lacks XML::Parser Kevin O'Gorman
@ 2009-08-01  4:51 ` ABCD
  2009-08-01 13:54   ` Kevin O'Gorman
  2009-08-01  9:19 ` [gentoo-user] " Stroller
  1 sibling, 1 reply; 5+ messages in thread
From: ABCD @ 2009-08-01  4:51 UTC (permalink / raw
  To: gentoo-user

Kevin O'Gorman wrote:

> I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
> packages have started to fail during emerge for lack of Perl's
> XML::Parser.
> Even the simple script fails to run under perl:
>> #!/usr/bin/perl -w
>>
>> use XML::Parser;
>>
>> print "yes\n";
> 
> Do I have to get it from CPAN?
> 
> Consider libgksu; here's the end of the emerge output, where
> XML::Parser is required by intltool:
> 
> checking for perl... /usr/bin/perl
> checking for XML::Parser... configure: error: XML::Parser perl module
> is required for intltool
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/x11-libs/libgksu-2.0.9/work/libgksu-2.0.9/config.log
>  *
>  * ERROR: x11-libs/libgksu-2.0.9 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2896:  Called gnome2_src_compile
>  *             environment, line 2264:  Called gnome2_src_configure
>  *             environment, line 2278:  Called econf '--enable-nls'
> '--disable-gtk-doc'
>  *               ebuild.sh, line  534:  Called die
>  * The specific snippet of code:
>  *                      die "econf failed"
>  *  The die message:
>  *   econf failed
>  *
>  * If you need support, post the topmost build error, and the call
> stack if relevant.
>  * A complete build log is located at
> '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/environment'.
>  *
> 
>>>> Failed to emerge x11-libs/libgksu-2.0.9, Log file:
> 
>>>>  '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'
> 

Have you recently changed the "ithreads" USE flag on dev-lang/perl? If so, 
then you will need to remerge all ebuilds that installed files in 
/usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux if "ithreads" was 
disabled, and /usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux-
thread-multi if "ithreads" was enabled.

Also, if you have recently upgraded perl, the same provisions apply.

NOTE: In the above expansion, the following applies [sorry if you already 
know this]:

- "lib*" is lib on x86, lib64 on amd64
- ${PERL_VER} is your perl version, probably 5.8.8
- ${CHOST%%-*} is the part of the CHOST before the first "-":
  * on x86, it will be one of i486, i586, or i686
  * on amd64, it will be x86_64

If you aren't on x86 or amd64, I assume you can figure it out :).

-- 
ABCD




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

* Re: [gentoo-user] Cannot emerge libgksu: lacks XML::Parser
  2009-08-01  3:56 [gentoo-user] Cannot emerge libgksu: lacks XML::Parser Kevin O'Gorman
  2009-08-01  4:51 ` [gentoo-user] " ABCD
@ 2009-08-01  9:19 ` Stroller
  1 sibling, 0 replies; 5+ messages in thread
From: Stroller @ 2009-08-01  9:19 UTC (permalink / raw
  To: gentoo-user


On 1 Aug 2009, at 04:56, Kevin O'Gorman wrote:

> I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
> packages have started to fail during emerge for lack of Perl's
> XML::Parser.
> Even the simple script fails to run under perl:
>> #!/usr/bin/perl -w
>>
>> use XML::Parser;
>>
>> print "yes\n";
>
> Do I have to get it from CPAN?

Why would  you get it from CPAN? Have you tried re-emerging the package?


> Consider libgksu; here's the end of the emerge output, where
> XML::Parser is required by intltool:
>
> checking for perl... /usr/bin/perl
> checking for XML::Parser... configure: error: XML::Parser perl module
> is required for intltool

It's surely saying that because the ebuild or makefile has a test  
script to see whether XML::Parser is present & working. Just as your  
`print "yes\n"` is failing so is the test run by the installation  
scripts, thus preventing install of libgksu.

It sounds like ABCD is on the right track with his suggestion  
regarding the "ithreads" USE flag. But in any case you might normally  
try re-emerging the package and running revdep-rebuild before calling  
us.

If I had this problem then - depending on how quick my machine was,  
how urgently I needed it fixed, and considering one might wait a few  
hours for a response here - I might well remerge everything with  
"perl" in the package name or category before becoming too flustered  
about this. You might well find that does the job.

Stroller.



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

* Re: [gentoo-user] Re: Cannot emerge libgksu: lacks XML::Parser
  2009-08-01  4:51 ` [gentoo-user] " ABCD
@ 2009-08-01 13:54   ` Kevin O'Gorman
  2009-08-01 14:00     ` Stroller
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin O'Gorman @ 2009-08-01 13:54 UTC (permalink / raw
  To: gentoo-user

On Fri, Jul 31, 2009 at 9:51 PM, ABCD<en.ABCD@gmail.com> wrote:
> Kevin O'Gorman wrote:
>
>> I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
>> packages have started to fail during emerge for lack of Perl's
>> XML::Parser.
>> Even the simple script fails to run under perl:
>>> #!/usr/bin/perl -w
>>>
>>> use XML::Parser;
>>>
>>> print "yes\n";
>>
>> Do I have to get it from CPAN?
>>
>> Consider libgksu; here's the end of the emerge output, where
>> XML::Parser is required by intltool:
>>
>> checking for perl... /usr/bin/perl
>> checking for XML::Parser... configure: error: XML::Parser perl module
>> is required for intltool
>>
>> !!! Please attach the following file when seeking support:
>> !!! /var/tmp/portage/x11-libs/libgksu-2.0.9/work/libgksu-2.0.9/config.log
>>  *
>>  * ERROR: x11-libs/libgksu-2.0.9 failed.
>>  * Call stack:
>>  *               ebuild.sh, line   49:  Called src_compile
>>  *             environment, line 2896:  Called gnome2_src_compile
>>  *             environment, line 2264:  Called gnome2_src_configure
>>  *             environment, line 2278:  Called econf '--enable-nls'
>> '--disable-gtk-doc'
>>  *               ebuild.sh, line  534:  Called die
>>  * The specific snippet of code:
>>  *                      die "econf failed"
>>  *  The die message:
>>  *   econf failed
>>  *
>>  * If you need support, post the topmost build error, and the call
>> stack if relevant.
>>  * A complete build log is located at
>> '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/environment'.
>>  *
>>
>>>>> Failed to emerge x11-libs/libgksu-2.0.9, Log file:
>>
>>>>>  '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'
>>
>
> Have you recently changed the "ithreads" USE flag on dev-lang/perl? If so,
> then you will need to remerge all ebuilds that installed files in
> /usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux if "ithreads" was
> disabled, and /usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux-
> thread-multi if "ithreads" was enabled.
>
> Also, if you have recently upgraded perl, the same provisions apply.
>
> NOTE: In the above expansion, the following applies [sorry if you already
> know this]:
>
> - "lib*" is lib on x86, lib64 on amd64
> - ${PERL_VER} is your perl version, probably 5.8.8
> - ${CHOST%%-*} is the part of the CHOST before the first "-":
>  * on x86, it will be one of i486, i586, or i686
>  * on amd64, it will be x86_64
>
> If you aren't on x86 or amd64, I assume you can figure it out :).

This is helpful, as I do remember fooling with ithreads and not
getting it completely right.  I'm now emerging anything that has
'perl' in the name or category.

It has always baffled me, given this sensitivity, that all such
packages don't just declare that they use the 'ithreads' USE flag,
even if they don't explicitly.  Then my usual emerge --newuse would do
the Right Thing (TM).

++ kevin

-- 
Kevin O'Gorman, PhD



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

* Re: [gentoo-user] Re: Cannot emerge libgksu: lacks XML::Parser
  2009-08-01 13:54   ` Kevin O'Gorman
@ 2009-08-01 14:00     ` Stroller
  0 siblings, 0 replies; 5+ messages in thread
From: Stroller @ 2009-08-01 14:00 UTC (permalink / raw
  To: gentoo-user


On 1 Aug 2009, at 14:54, Kevin O'Gorman wrote:
> ...
> It has always baffled me, given this sensitivity, that all such
> packages don't just declare that they use the 'ithreads' USE flag,
> even if they don't explicitly.  Then my usual emerge --newuse would do
> the Right Thing (TM).

The build scripts (makefile or whatever) of some packages will  
autodetect whether a feature is available. Thus they take advantage of  
another package's USE flag, without their own ebuild featuring it. I  
think this issue may be complicated by upstream decisions, thus  
complicating matters so that it may not be so easy for Gentoo  
developers to do the "right thing".

Stroller.
  



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

end of thread, other threads:[~2009-08-01 14:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01  3:56 [gentoo-user] Cannot emerge libgksu: lacks XML::Parser Kevin O'Gorman
2009-08-01  4:51 ` [gentoo-user] " ABCD
2009-08-01 13:54   ` Kevin O'Gorman
2009-08-01 14:00     ` Stroller
2009-08-01  9:19 ` [gentoo-user] " Stroller

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