Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#7638 - makepkg should source /etc/profile
Attached to Project:
Pacman
Opened by Alex Heck (nesl247) - Friday, 20 July 2007, 07:06 GMT
Last edited by Dan McGee (toofishes) - Friday, 24 August 2007, 00:59 GMT
Opened by Alex Heck (nesl247) - Friday, 20 July 2007, 07:06 GMT
Last edited by Dan McGee (toofishes) - Friday, 24 August 2007, 00:59 GMT
|
DetailsSummary and Info:
When running makepkg, and a dep is installed such as qt, if the PKGBUILD doesn't source the file itself, the var such as QTDIR won't be set, thus packages may fail to build. I haven't seen or received any answer that states that a pkgbuild is required to source the profile.d file, and would then remove the need to. Steps to Reproduce: |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 24 August 2007, 00:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Won't implement for now, a bit too complex and official PKGBUILDs already source the file themselves if necessary.
Friday, 24 August 2007, 00:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Won't implement for now, a bit too complex and official PKGBUILDs already source the file themselves if necessary.
1. It is known that you need to log out and log in to get profile changes to take effect, and very few packages are installed in /opt/* anyway.
2. You can start shells as login shells, and thus they do this sourcing for you. It isn't makepkg's job to do so.
3. Sourcing /etc/profile* from makepkg breaks KISS- makepkg should use the environment it is given, and this doesn't do that. If someone purposely set something in the environment that sourcing /etc/profile* would unset, this would get broken by sourcing it within makepkg and could not be easily overridden.
I'd vote for closing