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#9156 - makepkg build logs are localized
Attached to Project:
Pacman
Opened by Thomas Bächler (brain0) - Friday, 11 January 2008, 16:23 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 06 February 2008, 01:55 GMT
Opened by Thomas Bächler (brain0) - Friday, 11 January 2008, 16:23 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 06 February 2008, 01:55 GMT
|
Detailsmakepkg doesn't unset the locale anymore before starting build(). Thus all make/gcc/foo messages are localized, making them useless for posting build logs online.
Solution: Unset locale before calling build(). |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 06 February 2008, 01:55 GMT
Reason for closing: Fixed
Additional comments about closing: See commit a7a9f37561b45d2d2900b4c419ac3b9f0c7f2d75 , locale issues are now documented in makepkg.8
Wednesday, 06 February 2008, 01:55 GMT
Reason for closing: Fixed
Additional comments about closing: See commit a7a9f37561b45d2d2900b4c419ac3b9f0c7f2d75 , locale issues are now documented in makepkg.8
http://www.archlinux.org/pipermail/pacman-dev/2007-May/008279.html
Anyway, I agree that localizing the build messages is not practical when you want to share them.
But on the other hand, it looks a little hackish to have makepkg unset them. Also, what if an user does want to have
the messages localized? In the current situation, the messages are localized by default if the system locale is set.
And that can be overwritten with LC_MESSAGES=C makepkg. Maybe this is not widely known, but in this case, the information
could be spread, couldn't it?
To know if some users do want having localized build messages, and if they do, informing them that they
should use LC_ALL=C before sharing outputs.
I asked on IRC. slubman said he liked having the localized french output :
15:01 slubman >> keep my gcc messages in french !!
and Xilon :
15:05 Xilon >> shining: removing a feature isn't really a good idea if you can just change it temporarily
15:05 Xilon >> It's good that makepkg respects LANG
* you're reporting a bug, in which case you'd want everything in the C locale.
* you're running as normal, in which case you'd want it in your default locale.
I agree we should make a note to use LC_ALL if sharing output, and close this with "Won't Implement"