GNU logs - #73292, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73292: =?UTF-8?Q?=E2=80=9Cguix?= shell =?UTF-8?Q?--pure=E2=80=9C?= displays twice the same warning
Resent-From: Simon Tournier <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 16 Sep 2024 08:03:02 +0000
Resent-Message-ID: <handler.73292.B.172647378127580 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73292
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 73292 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172647378127580
          (code B ref -1); Mon, 16 Sep 2024 08:03:02 +0000
Received: (at submit) by debbugs.gnu.org; 16 Sep 2024 08:03:01 +0000
Received: from localhost ([127.0.0.1]:51033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sq6hI-0007Am-Tm
	for submit <at> debbugs.gnu.org; Mon, 16 Sep 2024 04:03:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:42244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1sq6hG-0007Ae-Gc
 for submit <at> debbugs.gnu.org; Mon, 16 Sep 2024 04:02:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1sq6h3-0004ui-0h
 for bug-guix@HIDDEN; Mon, 16 Sep 2024 04:02:45 -0400
Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1sq6h1-00075h-Gx
 for bug-guix@HIDDEN; Mon, 16 Sep 2024 04:02:44 -0400
Received: by mail-wr1-x432.google.com with SMTP id
 ffacd0b85a97d-378f600e090so320608f8f.3
 for <bug-guix@HIDDEN>; Mon, 16 Sep 2024 01:02:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1726473751; x=1727078551; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=GqczhMYWqen+AjgN1MnD2M5N9a3jhurIlP7rsu1orU0=;
 b=YmYhEy8RIVw6l2CNB1aX084i0QOlbeRNdCmR6y48ES5HZvFAVROGIPLNrMsnBl+66u
 G+4N1Nsr3ZmL8WUwUrpe3MSntCX2L5AKA2ZIsbHjSD9XL04/ZRUskL0jB601rRnzqnIY
 yP6AFEtXZtcO1Dm+X79Q/Y0JyguH42Il6nvTHrMX0mUE4P8RMq8DmdWYCsyCbjDqjmXV
 OXGKfLVshQs8R2T2p0+KRoKliVb+CJMpXFY/M4rkMfg/mLtkhmDWdCLM66gczdX3+9EV
 AyvJnzRXRibyf3TBFsrTtMleSkDd0eGnie9pTCQbaS1Ocn0ZywNUoUmFegGU06CfHzdP
 zVjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1726473751; x=1727078551;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=GqczhMYWqen+AjgN1MnD2M5N9a3jhurIlP7rsu1orU0=;
 b=NK70uyRGC/O9X3A1e6sV6RZpBDwCGq/Vp67Ky+IvfBogIRseJYBof35O9GUP0UlGUQ
 5h1i6W0ECRfTfYaMK1Bdvh8GDIDJ80V4H/OsGJmzVdNYPGsyEDX/tP9AfAjN8SoGjiUV
 4BR5uzbkg3dzbhLF9jLlF6IVmLfwshhLo76Zvn9Iaz4YXoJcBTg/4Rgm/OqR8awlX7Ie
 8zO9RGOnsjfzElKSjAK4smF5axJJKdPUJn7EmEwoE67IWxfehnUsGDNaCbUmHjlQE35F
 LCvxRJY6MEWIZ/PGKwr+1gxeKi9yd0w+UzOVNEn3q8t2r8k3/Pni3Lqkz1e2QZw25Kbr
 Iu2Q==
X-Gm-Message-State: AOJu0Yy1D4bF+uehyZd5DInbBOQA77kwCG2W0cu5UvfH63O4e7K8Rzm9
 ijXL0nwVcLLsF9M+QLdful24Kq6Uh4AaPEkAlSCFjV5LMLacALUC6mXG4g==
X-Google-Smtp-Source: AGHT+IHDt+IU9CJB6RMmH5qRg7hxzsZLFh5qcDjzYFCLo9rLzB9HCQRWCtf6JjPQ53REWeZmz1vVIw==
X-Received: by 2002:a5d:6743:0:b0:374:c640:8596 with SMTP id
 ffacd0b85a97d-378c2d04e20mr7395170f8f.32.1726473750597; 
 Mon, 16 Sep 2024 01:02:30 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-47.net.univ-paris-diderot.fr.
 [194.254.61.47]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-378e7800243sm6454844f8f.86.2024.09.16.01.02.29
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 16 Sep 2024 01:02:30 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
Date: Mon, 16 Sep 2024 10:01:54 +0200
Message-ID: <87tteggh71.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::432;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x432.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

--8<---------------cut here---------------start------------->8---
$ guix shell --pure
guix shell: warning: no packages specified; creating an empty environment
guix shell: warning: no packages specified; creating an empty environment
--8<---------------cut here---------------end--------------->8---

That=E2=80=99s because: one is from =E2=80=99auto-detect-manifest=E2=80=99 =
in (guix scripts
shell):

  (if (or (not interactive?)
          disallow-implicit-load?
          (options-contain-payload? opts))
      opts
      (match (find-file-in-parent-directories '("manifest.scm" "guix.scm"))
        (#f
         (warning (G_ "no packages specified; creating an empty environment=
~%"))
         opts)

called by =E2=80=99parse-args=E2=80=99 called by the entry-point command =
=E2=80=99guix-sell=E2=80=99.

And another one is from =E2=80=99guix-environment*=E2=80=99 in (guix scripts
environment):

        (when (null? (manifest-entries manifest))
          (warning (G_ "no packages specified; creating an empty environmen=
t~%")))

called by the entry-point command =E2=80=99guix-shell=E2=80=99.

Well, since =E2=80=98guix environment=E2=80=99 is deprecated, I would sugge=
st to remove
the warning in =E2=80=99guix-environment*=E2=80=99.  It would improve the =
=E2=80=9Cpolish=E2=80=9D.

Cheers,
simon

Reported by @lynn_sh@HIDDEN from Mastodon. :-)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: bug#73292: Acknowledgement (=?UTF-8?Q?=E2=80=9Cguix?= shell
 =?UTF-8?Q?--pure=E2=80=9C?= displays twice the same warning)
Message-ID: <handler.73292.B.172647378127580.ack <at> debbugs.gnu.org>
References: <87tteggh71.fsf@HIDDEN>
X-Gnu-PR-Message: ack 73292
X-Gnu-PR-Package: guix
Reply-To: 73292 <at> debbugs.gnu.org
Date: Mon, 16 Sep 2024 08:03:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 73292 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
73292: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73292
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.