[pacman-dev] [PATCH 1/3] makepkg: send messages to stdout rather than stderr

Eli Schwartz eschwartz at archlinux.org
Tue Aug 14 01:25:40 UTC 2018

On 6/28/18 1:19 PM, Eli Schwartz wrote:
> This behavior is confusing, since it means absolutely everything goes to
> stderr and makepkg itself is a quiet program that produces no expected
> output???
> The only situation where messages should go to stderr rather than
> stdout, is with --geninteg which is meant to return the checksums on
> stdout (but we don't want to totally get rid of status messages when
> redirecting the results elsewhere, or, worse, redirect status messages
> to a PKGBUILD). For this specific case, redirect message output to
> stderr in the --geninteg callers directly.
> Implements FS#17173
Don't use this.

Actually the pkgver() function saves the stdout of run_function_safe to
a variable, and this patch would ensure the variable contains some
decidedly not-pkgver content. :(

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20180813/194271de/attachment.asc>

More information about the pacman-dev mailing list