summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Expand)Author
2022-05-12gnu: commencement: Add bootstrap-seeds....* gnu/packages/commencement.scm (bootstrap-seeds): New variable. Jan (janneke) Nieuwenhuizen
2022-05-12gnu: commencement: Remove redundant import....Reported by Josselin Poiret on #guix. * gnu/packages/commencement.scm: Remove redundant #:use-module (guix gexp). Ludovic Courtès
2022-04-20git-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> Attila Lendvai
2022-03-21Merge branch 'staging' into core-updates.Maxim Cournoyer
2022-03-19gnu: 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. Timothy Sample
2022-03-19gnu: %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"). Timothy Sample
2022-03-19gnu: binutils-mesboot0: Update to 2.20.1a....This restores the package to how it was before the Scheme-only bootstrap. See cb167958ea904fc79913b883cb771e2d691402e0. * 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. Timothy Sample
2022-03-19gnu: sed-mesboot0: Remove package....* gnu/packages/commencement.scm (sed-mesboot0): Remove variable. (%boot-tcc-inputs): Remove 'sed-mesboot0'. Timothy Sample
2022-03-19gnu: 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'. Timothy Sample
2022-03-19gnu: 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. Timothy Sample
2022-03-19gnu: 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). Timothy Sample
2022-03-19gnu: bootar: Update to 1b....* gnu/packages/commencement.scm (bootar): Update to 1b. Timothy Sample
2022-03-19gnu: 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. Timothy Sample
2022-03-19gnu-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. Timothy Sample
2022-03-19gnu-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. Timothy Sample
2022-03-19gnu: hello-mesboot: Downgrade to 2.10....* gnu/packages/commencement.scm (hello-mesboot): Downgrade to 2.10. Timothy Sample
2022-03-16Revert "gnu: %boot3-inputs: Add missing input."...This reverts commit ed2ca2dcb558dcda6ea69c64a0a9e9c0b52f892e. This is no longer needed after the gcc STARTFILE_PREFIX_SPEC commit. Efraim Flashner
2022-03-16Revert "gnu: Add %final-inputs-riscv64."...This reverts commit 0444be868903356a37fc8ffd3cdf820ca038f3e6. This is no longer necessary after the gcc STARTFILE_PREFIX_SPEC commit. Efraim Flashner
2022-03-01initrd: 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. Maxim Cournoyer
2022-02-14gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper....This reverts commits a95924c9ac3f238cde243c96d552ff59ad77ca16 and defa85b26537a3cc20624fb9dbcae906226361d5, 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. Ludovic Courtès
2022-02-07gnu: Add gcc-2.95-wrapper....* gnu/packages/commencement.scm (gcc-2.95-wrapper): New variable. Ricardo Wurmus
2022-02-07gnu: 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. Ricardo Wurmus
2022-02-01gnu: %final-inputs-riscv64: Add comment....* gnu/packages/commencement.scm (%final-inputs-riscv64): Add comment explaining why this variable needs to exist. Efraim Flashner
2022-01-27gnu: 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. Efraim Flashner
2022-01-25Merge 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 Maxim Cournoyer
2022-01-27gnu: 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. Efraim Flashner
2022-01-19gnu: python-boot0: Don't install tests....* gnu/packages/commencement.scm (python-boot0)[arguments]: Add phase to remove installed tests. Efraim Flashner
2022-01-19gnu: 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. Efraim Flashner
2022-01-14gnu: %boot3-inputs: Add missing input....* gnu/packages/commencement.scm (%boot3-inputs): When building on riscv64-linux add gcc:lib. Efraim Flashner
2022-01-14gnu: gcc-boot0: Use libstdc++-boot0-gcc7 on riscv64-linux....* gnu/packages/commencement.scm (libstdc++-boot0-gcc7): New variable. (gcc-boot0)[inputs]: On riscv64-linux use libstdc++-boot0-gcc7 instead of libstdc++-boot0. Efraim Flashner
2022-01-14gnu: bootstrap: Add support for riscv64-linux....On 7d93b21ab1c132990054372a9677c1639d54e631 gnu: glibc-for-bootstrap: Update patch. Run ./pre-inst-env guix build --target=riscv64-linux-gnu bootstrap-tarballs Producing /gnu/store/4hdzva9i0wyyfbgj1lmqc1wkk644pv07-bootstrap-tarballs-0 With guix hash -rx 1nj0fdgj08bbmfny01mp2blv7c3p2iciqh31zmf04ap5s7ygsqlp * gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for riscv64-linux. (%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Add entry for riscv64-linux. (raw-build-guile3): New procedure. (make-raw-bag): Use raw-build-guile3 for riscv64-linux. * guix/packages.scm (%supported-systems): Add riscv64-linux. (%cuirass-supported-systems): Remove riscv64-linux. * guix/utils.scm (target-64bit?): Add riscv64-linux. * m4/guix.m4: Add riscv64-linux as a supported system. * doc/guix.texi (GNU Distribution): Add riscv64-linux. Efraim Flashner
2022-01-06gnu: gfortran-toolchain, gdc-toolchain: Make visible again....These two packages were made accidentally "hidden" in commit 2576e2019d2f5049ad3dc51404c7e991af45d1d6. * gnu/packages/commencement.scm (make-gcc-toolchain): Remove the 'hidden?' property. Ludovic Courtès
2022-01-01gnu: gcc: Add 'compiler-cpu-architectures' property....* gnu/packages/gcc.scm (%gcc-7.5-x86_64-micro-architectures) (%gcc-10-x86_64-micro-architectures): New variables. (gcc-7, gcc-10): Add 'properties' field. * gnu/packages/commencement.scm (make-gcc-toolchain): Likewise. Ludovic Courtès
2021-11-11gnu: Add ld-gold-wrapper....* gnu/packages/commencement.scm (ld-gold-wrapper): New variable. Maxim Cournoyer
2021-08-13gnu: commencement: Turn {gmp,mpfr,mpc}-boot into mere origins....Reported by Thiago Jung Bauermann <bauermann@kolabnow.com> at <https://issues.guix.gnu.org/49881>. * gnu/packages/commencement.scm (gmp-boot, mpfr-boot, mpc-boot): Turn into origins. (gcc-core-mesboot1): Adjust accordingly. Ludovic Courtès
2021-07-24gnu: commencement: Use gexps and 'local-file' to refer to patches....* gnu/packages/commencement.scm (tcc-boot): Remove stale comments. (gcc-core-mesboot0)[native-inputs]: Remove "boot-patch". [arguments]: Turn flags and phases into gexps. Use 'local-file' in the 'apply-boot-patch' phase to refer to the patch. (glibc-mesboot0)[native-inputs]: Remove "boot-patch" and "system-patch". [arguments]: Turn flags and phases into gexps. Use 'local-file' in the 'apply-boot-patch' phase to refer to the patches. (gcc-mesboot0)[native-inputs]: Remove "boot-patch". [arguments]: Turn phases into a gexp. (gcc-core-mesboot1)[native-inputs]: Remove "boot-patch". [arguments]: Turn flags and phases into gexps. Use 'local-file' in the 'apply-boot-patch' phase to refer to the patch. (gcc-mesboot1)[arguments]: Turn flags and phases into gexps. (glibc-headers-mesboot)[arguments]: Likewise. (glibc-mesboot)[arguments]: Likewise. Ludovic Courtès
2021-07-23gnu: commencement: Decouple python-boot0 from python....* gnu/packages/commencement.scm (python-boot0)[arguments]: Do not use SUBSTITUTE-KEYWORD-ARGUMENTS to make it easier to change Python without a full bootstrap. Marius Bakke
2021-07-18gnu: sed, diffutils: Patch faulty Gnulib tests....This is a followup to c823b958256ba1db6cf896400fae218e4261266e, fixing tests for sed and diffutils on armhf-linux. * gnu/packages/base.scm (sed)[source]: Add "coreutils-gnulib-tests.patch". (diffutils)[source]: Likewise. * gnu/packages/commencement.scm (diffutils-boot0)[source]: New field. Ludovic Courtès
2021-07-05gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms....* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags on non-x86 platforms. Ludovic Courtès
2021-07-04gnu: make-boot0: Build with "--disable-posix-spawn"....Fixes <https://bugs.gnu.org/49367>. * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass "--disable-posix-spawn" on non-x86. Ludovic Courtès
2021-07-02gnu: findutils-boot0: Really disable 'test-fnmatch' on i686-linux....Commit f08b070019a3c1697bb0b4a783dcd4f31243715a intended to skip 'test-fnmatch' on both x86_64-linux and i686-linux but it ended up skipping it on x86_64-linux only. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Use 'member' to test whether (%current-system) is "x86_64-linux" or "i686-linux". Ludovic Courtès
2021-07-01gnu: gcc-toolchain: Remove duplicate gcc-toolchain@10....This is a followup to 4796b5d6d18dcc0f1b6c8e134977ebdb575c5741. Fixes the "fold-available-packages with/without cache" test in 'tests/packages.scm'. * gnu/packages/commencement.scm (gcc-toolchain-8): Explicitly refer to GCC-8. (gcc-toolchain-10): Turn into an alias for GCC-TOOLCHAIN. Ludovic Courtès
2021-06-24gnu: Simplify the use of --with-long-double-128....Fixes <https://bugs.gnu.org/48825>. In short, this change adds the hard-coded "--with-long-double-128" configure option in one place and removes it from two other places. This changes and simplifies the use of this option for various architectures that start with the string "powerpc". * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add a clause for targets starting with "powerpc64le-" or "powerpc-" which adds the "--with-long-double-128" option. This causes any package using this procedure to be built using this new option on these architectures. In particular, this affects the gcc package and the gcc-final package, in addition to all the other versions of GCC defined in (gnu packages gcc). * gnu/packages/commencement.scm (gcc-boot0)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for all architectures starting with "powerpc", since it is now redundant on the architectures where it is needed. The gcc-boot0 package uses (and adds to) the gcc package's configure options. This means that the above change in gcc.scm is sufficient to ensure that the gcc-boot0 package's configure options will include "--with-long-double-128" on powerpc64le and powerpc architectures. Additionally, since the option is apparently not required on the big-endian powerpc64 architecture, this change also has the nice effect of omitting the option in that case. * gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for powerpc64le, since it is now redundant. The cross-gcc-arguments procedure uses (and adds to) the configure options of its xgcc argument (a package). This means that regardless of which gcc from gcc.scm is used as the xgcc, the above change in gcc.scm is sufficient to ensure that the cross-gcc-arguments procedure's configure options will include "--with-long-double-128" on the powerpc64le and powerpc architectures. Chris Marusich
2021-06-13gnu: expat: Install the static library....* gnu/packages/xml.scm (expat)[outputs]: New field. [arguments]: Remove #:configure-flags. Add #:phases. * gnu/packages/commencement.scm (expat-sans-tests)[outputs]: New field. [arguments]: Add #:phases. Marius Bakke
2021-06-11gnu: python: Remove unnecessary files....* gnu/packages/python.scm (python2)[arguments]: Remove files built during the test phase. (python3)[arguments]: Also remove windows binaries shipped with the sources. Julien Lepiller
2021-05-23gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux....* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust configure-flag to also use '--with-long-double-128' on powerpc-linux. Efraim Flashner
2021-05-09Merge branch 'master' into core-updates... Conflicts: gnu/local.mk gnu/packages/bioinformatics.scm gnu/packages/django.scm gnu/packages/gtk.scm gnu/packages/llvm.scm gnu/packages/python-web.scm gnu/packages/python.scm gnu/packages/tex.scm guix/build-system/asdf.scm guix/build/emacs-build-system.scm guix/profiles.scm Marius Bakke
2021-05-05gnu: linux-libre-headers: Remove rsync dependency....The resulting packages are bit-identical, sans for a missing empty "uapi" directory in versions < 5.3. * gnu/packages/commencement.scm (rsync-boot0): Remove variable. (linux-libre-headers-boot0)[native-inputs]: Remove RSYNC-BOOT0. * gnu/packages/linux.scm (make-linux-libre-headers*)[native-inputs]: Remove RSYNC. [arguments]: For newer kernel versions, run "make headers" instead of "make headers_check" before installing. Use FIND-FILES and INSTALL-FILE instead of calling "make headers_install". Remove ".install" files workaround. Marius Bakke
2021-04-27gnu: Add gcc-toolchain-11....* gnu/packages/gcc.scm (gcc-11): New variable. * gnu/packages/commencement.scm (gcc-toolchain-11): New variable. Efraim Flashner
2021-04-12gnu: gcc: Update gcc to 8....* gnu/packages/gcc.scm (gcc): Define as gcc-8. * gnu/packages/commencement.scm (gcc-toolchain-7): Use make-gcc-toolchain procedure. (gcc-toolchain-8): Define as gcc-toolchain. * gnu/packages/game-development (python2-renpy)[native-inputs], * gnu/packages/gnome.scm (gnome-commander)[native-inputs], * gnu/packages/wm.scm (waybar)[native-inputs]: Remove gcc-8. Efraim Flashner