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#17173 - [makepkg] all messages are printed to stderr
Attached to Project:
Pacman
Opened by Sven-Hendrik Haase (Svenstaro) - Tuesday, 17 November 2009, 08:36 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:31 GMT
Opened by Sven-Hendrik Haase (Svenstaro) - Tuesday, 17 November 2009, 08:36 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:31 GMT
|
DetailsIt appears as though all messages wrong makepkg are written to stderr instead of just the errors. Looking at the makepkg.sh.in source files reveals that this is indeed the case. I believe this is wrong behavior as normal messages should be written to stdout instead. I did not find any clues as to why the current behavior is used.
Can this be considered a bug or am I missing something? |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Friday, 11 October 2019, 19:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=882e707e40bbade0111cf3bdedbdac4d 4b70453b
Friday, 11 October 2019, 19:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=882e707e40bbade0111cf3bdedbdac4d 4b70453b
"makepkg -g >> PKGBUILD"
That makepkg -g statement is probably muscle memory for most heavy makepkg users out there when they do actual packaging (as opposed to building from ABS). Looking at the issue from another angle, what is the problem with everything going to stderr other than it being unexpected at first?
I am just thinking about one line before all printing functions of makepkg. So that if someone looks at makepkg code to find out how stuff are printed, he would find this comment.