Bug 577350 - java-1.5.0-gcj triggerin missing dependency on perl(File::Spec)
Summary: java-1.5.0-gcj triggerin missing dependency on perl(File::Spec)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.5.0-gcj
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 573793 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-26 18:25 UTC by Matt Domsch
Modified: 2018-04-11 13:15 UTC (History)
7 users (show)

Fixed In Version: java-1.5.0-gcj-1.5.0.0-31.fc13
Clone Of:
Environment:
Last Closed: 2010-04-09 04:02:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2010-03-26 18:25:24 UTC
Description of problem:
triggerin scriptlet fails due to unsatisfied dependency.

Doing a 'yum upgrade' from F12 to F13 today, I get this:

  Updating       : libgcj-4.4.3-8.fc13.x86_64                                                                                                       604/2235
Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
+/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0
+/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at -e
+line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
+/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0
+/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at -e
+line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
+/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0
+/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at -e
+line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
+/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0
+/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at -e
+line 1.
BEGIN failed--compilation aborted at -e line 1.
  Updating       : usermode-gtk-1.104.1-1.fc13.x86_64                                                                                               605/2235


Version-Release number of selected component (if applicable):
java-1.5.0-gcj-1.5.0.0-30.fc13.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum upgrade from F12 to F13, while missing perl(File::Spec)
2.
3.
  
Actual results:
see above

Expected results:
no failure

Additional info:
needs to add a Requires(triggerin): perl(File::Spec)

Comment 1 Stepan Kasal 2010-03-30 13:12:19 UTC
(In reply to comment #0)
> Description of problem:
> triggerin scriptlet fails due to unsatisfied dependency.
> 
> Doing a 'yum upgrade' from F12 to F13 today, I get this:
> 
>   Updating       : libgcj-4.4.3-8.fc13.x86_64                                  
>                                                                     604/2235
> BEGIN failed--compilation aborted at -e line 1.
> Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> +/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> +/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl .) at -e
> +line 1.
> BEGIN failed--compilation aborted at -e line 1.
> Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> +/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> +/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl .) at -e
> +line 1.
> BEGIN failed--compilation aborted at -e line 1.
> Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> +/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> +/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl .) at -e
> +line 1.
> BEGIN failed--compilation aborted at -e line 1.
>   Updating       : usermode-gtk-1.104.1-1.fc13.x86_64                          
>                                                                     605/2235
> 
> 
> Version-Release number of selected component (if applicable):
> java-1.5.0-gcj-1.5.0.0-30.fc13.x86_64
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. yum upgrade from F12 to F13, while missing perl(File::Spec)

You mean with no Perl installed?  Or with a non-Fedora version of Perl?
AFA I can find evidence, perl(File::Spec) was always provided by the perl-*.x86_64.rpm itself.

> Additional info:
> needs to add a Requires(triggerin): perl(File::Spec)

You are right, but this makes no difference unless a non-Fedora perl.rpm is used, because /usr/bin/perl and /usr/.../File/Spec.pm are in the same binary rpm.

Or is it possible that this is caused by a weird combination of perl.i686 and perl.x86_64?
can you reproduce the bug?  If yes, then what is the output of "rpm -q perl"?
Does /usr/share/perl5/File/spec.pm exist?

> Can't locate File/Spec.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> +/usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> +/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl .) at -e
> +line 1.

This indicates that a perl-5.10.1 build, with the correct @INC, and the same rpm should contain /usr/share/perl5/File/Spec.pm

I cannot find the cause without more informations, sorry...

Comment 2 Matt Domsch 2010-03-30 13:57:10 UTC
I had perl installed, perl-5.10.0-87.fc12.x86_64.rpm installed 12 January 2010.  I see that it has /usr/lib/perl5/5.10.0/File/Spec.pm present in that RPM.

If you look closely though, this is in /usr/lib/perl5/5.10.0/File/, but this directory is not on @INC for some reason.

Comment 3 Fedora Update System 2010-03-30 18:42:57 UTC
java-1.5.0-gcj-1.5.0.0-31.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/java-1.5.0-gcj-1.5.0.0-31.fc13

Comment 4 Fedora Update System 2010-04-09 04:02:23 UTC
java-1.5.0-gcj-1.5.0.0-31.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Deepak Bhole 2010-04-13 16:49:20 UTC
*** Bug 573793 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.