Commit Graph

419 Commits

Author SHA1 Message Date
Efraim Flashner
da7d615629
gnu: %boot6-inputs: Replace xz with xz-final.
* gnu/packages/commencement.scm (xz-final): New variable.
(%boot6-inputs): Add xz-final. Remove xz.
(%final-inputs): Add xz-final. Remove xz from packages 'to finalize'.
2023-02-14 16:30:30 +02:00
Efraim Flashner
42c1a83a98
gnu: coreutils-boot0: Add comment about arm* configure-flags.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: Add a full
comment around the configure-flags used when building for arm
architectures.
2023-02-12 21:11:02 +02:00
Efraim Flashner
4cf1acc7f3
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	doc/guix.texi
	gnu/local.mk
	gnu/packages/admin.scm
	gnu/packages/base.scm
	gnu/packages/chromium.scm
	gnu/packages/compression.scm
	gnu/packages/databases.scm
	gnu/packages/diffoscope.scm
	gnu/packages/freedesktop.scm
	gnu/packages/gnome.scm
	gnu/packages/gnupg.scm
	gnu/packages/guile.scm
	gnu/packages/inkscape.scm
	gnu/packages/llvm.scm
	gnu/packages/openldap.scm
	gnu/packages/pciutils.scm
	gnu/packages/ruby.scm
	gnu/packages/samba.scm
	gnu/packages/sqlite.scm
	gnu/packages/statistics.scm
	gnu/packages/syndication.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/copy.scm
	guix/scripts/home.scm
2023-01-30 12:39:40 +02:00
Efraim Flashner
9782c45292
gnu: coreutils-boot0: Fix building on arm architectures.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
building for arm architectures skip building some programs.
2022-12-11 22:35:06 +02:00
Christopher Baines
2a152e1a42
gnu: diffutils: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags.
* gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always
use substitute-keyword-arguments.
2022-10-28 15:16:54 +01:00
Ludovic Courtès
d520fdec3c
gnu: findutils: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
2022-10-28 01:27:22 +02:00
Marius Bakke
56759d30d9
gnu: Switch to GCC 11.
* gnu/packages/commencement.scm (gcc-boot0)[source]: Delete offending files
from GCC.
(libstdc++-boot0)[arguments]: Add #:modules.
(libstdc++): Inherit from from GCC-BOOT0 rather than GCC.
(gcc-final)[arguments]: Add phase to workaround libstdc++ build system issue.
Add #:modules.
* gnu/packages/gcc.scm (make-libstdc++): Likewise.
2022-09-08 21:40:00 +02:00
Marius Bakke
c527b0ce23
gnu: grep: Update to 3.8.
* gnu/packages/base.scm (grep): Update to 3.8.
* gnu/packages/commencement.scm (grep-mesboot)[native-inputs]: Add
SED-MESBOOT.
* gnu/packages/autotools.scm (libtool)[source](patches): Add patch.
* gnu/packages/patches/libtool-grep-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-08 21:39:59 +02:00
Marius Bakke
f7e8be2318
gnu: texinfo: Fix @headings regression.
* gnu/packages/patches/texinfo-headings-single.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/texinfo.scm (texinfo)[source](patches): New field.
* gnu/packages/commencement.scm (texinfo-boot0)[source]: Use BOOTSTRAP-ORIGIN.
2022-08-11 22:39:14 +02:00
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