Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45518 - [perl] broken symlink in package

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Wednesday, 01 July 2015, 12:52 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 15 December 2015, 09:11 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The perl PKGBUILD contains the following command:
ln -sf s2p psed
The package doesn't contain a file called s2p so the symlink is broken.
This task depends upon

Closed by  Florian Pritz (bluewind)
Tuesday, 15 December 2015, 09:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  perl 5.22.1-1
Comment by Eduardo Leggiero (EduardoLeggiero) - Monday, 12 October 2015, 09:30 GMT
Hi guys, any progress on this issue, there are a lot of scripts that use psed.
Comment by Florian Pritz (bluewind) - Monday, 12 October 2015, 09:57 GMT
s2p (psed) has been removed from perl core so the symlink is unnecessary and will be removed in the next package. If you want to use the tool you need to install it from CPAN as is explained in `man perl5220delta` (search for "s2p"). Installing from CPAN will put the executable into vendor_perl and so the broken symlink in core_perl will not affect you. This is really only a cosmetic bug.
Comment by Aaron Reichenbach (ar0x) - Monday, 12 October 2015, 18:11 GMT
I uploaded a PKGBUILD in the AUR for perl-psed. Link: https://aur.archlinux.org/packages/perl-psed/

It will build just psed and s2p into /usr/bin/vendor_perl. If you have existing scripts that depend on those two being in /usr/bin/core_perl, just:

sudo rm /usr/bin/core_perl/{psed,s2p}
sudo ln -sfv /usr/bin/vendor_perl/{psed,s2p} /usr/bin/core_perl

Though your symlinks will probably have to be redone once the perl package is updated. I will update the PKGBUILD to build into /usr/bin/core_perl/ if it's an issue after the dead link has been removed.

Loading...