Bug#782580: Building grub2 package with LANG=fr_FR.UTF-8 fail

2015-04-14 Thread Felix Zielcke
Am Dienstag, den 14.04.2015, 14:27 +0200 schrieb
jean-y...@lenhof.eu.org:
 Source: grub2
 Severity: minor
 
 Dear Maintainer,
 
 I dit try to build all grub2 package from source. (Because I'm trying to 
 add a patch, will probably post a separate bug report later if it 
 works). My fresh debian jessie installation is using LANG=fr_FR.UTF-8
 
 When I dit a debuild, it failed on three tests :
 

Hi,

thanks for testing this.
With my LANG=de_DE.UTF-8 only the iso9660 seems to fail
I fixed it with setting LC_MESSAGES=C.UTF-8 in rules
Can you please try this if this also is enough for you?

diff --git a/debian/rules b/debian/rules
index 5264310..63bac87 100755
--- a/debian/rules
+++ b/debian/rules
@@ -209,7 +209,7 @@ debian/stamps/build-grub-xen-host: 
debian/stamps/build-grub-xen-host-i386 debian
 debian/stamps/build-grub-pc: debian/stamps/configure-grub-pc
dh_auto_build
 ifeq ($(with_check), yes)
-   LC_CTYPE=C.UTF-8 PATH=$$PATH:/sbin:/usr/sbin VERBOSE=1 dh_auto_test 
--max-parallel=1
+   LC_MESSAGES=C.UTF-8 LC_CTYPE=C.UTF-8 PATH=$$PATH:/sbin:/usr/sbin 
VERBOSE=1 dh_auto_test --max-parallel=1
 endif
touch $@
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#782580: Building grub2 package with LANG=fr_FR.UTF-8 fail

2015-04-14 Thread jean-yves

Source: grub2
Severity: minor

Dear Maintainer,

I dit try to build all grub2 package from source. (Because I'm trying to 
add a patch, will probably post a separate bug report later if it 
works). My fresh debian jessie installation is using LANG=fr_FR.UTF-8


When I dit a debuild, it failed on three tests :

FAIL: ext234_test
=

Périphérique proc : Type de système de fichiers procfs - Taille de 
secteur 512 o - Taille totale 0 Kio
Périphérique loop0 : Type de système de fichiers ext* - Étiquette 
« g;/éт 鍊 » - Dernière date de modification mardi 14/04/2015 10:11:38, 
UUID 8ebeaf1a-19d1-49cb-b092-8b9ef37f0a56 - Taille de secteur 512 o - 
Taille totale 5939200 Kio
Périphérique host : Type de système de fichiers hostfs - Taille de 
secteur 512 o - Taille totale 0 Kio


LABEL FAIL
Périphérique loop0 : Type de système de fichiers ext* - Étiquette 
« g;/éт 鍊 » - Dernière date de modification mardi 14/04/2015 10:11:38, 
UUID 8ebeaf1a-19d1-49cb-b092-8b9ef37f0a56 - Taille de secteur 512 o - 
Taille totale 5939200 Kio
/dev/loop0: LABEL=g;/M-CM-)M-QM-^B M-pM-/M-M-^[M-pM-^_M-^XM-^A 
UUID=8ebeaf1a-19d1-49cb-b092-8b9ef37f0a56 TYPE=ext2


FAIL: iso9660_test
==

xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 
'stdio:/tmp/tmp.RUB9UBGr99/joliet_512_512_1_0.img'

Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 2135m free
xorriso : WARNING : -volid text problematic as automatic mount point 
name

xorriso : WARNING : -volid text is too long for Joliet (32  16)
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 
rules

Added to ISO image: directory '/'='/tmp/tmp.RUB9UBGr99/master'
xorriso : UPDATE : 231 files added in 1 seconds
xorriso : UPDATE : 231 files added in 1 seconds
xorriso : UPDATE :  37.99% done
xorriso : UPDATE :  37.99% done
xorriso : UPDATE :  100.00% done
ISO image produced: 21561 sectors
Written to medium : 21561 sectors at LBA 0
Writing to 'stdio:/tmp/tmp.RUB9UBGr99/joliet_512_512_1_0.img' completed 
successfully.


Périphérique proc : Type de système de fichiers procfs - Taille de 
secteur 512 o - Taille totale 0 Kio
Périphérique loop0 : Type de système de fichiers iso9660 - Étiquette 
« g;/_é䏌䐓䏕䎛䎾䏴кит u » - Dernière date de modification mardi 14/04/2015 
10:11:39, UUID 2015-04-14-10-11-39-00 - Taille de secteur 512 o - Taille 
totale 43122 Kio
Périphérique host : Type de système de fichiers hostfs - Taille de 
secteur 512 o - Taille totale 0 Kio


LABEL FAIL
Périphérique loop0 : Type de système de fichiers iso9660 - Étiquette 
« g;/_é䏌䐓䏕䎛䎾䏴кит u » - Dernière date de modification mardi 14/04/2015 
10:11:39, UUID 2015-04-14-10-11-39-00 - Taille de secteur 512 o - Taille 
totale 43122 Kio


FAIL: fat_test
==

mkfs.fat 3.0.27 (2014-11-12)
Loop device does not match a floppy size, using default hd params
Warning: More than 32765 sector need TOS 1.04 or higher.
Périphérique proc : Type de système de fichiers procfs - Taille de 
secteur 512 o - Taille totale 0 Kio
Périphérique loop0 : Type de système de fichiers fat - Étiquette 
« GRUBTEST ;_ », UUID - - Taille de secteur 512 o - Taille 
totale 3 Kio
Périphérique host : Type de système de fichiers hostfs - Taille de 
secteur 512 o - Taille totale 0 Kio


LABEL FAIL
Périphérique loop0 : Type de système de fichiers fat - Étiquette 
« GRUBTEST ;_ », UUID - - Taille de secteur 512 o - Taille 
totale 3 Kio



After some little investigation, I could finally built it using LANG=C 
before doing the debuild command.




Regards,

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org