Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707582 - dev-tex/biber-2.12 should RDEPEND on dev-perl/Sub-Name - biber: Can't locate Sub/Name.pm in @INC
Summary: dev-tex/biber-2.12 should RDEPEND on dev-perl/Sub-Name - biber: Can't locate ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: jonas.licht
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 15:41 UTC by Jon Hood
Modified: 2022-02-26 05:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood 2020-01-31 15:41:33 UTC
When running biber, there is a runtime dependency on dev-perl/Sub-Name.

Reproducible: Always

Steps to Reproduce:
1. On a clean Gentoo install, "emerge biber"
2. Run biber against a sourced latex document
3. Note that Sub-Name did not get installed as a runtime dependency, resulting in failed attempts to run biber.
Actual Results:  
$ biber main
Can't locate Sub/Name.pm in @INC (you may need to install the Sub::Name module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.30.0/x86_64-linux /usr/local/lib64/perl5/5.30.0 /usr/lib64/perl5/vendor_perl/5.30.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.30.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.26.2 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.30.0/x86_64-linux /usr/lib64/perl5/5.30.0) at /usr/lib64/perl5/vendor_perl/5.30.0/Package/DeprecationManager.pm line 13.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/Package/DeprecationManager.pm line 13.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/DateTime/Format/Strptime.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/DateTime/Format/Strptime.pm line 20.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
Compilation failed in require at (eval 220) line 1.
BEGIN failed--compilation aborted at (eval 220) line 1.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/DateTime/Format/Builder.pm line 220.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Date/Format.pm line 8.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Date/Format.pm line 8.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Constants.pm line 10.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Constants.pm line 10.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Internals.pm line 7.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/Biber/Internals.pm line 7.
Compilation failed in require at /usr/lib64/perl5/5.30.0/parent.pm line 16.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.0/Biber.pm line 5.
Compilation failed in require at /usr/bin/biber line 17.
BEGIN failed--compilation aborted at /usr/bin/biber line 17.

Expected Results:  
$ biber main
INFO - This is Biber 2.12
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 0 citekeys in bib section 0
WARN - The file 'main.bcf' does not contain any citations!
INFO - Writing 'main.bbl' with encoding 'UTF-8'
INFO - Output to main.bbl
INFO - WARNINGS: 1
Comment 1 Jon Hood 2020-01-31 15:43:06 UTC
Simply emerging Sub-Name resolves the issue for me.
Comment 2 jonas.licht 2020-04-15 12:37:01 UTC
Biber does not use Sub::Name Module directly.
It's used by dev-perl/Package-DeprecationManager, which already requires dev-perl/Sub-Name.

Maybe you did a perl update and something went wrong.
Was the package dev-perl/Sub-Name already installed, before your merge?
Comment 3 Jon Hood 2020-04-15 19:57:32 UTC
(In reply to jonas.licht from comment #2)
> Biber does not use Sub::Name Module directly.
> It's used by dev-perl/Package-DeprecationManager, which already requires
> dev-perl/Sub-Name.
> 
> Maybe you did a perl update and something went wrong.
> Was the package dev-perl/Sub-Name already installed, before your merge?

Odd - I literally had a brand new install and "emerge biber" as the first thing I did. No issues on the merge, and running biber resulted in the above error. As it's working well now, I don't have much of an inclination to go reproduce the issue, but I can't figure out why it didn't get pulled in.