Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297307 - media-gfx/gimp-2.6.7-r1: emerge fails due to missing XML::Parser perl module
Summary: media-gfx/gimp-2.6.7-r1: emerge fails due to missing XML::Parser perl module
Status: RESOLVED DUPLICATE of bug 222767
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 17:39 UTC by Nikos Chantziaras
Modified: 2009-12-19 12:02 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,55.18 KB, text/plain)
2009-12-17 17:40 UTC, Nikos Chantziaras
Details
emerge --info (emerge--info,4.29 KB, text/plain)
2009-12-17 17:41 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2009-12-17 17:39:35 UTC
After an emerge --sync, there seemed to be USE flag changes ("mng" flag) and some packages needed to be rebuild when doing "emerge -auDN world".  However, gimp-2.6.7-r1 failed:


checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.8.8
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/media-gfx/gimp-2.6.7-r1/work/gimp-2.6.7/config.log
 * ERROR: media-gfx/gimp-2.6.7-r1 failed:
 *   econf failed


I do have dev-perl/XML-Parser-2.36 installed.  Attaching config.log and "emerge --info".
Comment 1 Nikos Chantziaras 2009-12-17 17:40:29 UTC
Created attachment 213310 [details]
config.log
Comment 2 Nikos Chantziaras 2009-12-17 17:41:16 UTC
Created attachment 213312 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-18 13:40:50 UTC
Did you run perl-cleaner after the last dev-lang/perl upgrade? I am asking this because dev-perl/XML-Parser should be installed already.
Comment 4 Nikos Chantziaras 2009-12-18 14:55:45 UTC
(In reply to comment #3)
> Did you run perl-cleaner after the last dev-lang/perl upgrade? I am asking this
> because dev-perl/XML-Parser should be installed already.

"perl-cleaner modules" says: "Nothing to reinstall!"
Comment 5 David Abbott (RETIRED) gentoo-dev 2009-12-18 17:13:43 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Did you run perl-cleaner after the last dev-lang/perl upgrade? I am asking this
> > because dev-perl/XML-Parser should be installed already.
> 
> "perl-cleaner modules" says: "Nothing to reinstall!"
> 
Please include emerge -pv perl-cleaner
Also anything with perl-cleaner --all
Comment 6 Nikos Chantziaras 2009-12-18 17:27:11 UTC
(In reply to comment #5)
> Please include emerge -pv perl-cleaner
> Also anything with perl-cleaner --all

  emerge -pv perl-cleaner
  ...
  [ebuild   R   ] app-admin/perl-cleaner-1.05  6 kB

  Total: 1 package (1 reinstall), Size of downloads: 6 kB

"perl-cleaner all" resulted in a huge output, exceeding my 3000 lines of Konsole scrollback. I don't think you want all of it?
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2009-12-18 17:33:43 UTC
No, not now.

Is dev-perl/XML-Parser really installed?
If it is, where did it put XML/Parser.pm?
Comment 8 Nikos Chantziaras 2009-12-18 17:46:07 UTC
(In reply to comment #7)
> No, not now.
> 
> Is dev-perl/XML-Parser really installed?
> If it is, where did it put XML/Parser.pm?

In /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/XML/Parser.pm

Also, doing:

  for f in $(equery files dev-perl/XML-Parser); do file "$f"; done

does not report any missing files.  I now emerged dev-perl/XML-Parser again though nonetheless.  Gimp now builds correctly.

So question is, why didn't it build previously?  Shouldn't perl-cleaner have catched that?
Comment 9 Nikos Chantziaras 2009-12-18 18:09:03 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > No, not now.
> > 
> > Is dev-perl/XML-Parser really installed?
> > If it is, where did it put XML/Parser.pm?
> 
> In /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/XML/Parser.pm

Hmm, after re-emerging, the files is now located elsewhere. Now they are in:

  /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/

When previously they were in:

  /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/

I remember changing the "ithreads" USE flag of perl a while ago because of a portage blocker (a package needed that flag.)

Reading the man page of perl-cleaner, I see that after changing from threaded to non-threaded and vice versa one should run "perl-cleaner reallyall".  I did that now but still get (after a bit text output): "Nothing to reinstall!".

The directory /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/ is still there though, and has files in it.  Running:

equery -q belongs -e $(find /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux) | sort | uniq

To find out which packages are still on that old directory, gives:

dev-perl/HTML-Parser-3.64

But "perl-cleaner reallyall" doesn't seem to detect that this needs to be rebuilt.
Comment 10 Torsten Veller (RETIRED) gentoo-dev 2009-12-18 18:15:44 UTC
(In reply to comment #9)
> But "perl-cleaner reallyall" doesn't seem to detect that this needs to be
> rebuilt.

Try perl-cleaner-2*. It's still masked but fixes the useflag toggle problem.
Comment 11 Torsten Veller (RETIRED) gentoo-dev 2009-12-19 12:02:23 UTC
Fixed.

*** This bug has been marked as a duplicate of bug 222767 ***