From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KDa3HNbe2GE3HgEAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 01:46:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0MttGdbe2GGGqwAAauVa8A (envelope-from ) for ; Sat, 08 Jan 2022 01:46:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA7682DAF7 for ; Sat, 8 Jan 2022 01:46:13 +0100 (CET) Received: from localhost ([::1]:33502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5zs4-0000Rm-G1 for larch@yhetil.org; Fri, 07 Jan 2022 19:46:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5znz-0000Q3-Kc for guix-devel@gnu.org; Fri, 07 Jan 2022 19:42:00 -0500 Received: from [2600:3c01:e000:267:0:a171:de7:c] (port=43540 helo=cascadia.aikidev.net) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5znt-0007bC-Ki for guix-devel@gnu.org; Fri, 07 Jan 2022 19:41:59 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id C47921AC43 for ; Fri, 7 Jan 2022 16:40:26 -0800 (PST) From: Vagrant Cascadian To: guix-devel@gnu.org Subject: Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid In-Reply-To: <87zgo7w4j0.fsf@ponder> References: <87zgo7w4j0.fsf@ponder> Date: Fri, 07 Jan 2022 16:40:17 -0800 Message-ID: <87wnjbvz4e.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2600:3c01:e000:267:0:a171:de7:c (failed) Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641602774; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=yfNM9l6ROUz3jQIde5ME28ch5bw9fv38cjDBs0ZlzT4=; b=FNF2YCeNyeaQqD0dKnCOnot0z4G8FOA837qBJSnweCWc6AMscLLfIqAxnV8IlDBSYJ6zZq BgX+sbgnVbPl1YVlAgTpabO7cnpOxj5fHLEWibJ2xKXOH7ENbQqdwbp64E+ACPN8moAnZP JqdYfagPftxERywGHaFNMj+vh8KQXUASqGOkZ04fR5ug79FcoSFi77zjHUYyAWNqfemmCW ntaLUn7bbW+yxINGtPfFRo0gi5qCOqtBPhIGr0NLyyfaaMufNWsKUIz8g9PkG5kfFt2RW6 AeAAIvP2MM5sbVq5Ge21iyV+myWF7ZAQKTseuVxxdCx2FhVJ8ARamHmFr5mHtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641602774; a=rsa-sha256; cv=none; b=IfWp2NdrHii+PoY9bv+xIwN6xG/WDMOrSFVTBpK7aFAtBqocPKXAeZ7wwvoKmfOxEWrVPC IT0ykbhsOVAY4a79atUdXz6f54slVkZ2I8ckGgdPV6MXBfJesBnAcHznd2taFh96q2pSG1 bj8g3fYnKfXMK9K1doOzxQGQLxyzJUg4Wuzy5+v9LH32WUYO6UaoAXqLOddTIYNrJA59oF dcOuFQGm0LjMHzmiA9iUuB/bLWXcOA/M25qzpSXbqlwJkltYgzElLi2Hx9mEvPYgBVU0wI VOAZhFIVcu1sUqo9gm8NDEawQB8UPuxxt3Nn32mrQ9SO1sNRtP/cUEpNiO0bfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BA7682DAF7 X-Spam-Score: -4.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: n7U//u/ikNA+ --=-=-= Content-Type: text/plain On 2022-01-07, Vagrant Cascadian wrote: > Trying to run "make dist" from Debian running guix... but it fails. > nckx confirmed to have similar issues. > > $ guix shell --container --pure --development guix guix git imagemagick perl less glibc glibc-locales > ... > $ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 # ensure UTF-8 locale available in guix Apparently I also need to ... $ export LANGUAGE=en > $ git clean -dfx # remove any potential cruft > ... > $ ./bootstrap && ./configure --localstatedir=/var && make -j1 dist > ... > rm -f en@boldquot.gmo && > /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt -c > --statistics --verbose -o en@boldquot.gmo en@boldquot.po > /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt: > en@boldquot.po: warning: PO file header missing or invalid > warning: > charset > conversion > will > not > work > /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt: found 1 > fatal error And then I hit the bug that 7e91d5d58c50fa64f41218c9c8157a4e8dbb3107 fixed. :) So ... setting LANG LANGUAGE and LC_ALL seems to be a viable workaround, but a bit ugly to be so locale-dependent. > I've also in the past implored to set up a ci job for "make dist" to > make it at least easier to figure out which commits trigger these > issues... how can I help move that forward? :) Please, please! :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYdjddAAKCRDcUY/If5cW qjVIAP9KGLHBnixFy37jl8GF/+B94mkgPD/JwvB6m99Vj/H7qQEAjYzyyz2ubhvn dg+u/sSdwnanMjzhXKLFZcFbM5eI6wE= =qT0W -----END PGP SIGNATURE----- --=-=-=--