From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:57128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmFKN-0007fI-KA for guix-patches@gnu.org; Wed, 23 Jan 2019 05:00:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmFKL-0005q0-6R for guix-patches@gnu.org; Wed, 23 Jan 2019 05:00:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmFKE-0005hw-8d for guix-patches@gnu.org; Wed, 23 Jan 2019 05:00:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmFKD-0007ed-SX for guix-patches@gnu.org; Wed, 23 Jan 2019 05:00:01 -0500 Subject: [bug#34154] [PATCH] /etc/os-release Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190121101740.GB11658@macbook41> <87y37cjruq.fsf@gnu.org> <20190123072017.GA6135@macbook41> Date: Wed, 23 Jan 2019 10:59:26 +0100 In-Reply-To: <20190123072017.GA6135@macbook41> (Efraim Flashner's message of "Wed, 23 Jan 2019 09:20:18 +0200") Message-ID: <87h8dzheyp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner Cc: 34154@debbugs.gnu.org Hello, Efraim Flashner skribis: > I found a man page online from freedesktop.org=C2=B9, it seems that it's = been > aborbed by systemd at some point. OK. > It looks like some build systems can try to get information from it > during building if they have distro-specific things to do. That is precisely the kind of bad practice that I=E2=80=99d rather not encourage. :-) > The only software that I know of that we have that would use it would > be inxi. guix environment --ad-hoc inxi-minimal -- inxi -S "Distro: > Unknown" isn't that big of a deal, and we could just submit a patch > upstream if we really wanted it fixed. It has other problems: --8<---------------cut here---------------start------------->8--- $ guix environment -C --ad-hoc inxi-minimal -- inxi -S sh: tty: command not found Can't exec "ps": No such file or directory at /gnu/store/4x20lf98vwj357zcj6= il8zka2d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 17535. Use of uninitialized value in split at /gnu/store/4x20lf98vwj357zcj6il8zka2= d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 17535. Can't exec "ps": No such file or directory at /gnu/store/4x20lf98vwj357zcj6= il8zka2d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 3052. Use of uninitialized value in split at /gnu/store/4x20lf98vwj357zcj6il8zka2= d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 3052. Can't exec "ps": No such file or directory at /gnu/store/4x20lf98vwj357zcj6= il8zka2d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 17535. Use of uninitialized value in split at /gnu/store/4x20lf98vwj357zcj6il8zka2= d8mr9h0-inxi-minimal-3.0.20-1/bin/.inxi-real line 17535. 12System: 12Host ribbon 12Kernel 4.20.3-gnu x86_64 12bits 64 12Console N= /A 12Distro unknown=20 --8<---------------cut here---------------end--------------->8--- > That said, I'm happy enough to plop it in my own os-config and drop the > patch. OK, let=E2=80=99s take that route. That said, I=E2=80=99m clearly opinionated ;-), but if that turns out to be= a hindrance to many, we can revisit this issue. Thanks, Ludo=E2=80=99.