all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60636] [PATCH] Add 'manifest.scm'
@ 2023-01-08  0:27 Brian Cully via Guix-patches via
  2023-01-11 19:15 ` Maxim Cournoyer
  2023-01-13  2:01 ` [bug#60636] [PATCH v2] " Brian Cully via Guix-patches via
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Cully via Guix-patches via @ 2023-01-08  0:27 UTC (permalink / raw)
  To: 60636; +Cc: Brian Cully

---
 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.
+;;
+;; 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"))
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#60636] [PATCH] Add 'manifest.scm'
  2023-01-08  0:27 [bug#60636] [PATCH] Add 'manifest.scm' Brian Cully via Guix-patches via
@ 2023-01-11 19:15 ` Maxim Cournoyer
  2023-01-12 14:18   ` Brian Cully via Guix-patches via
  2023-01-13  2:01 ` [bug#60636] [PATCH v2] " Brian Cully via Guix-patches via
  1 sibling, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2023-01-11 19:15 UTC (permalink / raw)
  To: Brian Cully; +Cc: 60636

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#60636] [PATCH] Add 'manifest.scm'
  2023-01-11 19:15 ` Maxim Cournoyer
@ 2023-01-12 14:18   ` Brian Cully via Guix-patches via
  2023-01-12 22:31     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Cully via Guix-patches via @ 2023-01-12 14:18 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 60636


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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#60636] [PATCH] Add 'manifest.scm'
  2023-01-12 14:18   ` Brian Cully via Guix-patches via
@ 2023-01-12 22:31     ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2023-01-12 22:31 UTC (permalink / raw)
  To: Brian Cully; +Cc: 60636, ludo

+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!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#60636] [PATCH v2] Add 'manifest.scm'
  2023-01-08  0:27 [bug#60636] [PATCH] Add 'manifest.scm' Brian Cully via Guix-patches via
  2023-01-11 19:15 ` Maxim Cournoyer
@ 2023-01-13  2:01 ` Brian Cully via Guix-patches via
  1 sibling, 0 replies; 5+ messages in thread
From: Brian Cully via Guix-patches via @ 2023-01-13  2:01 UTC (permalink / raw)
  To: 60636; +Cc: Brian Cully

---
 manifest.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 manifest.scm

diff --git a/manifest.scm b/manifest.scm
new file mode 100644
index 0000000..12508c3
--- /dev/null
+++ b/manifest.scm
@@ -0,0 +1,27 @@
+;; 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"
+   "coreutils"
+   "diffutils"
+   "findutils"
+   "gawk"
+   "gcc-toolchain"
+   "gettext"
+   "grep"
+   "guile"
+   "guile-fibers"
+   "guile-readline"
+   "help2man"
+   "libtool"
+   "make"
+   "pkg-config"
+   "sed"
+   "tar"
+   "texinfo"
+   "xz"))
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-13  2:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-08  0:27 [bug#60636] [PATCH] Add 'manifest.scm' Brian Cully via Guix-patches via
2023-01-11 19:15 ` Maxim Cournoyer
2023-01-12 14:18   ` Brian Cully via Guix-patches via
2023-01-12 22:31     ` Maxim Cournoyer
2023-01-13  2:01 ` [bug#60636] [PATCH v2] " Brian Cully via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.