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#68004 - fix /etc/profile.d/perlbin.sh

Attached to Project: Arch Linux
Opened by Steven De Bondt (eggz) - Saturday, 26 September 2020, 11:46 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 26 September 2020, 12:13 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

source /etc/profile.d/perlbin.sh

Solution:

I have no idea why there is a 'append_path' reference in that sourcefile, but it doesnt exist anywhere.

please rechange it to something like "PATH=$PATH:/usr/bin/site_perl", so we can finally get rid of these errors while opening shells and stuff.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 26 September 2020, 12:13 GMT
Reason for closing:  Not a bug
Comment by Jelle van der Waa (jelly) - Saturday, 26 September 2020, 11:55 GMT
It surely does exist, as your perl PATH should be setup via sourcing /etc/profile which has append_path defined. What version of filesystem do you have installed?

[jelle@natrium][~]%grep -r append_path /etc/profile*
/etc/profile:append_path () {
/etc/profile:append_path '/usr/local/sbin'
/etc/profile:append_path '/usr/local/bin'
/etc/profile:append_path '/usr/bin'
/etc/profile:unset -f append_path
/etc/profile.d/perlbin.sh:[ -d /usr/bin/site_perl ] && append_path '/usr/bin/site_perl'
/etc/profile.d/perlbin.sh:[ -d /usr/bin/vendor_perl ] && append_path '/usr/bin/vendor_perl'
/etc/profile.d/perlbin.sh:[ -d /usr/bin/core_perl ] && append_path '/usr/bin/core_perl'
Comment by Steven De Bondt (eggz) - Saturday, 26 September 2020, 12:00 GMT
oh my,

so I guess the solution here was "sudo mv /etc/profile.pacnew /etc/profile"

Thanks again, pacman was a bit too careful with not overwriting this file I guess.
Comment by Jelle van der Waa (jelly) - Saturday, 26 September 2020, 12:13 GMT

Loading...