Message ID | 20230108002719.19791-1-bjc@spork.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 05BBC27BBED; Sun, 8 Jan 2023 00:29:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A70AE27BBE9 for <patchwork@mira.cbaines.net>; Sun, 8 Jan 2023 00:29:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1pEJYe-0002Ol-Fv; Sat, 07 Jan 2023 19:29:04 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1pEJYc-0002OZ-U1 for guix-patches@gnu.org; Sat, 07 Jan 2023 19:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pEJYc-00061e-M9 for guix-patches@gnu.org; Sat, 07 Jan 2023 19:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pEJYc-0007yv-B8 for guix-patches@gnu.org; Sat, 07 Jan 2023 19:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60636] [PATCH] Add 'manifest.scm' Resent-From: Brian Cully <bjc@spork.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Jan 2023 00:29:02 +0000 Resent-Message-ID: <handler.60636.B.167313770430636@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60636 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60636@debbugs.gnu.org Cc: Brian Cully <bjc@spork.org> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167313770430636 (code B ref -1); Sun, 08 Jan 2023 00:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jan 2023 00:28:24 +0000 Received: from localhost ([127.0.0.1]:59337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pEJXz-0007y3-T6 for submit@debbugs.gnu.org; Sat, 07 Jan 2023 19:28:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:37920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bjc@spork.org>) id 1pEJXy-0007xw-5T for submit@debbugs.gnu.org; Sat, 07 Jan 2023 19:28:22 -0500 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 <bjc@spork.org>) id 1pEJXx-0002Ai-70 for guix-patches@gnu.org; Sat, 07 Jan 2023 19:28:21 -0500 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bjc@spork.org>) id 1pEJXv-0002ZS-2K for guix-patches@gnu.org; Sat, 07 Jan 2023 19:28:20 -0500 Received: from psyduck.jhoto.kublai.com (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 412CCC0BF; Sat, 7 Jan 2023 19:27:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1673137650; bh=/I0yMbONCUrghNLLcZs5m/8gdiEraUSvEzALflnjIfI=; h=From:To:Cc:Subject:Date; b=uGvaWr/E5yI5OckFBWN4dbLnP0h/k1tcBi0uYx3U17jT1BgrmsxPev2qzrHIUEBmT vv72opCSGDe/OZtAzVPTwOO6akz9Qf60YMUooM1+v8uuBfOZ5v89Z7xCFcIc0Wz4SJ yF3aM5NyWiK4CBcxQKa5WSoMub33oNINLrJtVehY= Date: Sat, 7 Jan 2023 19:27:19 -0500 Message-Id: <20230108002719.19791-1-bjc@spork.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Brian Cully <bjc@spork.org> X-ACL-Warn: , Brian Cully via Guix-patches <guix-patches@gnu.org> From: Brian Cully via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#60636] Add 'manifest.scm'
|
|
Commit Message
brian cully
Jan. 8, 2023, 12:27 a.m. UTC
--- manifest.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 manifest.scm
Comments
Hi, Brian Cully <bjc@spork.org> writes: > --- > manifest.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 manifest.scm > > diff --git a/manifest.scm b/manifest.scm > new file mode 100644 > index 0000000..bdd4e64 > --- /dev/null > +++ b/manifest.scm > @@ -0,0 +1,29 @@ > +;; This is the complete list of Guix packages necessary for building Shepherd. This is intended for the Shepherd repository, right? > +;; For example the following shell command will run the built-in tests: > +;; > +;; % guix shell -m manifest.scm --pure -- make check > + > +(specifications->manifest > + '("autoconf" > + "automake" > + "binutils" > + "coreutils" > + "diffutils" > + "findutils" > + "gawk" > + "gcc" > + "gettext" > + "glibc" > + "grep" > + "guile" > + "guile-fibers" > + "guile-readline" > + "help2man" > + "libtool" > + "make" > + "pkg-config" > + "sed" > + "tar" > + "texinfo" > + "xz")) The value this provides above 'guix shell -D shepherd' is that it includes the build system bootstrapping packages too (autoconf, automake, etc.), right? Are all these items really needed? Why do we need GCC, or glibc or gettext for example? Thanks for this contribution,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > This is intended for the Shepherd repository, right? Yes. The shepherd documentation pointed me to the Guix ML and bugtracker. If there’s somewhere better, I can re-submit. > The value this provides above 'guix shell -D shepherd' is that > it > includes the build system bootstrapping packages too (autoconf, > automake, etc.), right? That’s correct. Shepherd can’t be built from a checkout using ‘guix shell -D shepherd’ because (according to Ludo) Guix uses the tarball as a source, not the git repository. Ludo did mention on IRC that shepherd could probably use a manifest.scm when I asked him about it, but I don’t want to speak for him more than that. > Are all these items really needed? Why do we > need GCC, or glibc or gettext for example? I added every item in response to one of the build steps failing. GCC is needed, for instance, because configure tests for the existence of a working C compiler (probably because of etc/crash-handler.c, but I couldn’t say for sure), glibc is needed because we’ve got a C compiler in the mix, and gettext is needed for ‘autoconf-point’. -bjc
+CC Ludovic Hello, Brian Cully <bjc@spork.org> writes: > Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > >> This is intended for the Shepherd repository, right? > > Yes. The shepherd documentation pointed me to the Guix ML and > bugtracker. If there’s somewhere better, I can re-submit. > >> The value this provides above 'guix shell -D shepherd' is that it >> includes the build system bootstrapping packages too (autoconf, >> automake, etc.), right? > > That’s correct. Shepherd can’t be built from a checkout using ‘guix > shell -D shepherd’ because (according to Ludo) Guix uses the tarball > as a source, not the git repository. Ludo did mention on IRC that > shepherd could probably use a manifest.scm when I asked him about it, > but I don’t want to speak for him more than that. > >> Are all these items really needed? Why do we >> need GCC, or glibc or gettext for example? > > I added every item in response to one of the build steps failing. GCC > is needed, for instance, because configure tests for the existence of > a working C compiler (probably because of etc/crash-handler.c, but I > couldn’t say for sure), glibc is needed because we’ve got a C compiler > in the mix, and gettext is needed for ‘autoconf-point’. Adding gcc-toolchain would probably be better than the separate gcc and glibc. Other than that, LGTM. Could you send a v2 with the above change? Thanks for explaining!
diff --git a/manifest.scm b/manifest.scm new file mode 100644 index 0000000..bdd4e64 --- /dev/null +++ b/manifest.scm @@ -0,0 +1,29 @@ +;; This is the complete list of Guix packages necessary for building Shepherd. +;; +;; For example the following shell command will run the built-in tests: +;; +;; % guix shell -m manifest.scm --pure -- make check + +(specifications->manifest + '("autoconf" + "automake" + "binutils" + "coreutils" + "diffutils" + "findutils" + "gawk" + "gcc" + "gettext" + "glibc" + "grep" + "guile" + "guile-fibers" + "guile-readline" + "help2man" + "libtool" + "make" + "pkg-config" + "sed" + "tar" + "texinfo" + "xz"))