Commit Graph

410 Commits

Author SHA1 Message Date
Marius Bakke
9044b086dd
Merge branch 'staging' into core-updates 2022-07-22 01:09:14 +02:00
Ekaitz Zarraga
f35b771a0f
gnu: commencement: Explicitly provide the source of 'tcc-boot'.
* gnu/packages/commencement.scm (tcc-boot)[source]: Remove dependency on
tcc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-19 18:54:41 +02:00
Marius Bakke
5aeb96103f
gnu: zlib: Update to 1.2.12.
* gnu/packages/compression.scm (zlib): Update to 1.2.12.
[source](patches): New field.
[arguments]: Set CC variable.
* gnu/packages/commencement.scm (zlib-final)[source]: New field.
* gnu/packages/patches/zlib-cc.patch,
gnu/packages/patches/zlib-correct-crc32-inputs.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-30 23:26:16 +02:00
Efraim Flashner
2f4d936c1b
gnu: linux-libre-headers-boot0: Fix building with armhf-linux.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)
[arguments]: Adjust 'lower-version-requirements phase to accept
gcc-4.8.4, used by armhf-linux.
2022-06-29 13:05:20 +03:00
Efraim Flashner
f926e43170
gnu: m4-boot0: Fix build on arm architectures.
* gnu/packages/commencement.scm (m4-boot0)[arguments]: Skip tests when
building for arm architectures.
2022-06-28 10:15:06 +03:00
Marius Bakke
bf99d1be2f
gnu: coreutils: Update to 9.1.
* gnu/packages/base.scm (coreutils): Update to 9.1.
[source](patches): Remove.
* gnu/packages/commencement.scm (coreutils-mesboot)[native-inputs]: Add
SED-MESBOOT.
* gnu/packages/patches/coreutils-ls.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-26 12:06:27 +02:00
Marius Bakke
97fb977eb8
gnu: linux-libre-headers: Update to 5.15.49.
* gnu/packages/linux.scm (linux-libre-headers-5.10.35): Replace with ...
(linux-libre-headers-5.15.49): This new variable.
(linux-libre-headers): Adjust accordingly.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)[arguments]: Add
phase to lower toolchain requirements.
2022-06-26 12:06:27 +02:00
Ludovic Courtès
8c3e9da13a
Merge branch 'master' into core-updates 2022-06-08 14:46:24 +02:00
Ludovic Courtès
8ccf5f518d
gnu: commencement: Remove unnecessary uses of 'bootstrap-origin'.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Remove
unnecessary 'package-with-bootstrap-guile'.
(hurd-source-boot0): Remove unnecessary 'bootstrap-origin'.
2022-06-05 23:35:30 +02:00
Ludovic Courtès
cd626983af
gnu: commencement: Fetch bootstrap tarballs from ftp.gnu.org too.
As a side effect, this ensures those tarballs are eventually archived by
Software Heritage.

* gnu/packages/commencement.scm (tcc-boot0)[source]: Add "mirror://gnu"
URL.
(gnumach-headers-boot0)[source]: Likewise.
(hurd-source-boot0): Likewise.
2022-06-05 23:35:29 +02:00
Jan (janneke) Nieuwenhuizen
2382bb87c5
gnu: commencement: tcc-boot0: Use new package style.
* gnu/packages/commencement.scm (tcc-boot0)[arguments]: Use gexp for modify
phases.
2022-05-22 10:25:55 +02:00
Jan (janneke) Nieuwenhuizen
7dff51658f
gnu: commencement: mes-boot: Add supported systems.
* gnu/packages/commencement.scm (stage0-posix)[supported-systems]: New field.
2022-05-22 10:25:55 +02:00
Jan (janneke) Nieuwenhuizen
81e7165824
gnu: commencement: stage0-posix: Update supported systems.
* gnu/packages/commencement.scm (stage0-posix)[supported-systems]: Remove
armhf-linux, add riscv64-linux.  [arguments]: Update accordingly, add
stage0-cpu setting for "Aarch64" and "riscv64".
2022-05-22 10:24:58 +02:00
Ludovic Courtès
ba708a52fd
gnu: gcc-toolchain: Add 12.1.0.
* gnu/packages/commencement.scm (gcc-toolchain-12): New variable.
2022-05-24 17:19:02 +02:00
Jan (janneke) Nieuwenhuizen
07ea07c6cc
gnu: commencement: mes-boot: Use new package style.
* gnu/packages/commencement.scm (mes-boot)[arguments]: Use gexp for modify
phases.
2022-05-18 07:48:39 +02:00
Jan (janneke) Nieuwenhuizen
4233bde7ba
gnu: commencement: stage0-posix: Use new package style.
* gnu/packages/commencement.scm (stage0-posix)[arguments]: Also use gexps for
inputs and output.
2022-05-18 07:48:39 +02:00
Jan (janneke) Nieuwenhuizen
0aa2ac9c0a
gnu: commencement: bootstrap-seeds: Use new package style.
* gnu/packages/commencement.scm (bootstrap-seeds)[arguments]: Also use gexps
for inputs and output.
2022-05-18 07:48:38 +02:00
Jan (janneke) Nieuwenhuizen
454bb06e83
gnu: commencement: Remove %bootstrap-mes-rewired.
* gnu/packages/commencement.scm (%bootstrap-mes-rewired): Remove.
2022-05-12 19:27:59 +02:00
Jan (janneke) Nieuwenhuizen
a68d1d47ee
gnu: commencement: tcc-boot0: Update to 0.9.26-1136-g0fbeb2dd.
* gnu/packages/commencement.scm (tcc-boot0)[source]: Update to
0.9.26-1136-g0fbeb2dd.
[native-inputs]: Add stage0-posix and mes-boot, remove
%bootstrap-mescc-tools and %bootstrap-mes-rewired.
2022-05-12 19:27:59 +02:00
Jan (janneke) Nieuwenhuizen
d79c103e11
gnu: commencement: tcc-boot0: Use nyacc-1.00.2.
* gnu/packages/commencement.scm (tcc-boot0): Use https source URL with
mirror://.  Update NYACC to 1.00.2 and call 'bootstrap-origin' on the source.
2022-05-12 19:27:58 +02:00
Jan (janneke) Nieuwenhuizen
2cebf680c7
gnu: commencement: mes-boot: Update to 0.24, build with M2-Planet.
* gnu/packages/commencement.scm (mes-boot)[source]: Update to
0.24.
[native-inputs]: Add stage0-posix, remove %bootstrap-mescc-tools and
%bootstrap-mes-rewired, and update nyacc to 1.00.2.
2022-05-12 19:27:58 +02:00
Jan (janneke) Nieuwenhuizen
dc7da2c9ed
gnu: commencement: Add stage0-posix.
Stage0-posix is a skeleton for bootstrapping all of Stage0 for POSIX systems.
On x86-linux, from the 357-byte hex0-seed binary from the bootstrap-seeds, it
builds hex0, kaem, hex1, catm, hex2, M0, cc_x86, M1, M2,
get_machine, (mescc-tools), and M2-Planet.

* gnu/packages/commencement.scm (stage0-posix): New variable.
2022-05-12 19:27:58 +02:00
Jan (janneke) Nieuwenhuizen
5324be85a7
gnu: commencement: Add bootstrap-seeds.
* gnu/packages/commencement.scm (bootstrap-seeds): New variable.
2022-05-12 19:27:57 +02:00
Ludovic Courtès
0b4300d4fd
gnu: commencement: Remove redundant import.
Reported by Josselin Poiret on #guix.

* gnu/packages/commencement.scm: Remove redundant #:use-module (guix gexp).
2022-05-12 12:29:38 +02:00
Attila Lendvai
8852f911ff
git-download: Set locale to deal with Unicode in git metadata.
Without this the git-fetch GEXP is run in an environment that uses ASCII
character encoding when strings are crossing the Guile - C boundary.  It means
that e.g. tag names that have Unicode chars in them will cause problems,
e.g. when walking and deleting the .git directory.

An example in the wild: https://github.com/klauspost/pgzip/tags

Fixes <https://issues.guix.gnu.org/54893>.

* guix/git-download.scm (git-fetch): Call 'setenv' and 'setlocale' to
set it to en_US.utf8.
* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
Add 'properties' field.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-04-20 23:46:43 +02:00
Maxim Cournoyer
a9429c8f22
Merge branch 'staging' into core-updates. 2022-03-21 23:39:43 -04:00
Timothy Sample
f0136b36ae
gnu: commencement: Remove many old utilities.
* gnu/packages/commencement.scm (bash-mesboot0): Delete variable...
(%boot-tcc-inputs): ...and remove it from here.
(gawk-mesboot0): Delete variable...
(%boot-mesboot-core-inputs): ...and remove it from here.
(coreutils-mesboot0): Delete variable.
(%boot-mesboot1-inputs): Remove 'bash-mesboot',
'coreutils-mesboot0', 'gawk-mesboot', 'grep-mesboot', 'sed-mesboot',
and 'tar-mesboot' from the list of inputs to add; and remove "bash",
"bootar", "coreutils", "gash", "gawk", "grep", "guile", "sed", and
"tar" from the list of inputs to delete.
(hello-mesboot)[native-inputs]: Remove 'xz-mesboot'.
(gawk-mesboot)[native-inputs]: Use '%boot-mesboot2-inputs'.
(%boot-mesboot3-inputs): Remove 'xz-mesboot'; add 'gawk-mesboot'.
(glibc-headers-mesboot)[arguments]: Add 'remove-bashism' phase.
(glibc-mesboot)[arguments]: Add 'simplify-intl-tests' phase.
(gcc-mesboot1-wrapper)[native-inputs]: Replace 'bash-mesboot' and
'coreutils-mesboot0' with 'gash-boot' and 'gash-utils-boot'.
(gcc-mesboot-wrapper): Likewise.
(mesboot-package): New procedure.
(bash-mesboot, coreutils-mesboot, grep-mesboot, sed-mesboot,
xz-mesboot, tar-mesboot): Recreate in terms of 'mesboot-package'
using up-to-date versions.
(%boot-mesboot6-inputs): Add 'bash-mesboot', 'coreutils-mesboot',
'grep-mesboot', 'sed-mesboot', 'tar-mesboot', and 'xz-mesboot' to
the list of inputs to add; and add "bash" and "bootar" to the list
of inputs to delete.
2022-03-19 13:33:07 -06:00
Timothy Sample
1594aaecd5
gnu: %boot-tcc-inputs: Remove extra "gash-utils".
* gnu/packages/commencement.scm (%boot-tcc-inputs): Remove
'gash-utils-boot' (it is already included in '%boot-gash-inputs'
under the name "coreutils").
2022-03-19 13:33:07 -06:00
Timothy Sample
95630d2d74
gnu: binutils-mesboot0: Update to 2.20.1a.
This restores the package to how it was before the Scheme-only
bootstrap.  See cb167958ea.

* gnu/packages/commencement.scm (binutils-mesboot0): Update to 2.20.1a.
(binutils-mesboot1)[arguments]: Remove #:phases substitution.
(binutils-mesboot): Inherit from binutils-mesboot1, changing only
the native-inputs field.
2022-03-19 13:33:07 -06:00
Timothy Sample
e42753fd86
gnu: sed-mesboot0: Remove package.
* gnu/packages/commencement.scm (sed-mesboot0): Remove variable.
(%boot-tcc-inputs): Remove 'sed-mesboot0'.
2022-03-19 13:33:07 -06:00
Timothy Sample
97a5819643
gnu: bzip2-mesboot: Remove package.
gnu/packages/commencement.scm (bzip2-mesboot): Remove variable.
(tcc-boot)[native-inputs]: Remove 'bzip2-mesboot'.
[arguments]: Do not replace the 'unpack' phase.
(%boot-tcc-inputs): Remove 'bzip2-mesboot'.
2022-03-19 13:33:06 -06:00
Timothy Sample
6bf2fa8d1c
gnu: gash-utils-boot: Create 'echo' wrapper.
* gnu/packages/commencement.scm (gash-utils-boot)[arguments]: Add a
phase that generates an external wrapper for Gash's 'echo' built-in.
2022-03-19 13:33:06 -06:00
Timothy Sample
ee2f074d0b
gnu: gash: Update to 0.3.0.
* gnu/packages/shells.scm (gash): Update to 0.3.0.
[source]: Remove Guile 3.0 snippet.
[arguments]: Delete arguments.
* gnu/packages/commencement.scm (gash-boot)[source]: Do not remove
the Guile 3.0 snippet (it no longer exists).
2022-03-19 13:33:06 -06:00
Timothy Sample
ca6993af91
gnu: bootar: Update to 1b.
* gnu/packages/commencement.scm (bootar): Update to 1b.
2022-03-19 13:33:06 -06:00
Timothy Sample
892aac72a2
gnu: gash-utils: Update to 0.2.0.
* gnu/packages/patches/gash-utils-ls-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/shells.scm (gash-utils): Update to 0.2.0.
[source]: Remove patch and Guile 3.0 snippet.
* gnu/packages/commencement.scm (gash-utils-boot)[source]: Do not
modify parent value.
[arguments]: Add "env" to the list of scripts to create in the
'pre-configure' phase; add the "gash-utils" module directory in the
'configure', 'build', and 'install' phases.
2022-03-19 13:33:06 -06:00
Timothy Sample
0db2a6e749
gnu-bootstrap: Allow multiple module directories.
* guix/build/gnu-bootstrap.scm (bootstrap-configure,
bootstrap-build, bootstrap-install): Treat the 'modules' argument as
a list of directories.
* gnu/packages/commencement.scm (bootar, gash-boot,
gash-utils-boot): Adjust call sites.
2022-03-19 13:33:06 -06:00
Timothy Sample
5268bd97b1
gnu-bootstrap: Configure PACKAGE_NAME.
* guix/build/gnu-bootstrap.scm (bootstrap-configure): Add a 'name'
argument and use it to configure the PACKAGE_NAME variable.
* gnu/packages/commencement.scm (bootar, gash-boot,
gash-utils-boot): Use the new argument.
2022-03-19 13:33:06 -06:00
Timothy Sample
4c19c3eb06
gnu: hello-mesboot: Downgrade to 2.10.
* gnu/packages/commencement.scm (hello-mesboot): Downgrade to 2.10.
2022-03-19 13:33:00 -06:00
Efraim Flashner
53d986215f
Revert "gnu: %boot3-inputs: Add missing input."
This reverts commit ed2ca2dcb5.

This is no longer needed after the gcc STARTFILE_PREFIX_SPEC commit.
2022-03-16 12:17:09 +02:00
Efraim Flashner
030900747b
Revert "gnu: Add %final-inputs-riscv64."
This reverts commit 0444be8689.

This is no longer necessary after the gcc STARTFILE_PREFIX_SPEC commit.
2022-03-16 12:16:15 +02:00
Maxim Cournoyer
0dc019e19a
initrd: Use non-hyphenated kernel command-line parameter names.
This is to make it less surprising, given the common convention sets forth by
the kernel Linux command-line parameters.

* gnu/build/linux-boot.scm (boot-system): Rename '--load', '--repl', '--root'
and '--system' to 'gnu.load', 'gnu.repl', 'root' and 'gnu.system',
respectively.  Adjust doc.
(find-long-option): Adjust doc.
* gnu/installer/parted.scm (installer-root-partition-path): Adjust accordingly.
* gnu/system.scm (bootable-kernel-arguments): Add a VERSION argument and
update doc.  Use VERSION to conditionally return old style vs new style initrd
arguments.
(%boot-parameters-version): Increment to 1.
(operating-system-boot-parameters): Adjust doc.
(operating-system-boot-parameters-file): Likewise.
* gnu/system/linux-initrd.scm (raw-initrd, base-initrd): Likewise.
* doc/guix.texi: Adjust doc.
* gnu/build/activation.scm (boot-time-system): Adjust accordingly.
* gnu/build/hurd-boot.scm (boot-hurd-system): Likewise.
* gnu/packages/commencement.scm (%final-inputs-riscv64): Adjust comment.
2022-03-01 10:30:17 -05:00
Ludovic Courtès
ee230f15c6
gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper.
This reverts commits a95924c9ac and
defa85b265, which were used to build
nhc98@1.22 but are no longer needed.

* gnu/packages/base.scm (glibc-2.2.5): Remove.
* gnu/packages/commencement.scm (gcc-2.95-wrapper): Remove.
(glibc-mesboot0, gcc-mesboot0, binutils-mesboot): Keep private.
2022-02-14 15:52:35 +01:00
Ricardo Wurmus
a95924c9ac
gnu: Add gcc-2.95-wrapper.
* gnu/packages/commencement.scm (gcc-2.95-wrapper): New variable.
2022-02-07 14:02:26 +01:00
Ricardo Wurmus
defa85b265
gnu: Add glibc-2.2.5.
* gnu/packages/commencement.scm (glibc-mesboot0, gcc-mesboot0,
binutils-mesboot): Export variables.
* gnu/packages/base.scm (glibc-2.2.5): New variable.
2022-02-07 14:02:26 +01:00
Efraim Flashner
c5000dcc37
gnu: %final-inputs-riscv64: Add comment.
* gnu/packages/commencement.scm (%final-inputs-riscv64): Add comment
explaining why this variable needs to exist.
2022-02-01 12:33:28 +02:00
Efraim Flashner
6ac6a7e020
gnu: file: Update to 5.41.
* gnu/packages/file.scm (file): Absorb file-next.
* gnu/packages/commencement.scm (file-boot0)[arguments]: Add make-flag
to set CFLAGS.
* gnu/packages/diffoscope.scm (diffoscope): Remove file-next.
* gnu/packages/python-xyz.scm (python-magic)[inputs]: Replace file-next
with file.
2022-01-27 17:01:20 +02:00
Maxim Cournoyer
0d41fe4855
Merge branch 'staging' into core-updates.
With "conflicts" resolved in (mostly in favor of master/staging):
	gnu/packages/admin.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/gtk.scm
	gnu/packages/kerberos.scm
	gnu/packages/linux.scm
	guix/lint.scm
2022-01-25 23:48:37 -05:00
Efraim Flashner
0444be8689
gnu: Add %final-inputs-riscv64.
* gnu/packages/commencement.scm (%final-inputs-riscv64): New variable.
* guix/build-system/gnu.scm (standard-inputs): Use %final-inputs-riscv64
when targeting riscv64-linux.
2022-01-27 09:36:36 +02:00
Efraim Flashner
80194d9e47
gnu: python-boot0: Don't install tests.
* gnu/packages/commencement.scm (python-boot0)[arguments]: Add phase to
remove installed tests.
2022-01-19 13:06:23 +02:00
Efraim Flashner
bc5654af82
gnu: python-boot0: Remove sitecustomize.py.
* gnu/packages/commencement.scm (python-boot0)[native-inputs]: Remove
sitecustomize.py.
[arguments]: Remove 'install-sitecustomize.py phase.
[native-search-paths]: Set PYTHONPATH, not GUIX_PYTHONPATH.
2022-01-19 11:22:57 +02:00