Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 509408

Summary: dev-perl/MP3-Tag should depend on dev-perl/MP3-Info - mp3info2: Can't locate MP3/Info.pm in @INC
Product: Gentoo Linux Reporter: Sergio <hujuice>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: erkiferenc, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: MP3-Tag-1.130.0.ebuild

Description Sergio 2014-05-02 17:18:50 UTC
Right after emerging dev-perl/MP3-Tag I got this:
$ mp3info2 -p "%r" hey\ people\ hey.mp3 
Can't locate MP3/Info.pm in @INC (@INC contains: /usr/bin /etc/perl /usr/local/lib64/perl5/5.16.3/x86_64-linux /usr/local/lib64/perl5/5.16.3 /usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.3/x86_64-linux /usr/lib64/perl5/5.16.3 .) at /usr/lib64/perl5/vendor_perl/5.16.3/MP3/Tag.pm line 2849.

After emerging also dev-perl/MP3-Info I got this:
$ mp3info2 -p "%r" hey\ people\ hey.mp3 
320

The second result (the bitrate) is the expected result.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-perl/MP3-Tag and NOT dev-perl/MP3-Info
2. run 'mp3info2 -p "%r" almost_some_file.mp3' and see the error
3. emerge dev-perl/MP3-Info and the error disappear
Actual Results:  
Emerging dev-perl/MP3-Info the issue is resolved

Expected Results:  
dev-perl/MP3-Tag should depend on dev-perl/MP3-Info 

I don't know if it is reproducible for every mp3 file.
My file was poor in id3v[1|2] tags.
Comment 1 Ferenc Erki 2014-05-06 21:28:43 UTC
Created attachment 376526 [details]
MP3-Tag-1.130.0.ebuild

Update dependencies.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-05-07 08:00:11 UTC
dev-perl/MP3-Info should have ~arm keyword at least
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-05-07 08:04:39 UTC
+  07 May 2014; Mikle Kolyada <zlogene@gentoo.org> MP3-Tag-1.130.0.ebuild:
+  Add missing dependency on dev-perl/MP3-Info (bug #509408)
+

thanks FErki :)