FS#38024 - [texlive-bin] biber needs PAR.pm and has problems with @INC
Attached to Project:
Arch Linux
Opened by Nikolay Amiantov (abbradar) - Thursday, 05 December 2013, 14:45 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 24 July 2016, 16:48 GMT
Opened by Nikolay Amiantov (abbradar) - Thursday, 05 December 2013, 14:45 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 24 July 2016, 16:48 GMT
|
Details
Description:
biber exits with error when trying to process a file: Can't locate PAR.pm in @INC (@INC contains: /usr/local/perl/lib/site_perl/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/site_perl/5.16.2 /usr/local/perl/lib/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/5.16.2 /usr/local/perl/lib/site_perl .) at -e line 951. First, @INC looks completely incorrect here (looks like biber binary was built the wrong way). Second, it depends on "perl-par" (currently in AUR) to operate. Also, after some dirty hacking with symlinks to add strict.pm and PAR.pm to its path, it fails with: Can't locate Config.pm in @INC (@INC contains: /usr/local/perl/lib/site_perl/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/site_perl/5.16.2 /usr/local/perl/lib/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/5.16.2 /usr/local/perl/lib/site_perl .) at /usr/local/perl/lib/5.16.2/PAR.pm line 7. BEGIN failed--compilation aborted at /usr/local/perl/lib/5.16.2/PAR.pm line 7. Compilation failed in require at -e line 951. I don't have any Perl expertise, so I can't figure out what hack can I apply from here, but this package definitely looks broken. Additional info: * package version(s) texlive-bin 2013.30973-7 * config and/or log files etc. Steps to reproduce: 1. Run "biber somefile.bib" |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Sunday, 24 July 2016, 16:48 GMT
Reason for closing: Fixed
Sunday, 24 July 2016, 16:48 GMT
Reason for closing: Fixed
$ biber smth
Can't locate PAR.pm in @INC (@INC contains: /usr/local/perl/lib/site_perl/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/site_perl/5.16.2 /usr/local/perl/lib/5.16.2/x86_64-linux-thread-multi /usr/local/perl/lib/5.16.2 /usr/local/perl/lib/site_perl .) at -e line 951.
$
"smth" may not even exist, this doesn't make a difference.
$ env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl biber a
It works. The same command doesn't work on my main system.
linux(-headers)-ab is my own kernel build.
Can't locate PAR.pm in @INC (@INC contains: /usr/local/perl/lib/site_perl/5.16.2/i686-linux-thread-multi /usr/local/perl/lib/site_perl/5.16.2 /usr/local/perl/lib/5.16.2/i686-linux-thread-multi /usr/local/perl/lib/5.16.2 /usr/local/perl/lib/site_perl .) at -e line 951.
My printenv output: http://bin.postblue.info/irenofazab
My pacman -Qm output: http://bin.postblue.info/tixajunoja
For what it's worth: running over i686.
EDIT: reinstalled texlive-bin, now biber is running fine. It's completely nuts. Now I have to maintain my Linux distribution as Windows and reinstall programs when they're bugging ? :p
Look at my attachments. It contains,
* dummy biber execution using biber -h
* pacman -Qi perl-pac
* pacman -Ql perl-pac
* pacman -Qm
* pacman -Qs perl
* perl -V
* pacman -Qs texlive
If you see biber output and "perl -V" output, there are different path for both of them.
fixing a number of issues due to not being built the official way as a Perl program.
Please report new issues in separate bugs.