FS#23315 - Makepkg gives fatal error if locale isn't set to en_US.utf8

Attached to Project: Pacman
Opened by Andreas (misc) - Thursday, 17 March 2011, 16:18 GMT
Last edited by Dan McGee (toofishes) - Sunday, 20 March 2011, 15:43 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version 3.5.0
Due in Version 3.5.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

If the LC_ALL variable is not set to en_US.utf8 (that is, left at my default de_DE.utf8) makepkg -s will fail without error message for certain PKGBUILDs (such as yaourt-git and vlc-git from AUR):

==> Erstelle Paket [Creating package]...
-> Erstelle .PKGINFO-Datei [Generating .PKGINFO file]...
/usr/bin/makepkg: Zeile 99: printf: `D': Ungültiges Formatierungszeichen. [Line 99 … Invalid formatting symbol]
-> Füge [Adding] %
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 20 March 2011, 15:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in Transifex
Comment by Dan McGee (toofishes) - Thursday, 17 March 2011, 17:03 GMT
  • Field changed: Summary ([makepkg] fatal error if locale isn't set to en_US.utf8 → Makepkg gives fatal error if locale isn't set to en_US.utf8)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (General → makepkg)
  • Task assigned to Allan McRae (Allan)
You've generalized here. It breaks for de_DE.utf8 only unless you've tested every other one of our 20+ translations.
Comment by Andreas (misc) - Thursday, 17 March 2011, 17:10 GMT
True. Sorry about that.
Comment by Allan McRae (Allan) - Friday, 18 March 2011, 00:32 GMT
Bug in German translation:

msgid "Adding %s file..."
msgstr "Füge % Datei hinzu..."

Loading...