[bug #67353] grub fails to compile since updating gettext to 0.26

Marco Huenseler <[email protected]> Thu, 24 Jul 2025 10:09:28 -0400 (EDT)
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
--8323329-1529976484-1753366168=:3877451
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?67353>=0A=0A                 Summa=
ry: grub fails to compile since updating gettext to 0.26=0A                =
   Group: GNU GRUB=0A               Submitter: marcoh00=0A               Su=
bmitted: Thu 24 Jul 2025 02:09:23 PM GMT=0A                Category: Compil=
ation=0A                Severity: Major=0A                Priority: 5 - Nor=
mal=0A              Item Group: None=0A                  Status: None=0A   =
              Privacy: Public=0A             Assigned to: None=0A         O=
riginator Name:=0A        Originator Email:=0A             Open/Closed: Ope=
n=0A         Discussion Lock: Any=0A                 Release: Git master=0A=
                 Release:=0A         Reproducibility: Every Time=0A        =
 Planned Release: None=0A=0A=0A    ________________________________________=
_______________=0A=0AFollow-up Comments:=0A=0A=0A--------------------------=
-----------------------------=0ADate: Thu 24 Jul 2025 02:09:23 PM GMT By: M=
arco Huenseler <marcoh00>=0AI'm using Arch Linux, which updated its gettext=
 package from 0.25.1 to 0.26=0Athis week. Since then, I'm not able to compi=
le the current Git Master (and=0Aneither Arch's official PKGBUILD). Downgra=
ding gettext to 0.25.1 fixes this=0Areproducibly.=0A=0AFor this bug report,=
 I was trying to compile GRUB like this:=0A=0Agit clone https://git.savanna=
h.gnu.org/git/grub.git || true=0Acd grub=0A./linguas.sh=0A./bootstrap=0A./c=
onfigure \=0A    --with-platform=3D"pc" \=0A    --target=3D"i386" \=0A    -=
-enable-boot-time \=0A    --enable-efiemu=0ALC_ALL=3DC LANG=3DC make=0A=0AH=
ere are the last couple of lines from make:=0A=0Arm -f da.gmo && /usr/bin/m=
sgfmt --endianness=3Dlittle -c --statistics --verbose=0A-o da.gmo da.po=0Ad=
a.po: 1284 translated messages, 124 fuzzy translations, 291 untranslated=0A=
messages.=0A/usr/bin/msgmerge --update  --lang=3Dde de.po grub.pot=0A......=
...........................................................................=
...........................................................................=
...........................................................................=
....................................=0Adone.=0Arm -f de.gmo && /usr/bin/msg=
fmt --endianness=3Dlittle -c --statistics --verbose=0A-o de.gmo de.po=0Ade.=
po: 1512 translated messages, 51 fuzzy translations, 136 untranslated=0Ames=
sages.=0Amake[4]: Entering directory '/home/user/build/grub/po'=0ALC_ALL=3D=
C.UTF-8 msgfilter -i de.po -o ./de_CH.po sed -f ./swiss.sed=0Amake[4]: Leav=
ing directory '/home/user/build/grub/po'=0Arm -f de_CH.gmo && /usr/bin/msgf=
mt --endianness=3Dlittle -c --statistics=0A--verbose -o de_CH.gmo de_CH.po=
=0Ade_CH.po: 1512 translated messages, 51 fuzzy translations, 136 untransla=
ted=0Amessages.=0Amake[4]: Entering directory '/home/user/build/grub/po'=0A=
LC_ALL=3DC msgfilter -i de.po -o ./[email protected] sed -f ./hebrew.sed=0Amsgfi=
lter: warning: Locale charset "ANSI_X3.4-1968" is different from=0A        =
            input file charset "UTF-8".=0A                    Output of 'ms=
gfilter' might be incorrect.=0A                    Possible workarounds are=
:=0A                    - Set LC_ALL to a locale with encoding UTF-8.=0A   =
                 - Convert the translation catalog to ASCII using=0A'msgcon=
v',=0A                      then apply 'msgfilter',=0A                     =
 then convert back to UTF-8 using 'msgconv'.=0Amake[4]: Leaving directory '=
/home/user/build/grub/po'=0Arm -f [email protected] && /usr/bin/msgfmt --endian=
ness=3Dlittle -c --statistics=0A--verbose -o [email protected] [email protected]=0Ad=
[email protected]:8192: 'msgstr' is not a valid Shell printf format string, unlik=
e=0A'msgid'. Reason: This escape sequence is [email protected]:8211: =
'msgstr' is not a valid Shell printf format string, unlike=0A'msgid'. Reaso=
n: This escape sequence is [email protected]:8222: 'msgstr' is not a =
valid Shell printf format string, unlike=0A'msgid'. Reason: This escape seq=
uence is [email protected]:8227: 'msgstr' is not a valid Shell printf=
 format string, unlike=0A'msgid'. Reason: This escape sequence is invalid.=
[email protected]:8240: 'msgstr' is not a valid Shell printf format string, u=
nlike=0A'msgid'. Reason: This escape sequence is [email protected]:82=
45: 'msgstr' is not a valid Shell printf format string, unlike=0A'msgid'. R=
eason: This escape sequence is [email protected]:8250: 'msgstr' is no=
t a valid Shell printf format string, unlike=0A'msgid'. Reason: This escape=
 sequence is [email protected]:8281: 'msgstr' is not a valid Shell pr=
intf format string, unlike=0A'msgid'. Reason: This escape sequence is inval=
[email protected]:8337: 'msgstr' is not a valid Shell printf format string=
, unlike=0A'msgid'. Reason: This escape sequence is [email protected]=
:8347: 'msgstr' is not a valid Shell printf format string, unlike=0A'msgid'=
. Reason: This escape sequence is [email protected]:8367: 'msgstr' is=
 not a valid Shell printf format string, unlike=0A'msgid'. Reason: This esc=
ape sequence is [email protected]:8372: 'msgstr' is not a valid Shell=
 printf format string, unlike=0A'msgid'. Reason: This escape sequence is in=
[email protected]:8465: 'msgstr' is not a valid Shell printf format str=
ing, unlike=0A'msgid'. Reason: This escape sequence is invalid.=0Ade@hebrew=
.po:8470: 'msgstr' is not a valid Shell printf format string, unlike=0A'msg=
id'. Reason: This escape sequence is [email protected]:8496: 'msgstr'=
 is not a valid Shell printf format string, unlike=0A'msgid'. Reason: This =
escape sequence is [email protected]:8501: 'msgstr' is not a valid Sh=
ell printf format string, unlike=0A'msgid'. Reason: This escape sequence is=
 [email protected]:8516: 'msgstr' is not a valid Shell printf format =
string, unlike=0A'msgid'. Reason: This escape sequence is invalid.=0Ade@heb=
rew.po:8531: 'msgstr' is not a valid Shell printf format string, unlike=0A'=
msgid'. Reason: This escape sequence is [email protected]:8626: 'msgs=
tr' is not a valid Shell printf format string, unlike=0A'msgid'. Reason: Th=
is escape sequence is [email protected]:8632: 'msgstr' is not a valid=
 Shell printf format string, unlike=0A'msgid'. Reason: This escape sequence=
 is invalid.=0A/usr/bin/msgfmt: found 20 fatal [email protected]: 1512 =
translated messages, 51 fuzzy translations, 136=0Auntranslated messages.=0A=
make[3]: *** [Makefile:1682: [email protected]] Error 1=0Amake[3]: Leaving dire=
ctory '/home/user/build/grub/po'=0Amake[2]: *** [Makefile:1720: stamp-po] E=
rror 2=0Amake[2]: Leaving directory '/home/user/build/grub/po'=0Amake[1]: *=
** [Makefile:12674: all-recursive] Error 1=0Amake[1]: Leaving directory '/h=
ome/user/build/grub'=0Amake: *** [Makefile:4082: all] Error 2=0A=0AI attach=
ed the full log.=0A=0A=0A=0A=0A=0A=0A=0A    _______________________________=
________________________=0A=0AReply to this item at:=0A=0A  <https://savann=
ah.gnu.org/bugs/?67353>=0A=0A______________________________________________=
_=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1529976484-1753366168=:3877451
Content-Type: APPLICATION/pgp-signature; name=signature.asc

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaII+mAAKCRCqLAuaBUf3
TgNmAQDmhZpv0DtAqM6+ie1OMJxBI8Snn6dicGQm9XDJbmdVsAD/cDWNHldbn9PZ
Q7yV2qbNfL1S64OfwAeeS2Hhzr1x6g8=
=La+h
-----END PGP SIGNATURE-----

--8323329-1529976484-1753366168=:3877451--