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#48057 - makepkg printf error

Attached to Project: Pacman
Opened by sdfdsfsdf (dekece) - Saturday, 06 February 2016, 11:37 GMT
Last edited by Allan McRae (Allan) - Monday, 22 February 2016, 01:30 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.0
Due in Version 5.0.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Looked on google, and a problem with certain loal popped up. Just using makepkg normally sometimes gives printf error, everything works normally though.

/usr/share/makepkg/util/message.sh: ligne 53 : printf: source_x86_64: nombre non valable

The error means that the number is invalid, it did this in a few PKGBUILD, so unless all 5 of them were badly written there might be a probem with makepkg.
Seems like it tries to print a number, but the separator in french is a comma , instead of a dot . so that might be the problem


Steps to reproduce:
Install stuff from aur with makepkg with fr_CA locale
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 22 February 2016, 01:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in Transifex - will be pulled for 5.0.1
Comment by Allan McRae (Allan) - Saturday, 06 February 2016, 12:43 GMT
Give an example PKGBUILD. I did not replicate in the first couple I tried.
Comment by Antony Lee (anntzer) - Sunday, 07 February 2016, 07:44 GMT
My PKGBUILD for python-q (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-q) exhibits this issue (using the fr_FR.UTF-8 locale).
Comment by Allan McRae (Allan) - Sunday, 07 February 2016, 09:07 GMT
Thanks - I found the error.
Comment by sdfdsfsdf (dekece) - Sunday, 07 February 2016, 12:21 GMT
No prob, https://aur.archlinux.org/packages/peerflix/ also has it, I suspect it's a locale problem between english and any other language not using the same decimal separator, such as french.
Comment by Allan McRae (Allan) - Sunday, 07 February 2016, 12:25 GMT
It is just a bad translation.


#: scripts/makepkg.sh.in:478
msgid "Validating %s files with %s..."
-msgstr "Validation des fichiers % avec %s..."
+msgstr "Validation des fichiers %s avec %s..."

Loading...