[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011254: marked as done (The UDEB package "localechooser" contains probably some buggy source code in "05localechooser" file)



Your message dated Thu, 18 Aug 2022 21:20:32 +0000
with message-id <E1oOmwK-00FUD5-Nr@fasolo.debian.org>
and subject line Bug#1011254: fixed in localechooser 2.96
has caused the Debian Bug report #1011254,
regarding The UDEB package "localechooser" contains probably some buggy source code in "05localechooser" file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1011254: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011254
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: localechooser
Version: 2.94

Dear Maintainers,

While working on my customized Debian installer (DI) I noticed that the "./usr/lib/post-base-installer.d/05localechooser" file from the "localechooser_2.93_*.udeb" package (at least for AMD64 and ARM64 architectures) contains probably buggy source code for calculating the value of the "LEVEL" variable (on lines 87-91). The problems are in "cut" commands (on lines 88 and 91) which should probably be:
cut -f 1-3 -d \;
cut -f 2 -d \;

Currently the "LEVEL" variable seems to get the empty string value because the "grep" command (on line 89) cannot find the language code (because the first field is removed by the first "cut" command). Maybe the "LANGUAGECODE" variable on line 83 could be avoided and merged into the "LEVEL" variable if command substitution is done using "$(...)" resulting in this proposed source code:
LEVEL=$(cat /usr/share/localechooser/languagelist | \
            cut -f 1-3 -d \; | \
            grep $(echo $LOCALE | cut -f 1 -d _) | \
            head -n 1 | \
            cut -f 2 -d \;)

My customized DI (with various other removed and modified files) seems to work normally with the mentioned proposed source code. I also successfully tested the proposed source code for calculating the value of the "LEVEL" variable on the "./usr/share/localechooser/languagelist" file from the "localechooser_2.93_*.udeb" package.

I checked the "localechooser" 2.94 package and the "05localechooser" file is the same (and "languagelist" file structure is also the same), but verify/test what I found if needed.

Best Regards
Jmkr

--- End Message ---
--- Begin Message ---
Source: localechooser
Source-Version: 2.96
Done: Philip Hands <phil@hands.com>

We believe that the bug you reported is fixed in the latest version of
localechooser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011254@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philip Hands <phil@hands.com> (supplier of updated localechooser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 18 Aug 2022 21:09:07 +0200
Binary: localechooser
Source: localechooser
Architecture: amd64 source
Version: 2.96
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philip Hands <phil@hands.com>
Closes: 1011254
Description: 
 localechooser - choose language/country/locale (udeb)
Changes:
 localechooser (2.96) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Updated translations ]
   * Vietnamese (vi.po) by Trần Ngọc Quân
 .
   [ Philip Hands ]
   * enable salsa-ci
   * really detect the language level (closes: 1011254)
   * Lintian prompted changes:
     * add -n to gzip call (reproducibility)
     * add myself to Uploaders (to quell lintian)
     * set Rules-Requires-Root: no
Checksums-Sha1: 
 691ec5e85edecd95ed65c79caa0275519e0e306e 1811 localechooser_2.96.dsc
 6e37efd2ebeea97e4e0da65ea008751a09c903d4 182696 localechooser_2.96.tar.xz
 6ffc5da9039ff4cf27fcc335a990f7641a5f41bd 6039 localechooser_2.96_amd64.buildinfo
 3ce3916a3ae120a51ada68bd74a2aeef0712cdff 203356 localechooser_2.96_amd64.udeb
Checksums-Sha256: 
 24362c787ea7ab99a5c9492d3c6521eebae1109d2e41284e98df20828de2b539 1811 localechooser_2.96.dsc
 50a4174e3b829570ba7c86487d7a4e378a2d23052c2c4598b31df3085fd3c156 182696 localechooser_2.96.tar.xz
 2b7d634c87cfca3578a7e828ead99844cc1dae6edc2321f1ae45f12138f93851 6039 localechooser_2.96_amd64.buildinfo
 70cd46fafaeb8febffd154ce8e3638266b88569cb0050c819f16e55cbfef92ba 203356 localechooser_2.96_amd64.udeb
Files: 
 3145e12c0d0e3e34e09b4669929086b0 1811 debian-installer optional localechooser_2.96.dsc
 bb6c11ed37b89d8385adb2768e9dbc14 182696 debian-installer optional localechooser_2.96.tar.xz
 74c29959ddd7ddf2db2744888e4d0e62 6039 debian-installer optional localechooser_2.96_amd64.buildinfo
 b660e13074476e39c9eac8c494136fbd 203356 debian-installer optional localechooser_2.96_amd64.udeb

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEE3/FBWs4yJ/zyBwfW0EujoAEl1cAFAmL+pIAPHHBoaWxAaGFu
ZHMuY29tAAoJENBLo6ABJdXA1GIP/A0TkfHwyiQ6M/Z5lbrpe11408kFgYb3Zt7R
qXkm3HBgZGPkFqccp0R4hV42vQsKb7rudTJ1jSijCoV/D+3cnHSoiyGpDtw8gXaR
8ib8wcWgwmVPs/W6JveuPTYgTKv2KP7thf7IWlrm/fVzzAQxwSeATaWctl1PtS9G
Dg2FSEq+OXWXGkPLIKr8LOd6Xk0u472m5IkWJdxJZW+M7Qw7VJvda8TVSI7h4LBo
DECQ8ERMF456S3Rf0nQnBHaOu/HzvtXHVtb2D4Z2Vt30j3uK9XPkAohuvJ5s/SeP
4bMJbSdBs8iE7F2MZfZt0aKahhp5TEKIrET+zpYc0xqpFl+UOmBi1EXbixCrF2jQ
eiZZx1azAtpDAmNSwh3o6kCJYthIvhjBmrfPzd/vfz+PabLlUFMpjsmQK2McTS+E
bphLKN+55VDLps4/eLe9gytjssG/+YJJ7eNsOnFboGBsTbyAHG7VKH9+EfrS6wNF
XBwArPqOY65GLXfJXXs4YRMlELgAlSHv+nvRC8GrI3kqi4LowyDtFMXJBzNXgs7K
PhifLUV6Ee1g1JZ7e6TLBWkqqHl1Q6ETcOFZ7Sld0MmdF2ooXJ14WeEwAqmuOSp1
K7ApqPvZkDvOHe+U3KdRDRKDzANfyORyCzKxFK0Oq7h9AqL7fUbHzcfOU4C67pM5
9I9ddT8g
=J+k9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: