You are not logged in.
I've been having problems since the upgrade. weechat and urxvt won't work, neither will cpan or any perl script because of errors like this
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
The scripts over here https://lists.archlinux.org/pipermail/a … 27236.html generate these results when I run them with the downgraded perl-5.20.1-1, but the .pl script throws errors with I run it with the latest perl.
┌[txtsd@dungeon-of-data]─[~/temp] [2]
└─▶ ./find-broken-perl-packages.sh
results are in "/tmp/find-broken-perl-package.8Q7HvF4E"
- {local-,}raw.txt is a list of files that caused errors
- pacman.txt is a list of packages that need to be rebuilt. Those are likely AUR packages
- local-perl-dists.txt is a list of cpan distributions installed to site_perl. Use cpan to rebuild them
additional files:
- {local-,}perl-modules.txt is a list of cpan modules that caused errors
- perl-dists.txt is a list of cpan distributions that caused errors
raw.txt
/usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Fs/_Fs.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Client/_Client.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Wc/_Wc.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Repos/_Repos.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Delta/_Delta.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Ra/_Ra.so
perl-modules.txt
Net::Libproxy
SVN::_Fs
SVN::_Client
SVN::_Core
SVN::_Wc
SVN::_Repos
SVN::_Delta
SVN::_Ra
perl-dists.txt
Net::Libproxy
pacman.txt
libproxy
subversion
I've run cpan> upgrade from perl-5.20.1-1 and upgraded all the modules that aren't dependent on perl-5.22.0-1
cpan[3]> upgrade
Package namespace installed latest in CPAN file
Gtk2 1.2492 1.2495 XAOC/Gtk2-1.2495.tar.gz
JSON 2.61 2.90 MAKAMAKA/JSON-2.90.tar.gz
Module::ExtractUse 0.33 0.330 DOMM/Module-ExtractUse-0.33.tar.gz
B 1.48 1.58 RJBS/perl-5.22.0.tar.bz2
IO::Tty::Constant undef 0.04 GBARR/IO-Tty-0.04.tar.gz
Image::Magick undef 6.89 JCRISTY/PerlMagick-6.89-1.tar.gz
JSON::PP::Boolean undef 2.27300 MAKAMAKA/JSON-PP-2.27300.tar.gz
JSON::backportPP::Boolean undef 2.27203 MAKAMAKA/JSON-2.61.tar.gz
SVN::Core .. v1.8.11 MSCHWERN/Alien-SVN-v1.8.11.0.tar.gz
Types::Serialiser::Error undef 1.0 MLEHMANN/Types-Serialiser-1.0.tar.gz
170 installed modules have no parsable version number
(use 'o conf show_unparsable_versions 1' to show them)
These are the packages left over that don't upgrade.
At this point, I understand there isn't any more I can do, so I upgrade perl to perl-5.22.0-1 and run cpan but
┌[txtsd@dungeon-of-data]─[~/temp]
└─▶ cpan
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
This is the first time I'm ever dealing with perl, so pardon my noobness. Help me get this working again, please. I need my urxvt and weechat to not be broken.
Last edited by txtsd (2015-07-05 06:43:43)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Mixing cpan and pacman is a bad idea™…
Remove/rebuild the problematic modules listed in the script outputs (against 5.22).
Offline
Mixing cpan and pacman is a bad idea™…
Remove/rebuild the problematic modules listed in the script outputs (against 5.22).
That's the problem, I can't do anything with 5.22 because it throws errors. 5.22 is basically unusable for me.
Should I remove the two pacman packages? I'm not sure what I should be doing here.
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Upgrade to 5.22, run the script from the ML and then remove/rebuild all of the modules that it picks up. That is what everyone else has done...
Offline
Upgrade to 5.22, run the script from the ML and then remove/rebuild all of the modules that it picks up. That is what everyone else has done...
Okay I finally understood what I was doing wrong.
The only problem file the script says I now have (after running against 5.22) is
/usr/lib/perl5/site_perl/auto/Compress/Raw/Bzip2/Bzip2.so
What should I do with it?
It's not a pacman package, so I can't pacman -Rn it.
cpan and cpanm don't work so I can't use cpanm to search for and uninstall it.
and running cpan throws this
┌[txtsd@dungeon-of-data]─[~/temp]
└─▶ cpan
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
So I'm not sure if I should get rid of this file too, or not.
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Pacman doesn't know about it?
pacman -Qo /usr/lib/perl5/site_perl/auto/Compress/Raw/Bzip2/Bzip2.so
In that case, manually remove it.
Offline
Pacman doesn't know about it?
pacman -Qo /usr/lib/perl5/site_perl/auto/Compress/Raw/Bzip2/Bzip2.so
In that case, manually remove it.
Ok so, I removed the file and ran the script again to see if it would say another file was being problematic and it did. It said Zlib.so next, so I removed it, and ran the script again, and it showed another file, so I kept doing this until eventually cpan wouldn't even run.
┌[txtsd@dungeon-of-data]─[/usr/lib/perl5/site_perl/auto]
└─▶ cpan
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/core_perl/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Safe.pm line 4.
Compilation failed in require at /usr/share/perl5/site_perl/CPAN.pm line 56.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPAN.pm line 56.
Compilation failed in require at /usr/share/perl5/site_perl/App/Cpan.pm line 273.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/App/Cpan.pm line 273.
Compilation failed in require at /usr/bin/site_perl/cpan line 9.
BEGIN failed--compilation aborted at /usr/bin/site_perl/cpan line 9.
This is clearly not the way to go about things. What can I try next?
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Are weechat and urxvt working? Your primary objective should be to ensure that the perl packages installed by pacman are working correctly.
After that you can worry about cpan.
Offline
Are weechat and urxvt working? Your primary objective should be to ensure that the perl packages installed by pacman are working correctly.
After that you can worry about cpan.
Nope, neither one works yet
EDIT: Also, how come none of the files in the folders in /usr/lib/perl5/site_perl/auto belong to any pacman package?
I removed all perl packages and reinstalled them and none of the files disappeared or changed.
Also pacman -Qo doesn't claim them.
How can I completely wipe perl and its family and reinstall it, if this folder is unaffected?
Last edited by txtsd (2015-07-05 03:54:18)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
jasonwryan wrote:Are weechat and urxvt working? Your primary objective should be to ensure that the perl packages installed by pacman are working correctly.
After that you can worry about cpan.
Nope, neither one works yet
Rinse and repeat...
EDIT: Also, how come none of the files in the folders in /usr/lib/perl5/site_perl/auto belong to any pacman package?
I removed all perl packages and reinstalled them and none of the files disappeared or changed.
Also pacman -Qo doesn't claim them.
Because you didn't install them with pacman.
Offline
txtsd wrote:jasonwryan wrote:Are weechat and urxvt working? Your primary objective should be to ensure that the perl packages installed by pacman are working correctly.
After that you can worry about cpan.
Nope, neither one works yet
Rinse and repeat...
EDIT: Also, how come none of the files in the folders in /usr/lib/perl5/site_perl/auto belong to any pacman package?
I removed all perl packages and reinstalled them and none of the files disappeared or changed.
Also pacman -Qo doesn't claim them.Because you didn't install them with pacman.
Is there a tool that can detect what is installed and register it as pacman packages?
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
No.
You need to clean it up yourself. First, as I said, get your pacman-installed packages working; then sort out the stuff cpan installed.
Offline
No.
You need to clean it up yourself. First, as I said, get your pacman-installed packages working; then sort out the stuff cpan installed.
You say that like I'll magically know exactly how to do it
I'm a noob at this. I've never done it before. A little hand holding would go a long way!
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Run urxvt from another terminal: note the error message. See which package owns the offending file (likely perl-scalar-list-utils), remove it. Repeat until done.
Offline
Run urxvt from another terminal: note the error message. See which package owns the offending file (likely perl-scalar-list-utils), remove it. Repeat until done.
Ok so I removed all files and directories from /usr/lib/perl5/site_perl and that seems to have gotten weechat working.
urxvt still won't launch. Its error doesn't point to a file.
┌[txtsd@dungeon-of-data]─[~/temp]
└─▶ urxvt
urxvt: symbol lookup error: urxvt: undefined symbol: Perl_xs_apiversion_bootcheck
EDIT:
┌[txtsd@dungeon-of-data]─[~/temp] [127]
└─▶ pacman -Ss perl-scalar-list-utils
core/perl 5.22.0-1 (base) [installed]
A highly capable, feature-rich programming language
┌[txtsd@dungeon-of-data]─[~/temp]
└─▶ yaourt -Ss perl-scalar-list-utils
core/perl 5.22.0-1 (base) [installed]
A highly capable, feature-rich programming language
┌[txtsd@dungeon-of-data]─[~/temp]
└─▶ pacman -Rn perl-scalar-list-utils
error: target not found: perl-scalar-list-utils
That package does not exist btw.
Last edited by txtsd (2015-07-05 05:35:29)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
...and what does the ML script say still requires cleanup?
Offline
...and what does the ML script say still requires cleanup?
Nothing. All generated files are empty!
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Stop using yaourt: it really isn't helping.
scalar-list-utils is now part of core perl. If the ML script is not producing any conflicts, reinstall perl and urxvt and you should be good to go.
Offline
Stop using yaourt: it really isn't helping.
scalar-list-utils is now part of core perl. If the ML script is not producing any conflicts, reinstall perl and urxvt and you should be good to go.
Reinstalling those did the trick! Thank You!
Could you explain why using yaourt is bad? I used to makepkg manually when I first started using Arch, but yaourt has saved me a lot of time and effort since.
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
You are posting in the pacman thread: yaourt should only be used for the AUR, confusing the two leads to all sorts of unnecessary grief.
Offline
You are posting in the pacman thread: yaourt should only be used for the AUR, confusing the two leads to all sorts of unnecessary grief.
Well, yea. But I only searched on the AUR because I couldn't find the package in the pacman repos, and I didn't know about it being merged with the base package. I don't use it recklessly; only for packages that I need that aren't in the official repos.
Last edited by txtsd (2015-07-05 06:53:30)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline