summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Collapse)Author
5 daysgnu: findutils-boot0: Fix build on armhf-linux.Efraim Flashner
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Adjust 'skip-problematic-tests phase when building on armhf-linux to adjust the tests skipped. Change-Id: Ib014402cb07399788440115782ddca4adfe05193
5 daysgnu: guile-2.0: Add libxcrypt dependency.Josselin Poiret
* gnu/packages/guile.scm (guile-2.0): Add libxcrypt dependency, and include it in the pkg-config file's flags. * gnu/packages/commencement.scm (guile-final): Explicitely exclude libxcrypt dependency. Change-Id: Ie01913971b225c4dd23dcfdb96348d4e11042da8
5 daysgnu: commencement: Do not export unused make-gcc-toolchain.Maxim Cournoyer
It is discouraged to import this module anywhere. * gnu/packages/commencement.scm: Remove make-gcc-toolchain export. Change-Id: I3095a83434b6bfc0e8dad1ad00be1aa02472aac4
5 daysgnu: mig-boot0: Do not override phases.Ricardo Wurmus
The build phases of the mig package are needed also for mig-boot0, so instead of overriding all arguments we should only override the configure flags. * gnu/packages/commencement.scm (mig-boot0)[arguments]: Use SUBSTITUTE-KEYWORD-ARGUMENTS to replace only the configure flags. Change-Id: I8227baf9e7fabc86a8674fe694058245ce166d0f
5 daysgnu: hurd-headers-boot0: Update hash.Ricardo Wurmus
* gnu/packages/commencement.scm (hurd-headers-boot0)[source]: Use hash of tarball, not of git checkout. Change-Id: Ibb79396722507ab6509d18a67b3d22210a8a31a9
5 daysgnu: gnu-make-final: Turn into a procedure to delay top-level evaluation.Maxim Cournoyer
This was causing a problem with the pkg-config syntax being evaluated too early. * gnu/packages/commencement.scm (gnu-make-final): Rename to... (make-gnu-make-final): ... this, turning it into a procedure. Also use %pkg-config to avoid more problems caused by pulling the special pkg-config syntax. (%final-inputs): Adjust accordingly. Change-Id: Icf1d0e106a109afc8e121d5dcfff07df8d5dd1df
5 daysgnu: commencement: hurd-headers-boot0: Update to 0.9.git20230520.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to 0.9.git20230520. Change-Id: Ie9ae6bd56ae120019bd154d975161e4ee0636795
5 daysgnu: commencement: gnumach-headers-boot0: Update to 1.8+git20230410.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to 1.8+git20230410. Change-Id: I4658c089e4c4be34a4e4e540d90a64dd1717fdff
5 daysgnu: findutils-boot0: Re-enable most tests.Pierre Langlois
* gnu/packages/commencement.scm (findutils-boot0) [arguments]: Enable tests. Rename skip-fnmatch-test phase skip-problematic-tests. Only disable test-fnmatch on x86_64 and i686. Disable pthread tests on other platforms. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I1efd62d98a27c3d9b878f37c890d6ff0ea6ea675
5 daysgnu: tcc-boot0: Update to 0.9.26-1149-g46a75d0c.Ekaitz Zarraga
* gnu/packages/commencement.scm (tcc-boot0): Update to 0.9.26-1149-g46a75d0c. [supported-systems]: Add riscv64-linux. Change-Id: I5de3e0a36366d57722e380edeedd389f3cf36f98 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
5 daysgnu: mes-boot: Update to 0.25.1.Ekaitz Zarraga
* gnu/packages/commencement.scm(mes-boot): Update to 0.25.1. [arguments]: Adjust the 'configure phase to allow for other systems. Adjust the 'build phase. [supported-systems]: Add riscv64-linux. Change-Id: I262a8b6855e8c6528969d0c4b69a42cd2f477f2d Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
5 daysgnu: stage0-posix: Update to 1.6.0Ekaitz Zarraga
In 1.6.0 we have all the inputs merged in the tarball so we don't need to add extra inputs in separate tarballs. * gnu/packages/commencement (bootstrap-seeds): Remove it. (stage0-posix): Update to 1.6.0 and use the sub-packages from the tarball. Simplify the build phase. Change-Id: Ic025335ecc66acecbc0a928995a07e521aeb7742 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
5 daysgnu: binutils: Use gexps.Ludovic Courtès
This is the result of applying ‘guix style -S arguments’ and making small adjustments. * gnu/packages/base.scm (binutils)[arguments]: Use gexps. (binutils-2.33, binutils-gold): Likewise. * gnu/packages/commencement.scm (binutils-mesboot0, binutils-mesboot1) (binutils-boot0, binutils-final): Likewise. * gnu/packages/cross-base.scm (cross-binutils*): Adjust accordingly. * gnu/packages/embedded.scm (make-propeller-binutils): Use gexps. * gnu/packages/make-bootstrap.scm (%binutils-static): Use gexps. Change-Id: I59cbe29760784b09e6d4e80beca9153cb9b495a7
5 daysgnu: binutils: Update to 2.41.Ludovic Courtès
* gnu/packages/base.scm (binutils): Update to 2.41. [properties]: Remove. [native-inputs]: New field. (binutils+documentation): Remove. (binutils-2.33)[native-inputs]: New field. (binutils-gold): Inherit from BINUTILS. [native-inputs]: Use ‘modify-inputs’ to preserve BISON. * gnu/packages/commencement.scm (binutils-boot0)[arguments]: Pass ‘--disable-gprofng’. [native-inputs]: New field. (binutils-final): Move below ‘libstdc++’. [native-inputs]: New field. [arguments]: Add libstdc++ to #:allowed-references. Extend #:configure-flags to libstdc++ is found. Change-Id: I72750ca46ffd484d26608c4cec2931edb06b19a5
5 daysbuild: gnu-build-system: Compress man pages with zstd.Maxim Cournoyer
The aim is to improve the efficiency of computing the man pages database, which must decompress the man pages. Zstd is faster than gzip, especially for decompression, and has a similar compression ratio. * gnu/packages/commencement.scm (%final-inputs): Add zstd. * guix/build/gnu-build-system.scm (compress-documentation) Update doc. <info-compressor, info-compressor-flags, man-compressor, man-compressor-flags> <man-compressor-file-extension>: New arguments. <compressed-documentation-extension>: Rename argument to... <info-compressor-file-extension>: ... this. Add an 'extension' argument to the retarget-symlink nested procedure. Use new arguments in nested 'maybe-compress' procedure. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
5 daysgnu: python-boot0: Name it eponymously.Maxim Cournoyer
* gnu/packages/commencement.scm (python-boot0) [name]: Override name. Change-Id: I00f3a07e9aea9fae3e2ce9c571fa06a95c9bcdb1
5 daysgnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.Ludovic Courtès
* gnu/packages/commencement.scm (%boot5-inputs): Make an alias for ‘%boot4-inputs’. (with-boot5): Turn into an alias for ‘with-boot4’. (%final-inputs): Override ‘native-inputs’ of GAWK. Remove "locales" entry. (canonical-package): Add “glibc-utf8-locales” entry. * gnu/packages/base.scm (libc-utf8-locales-for-target): Use ‘canonical-package’. * gnu/packages/gawk.scm (gawk)[native-inputs]: New field. * gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add ‘libc-utf8-locales-for-target’. Change-Id: I2283ffc6c6000c98ad2db89c04d581e050667c94
5 daysgnu: glibc: Improve handling of empty .a files.Ludovic Courtès
This partially reverts 3b2de6529b9d77c8a74d431859a3ec334e9603c2, itself a followup to 25b30622b4a77cd4b2965b9d62fa310a22413d54. * gnu/packages/base.scm (glibc)[arguments]: In ‘move-static-libs’ phase, remove ‘empty-static-libraries’ variable and rewrite ‘empty-static-library?’ to check file type and size. * gnu/packages/commencement.scm (make-gcc-toolchain): Remove ‘copy-file’ call to create ‘librt.a’. Change-Id: I33c6825d5b1e6e790dfff494bac1da07d3389e77
5 daysgnu: grep-final: Adjust for changes in grep.Efraim Flashner
* gnu/packages/commencement.scm (grep-final)[arguments]: Strip inherited configure-flags. [inputs]: Remove inherited pcre2, not pcre. Change-Id: Ib912430712b3d4dfea4854e563e4efb4ae5e3e45
5 daysgnu: grep-mesboot: Remove inherited configure-flags.Efraim Flashner
* gnu/packages/commencement.scm (grep-mesboot)[arguments]: Strip inherited configure-flags. Change-Id: Id1e9c0d742aaa978b436073088f92a742ec45272
5 daysgnu: gcc-final: Import the correct set of modules.Maxim Cournoyer
* gnu/packages/commencement.scm (gcc-final) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I581dd9cb1ee2cc1747982b4a34277b80fa1cc0f7
5 daysbuild-systems: gnu: Export %default-gnu-imported-modules and ↵Maxim Cournoyer
%default-gnu-modules. Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
14 daysgnu: Add gcc-toolchain-14.Zheng Junjie
* gnu/packages/commencement.scm (gcc-toolchain-14): New variable. Change-Id: I82d56541c76cc48d450c690b047c48a4c4a36702 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-06-24gnu: patch: Update to latest commit [security fixes].Maxim Cournoyer
* gnu/packages/base.scm (patch): Rename to... (patch/pinned): ... this. Hide package. (patch): New variable. * gnu/packages/commencement.scm (patch-mesboot): Inherit from patch/pinned. (patch-boot0): Likewise. (%final-inputs): Replace patch with patch/pinned. * gnu/packages/lisp.scm (cl-asdf): Likewise. * guix/packages.scm (%standard-patch-inputs): Replace patch with patch/pinned. Fixes: https://issues.guix.gnu.org/47144 Reported-by: Mark H Weaver <mhw@netris.org> Change-Id: I54ae41b735f5ba0ebad30ebdfaabe0ccdc3f9873
2024-04-16gnu: make-gcc-toolchain: Add gcc:lib.John Kehayias
* gnu/packages/commencement.scm (make-gcc-toolchain)[inputs]: Add gcc:lib. Change-Id: I327a2403d5d14dd545981e8e9dbfd7df24c9357e
2024-04-16gnu: gcc-toolchain: Do not use gcc-final.Simon Tournier
* gnu/packages/commencement.scm (gcc-toolchain): Bind to the default gcc-toolchain-11 being consitent with others. (gcc-toolchain-11): Make it from gcc-11. (gcc-toolchain-aka-gcc): Bind to gcc-toolchain.
2023-11-26gnu: commencement: Make ‘glibc-final’ immune to ↵Ludovic Courtès
‘%current-target-system’. Previously, the value memoized for ‘glibc-final’ was influenced by that of ‘%current-target-system’ since it is used as a default argument to ‘libc-for-target’. Thus, due to the order in which modules were loaded versus the time at which ‘%current-target-system’ was set, it was possible to end up with ‘glibc-final’ set to the “wrong” libc, for instance when doing: guix build -f guix.scm --target=i586-pc-gnu from another project such as the Shepherd. This is similar to the problem fixed in 625a847d2a554168bec6e294888d9d1f8ab03d08. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash) (glibc-final): Explicitly pass (%current-system) as the first argument to ‘libc-for-target’ so that the value of ‘%current-target-system’ at that time has no influence. Change-Id: I2f05898b8f9d1f99d4c75108441c7ad38728225f
2023-11-25gnu: commencement: Avoid cyclic dependency when targeting i586-pc-gnu.Ludovic Courtès
Fixes a regression introduced in 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 where: guix build coreutils --target=i586-pc-gnu coreutils would never complete due to a dependency loop introduced in ‘%final-inputs’. * gnu/packages/commencement.scm (%final-inputs): Pass argument to ‘target-hurd?’. Change-Id: I4df7907fb9afcd2b170ba19307666eaa81f12d41
2023-11-25gnu: commencement: Use locales for the right libc version on GNU/Hurd.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/66472>. Until now, we were unconditionally using ‘glibc-utf8-locales’, which targets the glibc version used on Linux (2.35) rather than that used on the Hurd (2.37). This would lead to build failures due to the inability to use locale encoding when targeting i586-gnu. * gnu/packages/base.scm (glibc-utf8-locales/hurd): New variable. * gnu/packages/commencement.scm (glibc-utf8-locales-final/hurd): New variable. (%boot5-inputs): Use it when ‘target-hurd?’ returns #t. (%final-inputs): Likewise. Change-Id: I1666d615dffbe3561cf2d9612b85cd31a48a7dcd
2023-09-28gnu: Add gcc-toolchain-13.Hilton Chain
* gnu/packages/commencement.scm (gcc-toolchain-13): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-08-25gnu: gcc-toolchain: Add empty librt.a.Josselin Poiret
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
2023-08-18gnu: commencement: Use system in %final-inputs.Christopher Baines
Otherwise this causes odd issues, I presume arising from when %current-system differs from the system argument passed to %final-inputs. * gnu/packages/commencement.scm (%final-inputs): Set %current-system to system. * gnu/packages/base.scm (%final-inputs): Add optional system parameter. * gnu/ci.scm (base-packages): New procedure to memoize the base packages depending on system. (package->job): Pass system to base-packages. Co-authored-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-19gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (hurd-minimal-boot0): Remove redundant let and package-with-bootstrap-guile. [name]: New field; give proper name. [version]: New field. [source]: Update to 0.9.git20230216, using hurd-headers-boot0' source. [inputs]: Add autoconf-boot0, automake-boot0, gnumach-headers-boot0. [native-inputs]: Add autoconf-boot0, automake-boot0, and gnumach-headers-boot0. * gnu/packages/commencement.scm (hurd-version-boot0, hurd-source-boot0): Remove.
2023-07-19gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (hurd-headers-boot0): Remove redundant outer let and package-with-bootstrap-guile. [name]: New field; give proper name. [version]: New field. [source]: Update to 0.9.git20230216, using git-fetch-from-tarball. [inputs]: Add autoconf-boot0, automake-boot0, gnumach-headers-boot0.
2023-07-19gnu: mig: Use git-fetch.Josselin Poiret
Now that we have `git-fetch-from-tarball' to break the cycle in commencement for git-fetch sources, we can finally update mig to use git-fetch to allow `--with-commit' builds. * gnu/packages/hurd.scm (mig)[source]: Use git-fetch again. * gnu/packages/commencement.scm (mig-boot0)[source]: Use git-fetch-from-tarball accordingly.
2023-07-19gnu: commencement: mig-boot0: Update to 1.8+git20230520.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (mig-boot0): Remove redundant outer let. [name]: New field, give proper name. [version]: New field [source]: Update to 1.8+git20230520. [native-inputs]: Add autoconf-boot0, automake-boot0. [inputs]: Add gnumach-headers-boot0.
2023-07-19gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (gnumach-headers-boot0)[name]: New field; give proper name. [source]: Update to 1.8+git20221224, using git-fetch-from-tarball. [native-inputs]: Add autoconf-boot0, automake-boot0, texinfo-boot0. [arguments]: Add 'patch-compat' phase to allow building hurd-minimal etc, with our out-of-date bootstsrap binaries.
2023-07-19gnu: commencement: Add git-fetch-from-tarball utility.Ludovic Courtès
* gnu/packages/commencement.scm (git-fetch-from-tarball): New procedure.
2023-07-19gnu: commencement: Add automake-boot0.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (automake-boot0): New variable.
2023-07-19gnu: commencement: Add autoconf-boot0.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (autoconf-boot0): New variable.
2023-07-13gnu: Add libc-for-target and glibc/hurd.Josselin Poiret
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch * gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch * gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables. (glibc/hurd-headers): Use glibc/hurd. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs, source, arguments] (glibc-final)[source]: Use libc-for-target instead of glibc. * gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use libc-for-target. This part fixes https://issues.guix.gnu.org/63641#25 * gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda taking "system". * gnu/packages/commencement.scm (canonical-package): Likewise, and update user, passing (%current-system). (make-gcc-toolchain): Update user, passing (%current-system). * gnu/packages/base.scm (%final-inputs): Likewise. * guix/scripts/refresh.scm (options->update-specs): Likewise. * guix/build-system/gnu.scm (standard-packages): Add optional "system" parameter. (lower): Update caller. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-06-17gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen
* gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused.
2023-06-02gnu: gcc-boot0: Do not use 'coreutils-boot0' on GNU/Hurd.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/63789>. Reported by Janneke Nieuwenhuizen <janneke@gnu.org>. * gnu/packages/commencement.scm (gcc-boot0)[source]: Use '%bootstrap-coreutils&co' when on GNU/Hurd.
2023-05-29gnu: commencement: m4-boot0: Disable tests for the Hurd too.Janneke Nieuwenhuizen
GNU lib's stack-overflow tests fail. * gnu/packages/commencement.scm (m4-boot0)[arguments]: Set #:tests? to #false for the Hurd.
2023-05-07gnu: findutils: Update XFAIL_TESTS for the hurd.Christopher Baines
This could do with more investigating, but this reflects what I see locally. * gnu/packages/base.scm (findutils)[arguments]: Update XFAIL_TESTS for the hurd. * gnu/packages/commencement.scm (findutils-boot0): Stop clearing the make-flags, so the above change applies to findutils-boot0.
2023-05-07Revert "gnu: gcc-11: Adapt patching for hurd to not use gexp's."Christopher Baines
This reverts commit 08acdd0765b5f4fbfafa699a823ea7985d4d35a7. This change is now unnecessary now that gcc-boot0 uses gexps (a795a02a9d988be5a762886620f7bb6a95e7ffdb). * gnu/packages/gcc.scm (gcc-11)[arguments]: Use gexp for modify-phases. [native-inputs]: Remove. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Remove.
2023-05-07gnu: Use gexps for gcc-boot0 and related packages.Christopher Baines
There are currently problems with native or cross building for i586-gnu, and one factor mixed up with this is that some of the gcc packages use sexp's for the phases, and thus introducing gexp's has caused problems. As part of the going in circles with this, this commit switches gcc-boot0 to use gexp's in it's arguments, and then also modifies libstdc++-boot0, libstdc++-boot0-gcc7, cross-gcc-wrapper, gcc-final and make-libstdc++ to handle this change. If done correctly, this change shouldn't affect any derivations. * gnu/packages/commencement.scm (libstdc++-boot0, libstdc++-boot0-gcc7, gcc-boot0, gcc-final)[arguments]: Use gexps. (cross-gcc-wrapper): Use gexps in the generated package. * gnu/packages/gcc.scm (make-libstdc++): Use gexps in the generated package.
2023-05-05gnu: gcc-11: Fix patch-hurd-libpthread phase.Christopher Baines
It didn't work when it was introduced in 08acdd0765b5f4fbfafa699a823ea7985d4d35a7. * gnu/packages/gcc.scm (gcc-11)[arguments]: Remove the procedure arguments, and use %build-inputs rather than inputs. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Add hurd-patch, as this package inherits from gcc-11.
2023-04-10gnu: Add gdc-toolchain-11.Efraim Flashner
* gnu/packages/commencement.scm (gdc-toolchain-11): New variable.
2023-03-20Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge