Pacman

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.
Tasklist

FS#28857 - makepkg -s fails with locale fi_FI on git revision determination

Attached to Project: Pacman
Opened by Lari Tikkanen (disastro) - Saturday, 10 March 2012, 21:44 GMT
Last edited by Allan McRae (Allan) - Friday, 15 March 2013, 09:52 GMT
Task Type Bug Report
Category i18n & l10n
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.2
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
makepkg -s fails with fi_FI locale when it prints the localized version of the message "==> WARNING: Cannot find the git binary required to determine latest git revision." with "/usr/bin/makepkg: line 105: printf: ” ”: invalid format character"
Line 105 reads "printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2"
LANG=C makepkg -s is working
x86_64 with multilib enabled but should affect all architechtures, system is fully up-to-date
Steps to Reproduce:
wget https://aur.archlinux.org/packages/pa/packer/packer.tar.gz
tar xvf packer.tar.gz
cd packer
Without git installed, makepkg -s
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 15 March 2013, 09:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 1e21aa58
Comment by Allan McRae (Allan) - Saturday, 10 March 2012, 23:48 GMT
Here is the culprit:

msgid "Cannot find the %s binary required to determine latest %s revision."
msgstr "Uusimman %s-version etsimiseen tarvittavaa ohjelmaa %1 ei löydy."

you can not use positional parameters in gettext with bash.
Comment by Allan McRae (Allan) - Saturday, 10 March 2012, 23:50 GMT
Dan: I had a look on transifex and see no obvious way to contact the fi_FI translator. Can you do that as project administrator?
Comment by Allan McRae (Allan) - Saturday, 10 March 2012, 23:52 GMT
Also:
fi.po:msgstr "%2$s ei tarjoa pyydettyä pakettia %1$s"


Comment by Allan McRae (Allan) - Sunday, 22 April 2012, 09:54 GMT
@Dan: is there a way to report these to the translators through transifex?
Comment by Lari Tikkanen (disastro) - Sunday, 22 April 2012, 10:39 GMT
I've contacted the translator with e-mail, atleast someone I believe to be him.
Comment by Dan McGee (toofishes) - Monday, 23 April 2012, 11:54 GMT
Sorry, Allan- yes, this can be done. I'll look into this before the next minor release.

Loading...