summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Collapse)Author
2024-12-03gnu: commencement: gcc-final: Support the 64bit Hurd.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (gcc-final)[arguments]: When building for the 64bit Hurd, create a gcc wrapper in phase "create-stage-wrapper", use it by adding STAGE_CC_WRAPPER to #:make-flags, and CC to #:configure-flags to convince configure gmp that gcc and g++ work. Change-Id: I939c03c6c0fd9698efc4b293e59cf576249e3b77
2024-12-03gnu: commencement: gcc-boot0: Support the 64bit Hurd.Janneke Nieuwenhuizen
Asking gcc to "--disable-shared" is overridden for libcc1 by the build system, which lateron fails with install: cannot stat '.libs/libcc1.so.0.0.0': No such file or directory because no shared libcc1.so.0.0.0 could actually be built. * gnu/packages/commencement.scm (gcc-boot0)[arguments]: When building for the 64bit Hurd, add CC_FOR_BUILD to #:make-flags to convince gmp's configure that gcc works. Also, add phase "patch-libcc1-static" to avoid attempting a shared libcc1.
2024-12-03gnu: commencement: libstdc++-boot0: Support the 64bit Hurd.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (make-libstdc++-boot0)[arguments]: When creating libstdc++-boot0 for the 64bit Hurd, add disable options similar to libstdc++ to #:configure-flags. Change-Id: I00636fa48e38823b00ede7dcbd0c1c23544d898c
2024-12-03gnu: commencement: kernel-headers-boot0: Support the 64bit Hurd.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (kernel-headers-boot0): Match using target-hurd? rather than "i586-gnu". Change-Id: I3c05f110674e55c97d6712202da9d9af6c1d953f
2024-12-03gnu: Use gcc-14, gcc-toolchain-14 on the 64bit Hurd.Janneke Nieuwenhuizen
This enables building packages in a 64bit childhurd. It will not enable offloading to a childhurd. * guix/utils.scm (host-hurd?, host-x86-64, host-hurd64?): New procedures. * gnu/packages/commencement.scm (gcc-toolchain): Use them to determine if the host is a 64bit Hurd, and use gcc-toolchain-14. * gnu/packages/gcc.scm (gcc): Likewise, to use gcc-14. Change-Id: I55e43fdc61e3ea5fc13065fc7ca854b951c94930
2024-12-03gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (libstdc++-boot0-gcc7): Change variable to... (make-libstdc++-boot0): ...this new procedure and update accordingly. (gcc-boot0): Update accordingly, and cater for x86_64-gnu. Change-Id: Ib0bc84e4dab90b080e5a01e6ab932f8be456c656
2024-12-03gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to 0.9.git20240714. Change-Id: Ib3edaa3adb9cfe4cb8c5a3af83cb2701ee9dda1b
2024-12-03gnu: commencement: mig-boot0: Update to 1.8+git20231217..Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (mig-boot0): Update to 1.8+git20231217. Change-Id: I591ff7cb84ac1e567d49f51eb40be19fa6b15f5b
2024-12-03gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to 1.8+git20240714. Change-Id: If30d7b4a688070d70741173c97a60284ca8299ef
2024-12-03gnu: gnumach: Update to v1.8+git20240714.Janneke Nieuwenhuizen
* gnu/packages/patches/gnumach-version.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use it. * gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset patches. Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5
2024-08-31gnu: commencement: Simplify ‘grep-final’ definition.Ludovic Courtès
* gnu/packages/commencement.scm (grep-final): Remove unneeded ‘substitute-keyword-arguments’. Change-Id: I4076c4e6d51bd408f6c68a2eb508855698330972
2024-08-31gnu: commencement: Build ‘perl-boot0’ without stack protector on the Hurd.Ludovic Courtès
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Pass “-A ccflags=-fno-stack-protector” on GNU/Hurd. Change-Id: I04d4e276cdcc1bbf589273791a3f64e5a17c4152
2024-08-31gnu: perl-boot0: Use gexps.Ludovic Courtès
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps. Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a
2024-08-31gnu: commencement: ‘git-fetch-from-tarball’ can use ‘git-download’.Ludovic Courtès
This works around the fact that hash mismatches for the tarball download would lead to a build failure. * gnu/packages/commencement.scm (built-in-builders*): New variable. (git-fetch-from-tarball): Adjust to use the ‘git-download’ builder when it’s available. Add comments. Change-Id: I63502da6c942f85bf012f7c6bf3aa3617f818183
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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 <[email protected]> Modified-by: Maxim Cournoyer <[email protected]> Change-Id: I1efd62d98a27c3d9b878f37c890d6ff0ea6ea675
2024-08-31gnu: 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 <[email protected]>
2024-08-31gnu: 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 <[email protected]>
2024-08-31gnu: 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 <[email protected]>
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31build: 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 <[email protected]> Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
2024-08-31gnu: python-boot0: Name it eponymously.Maxim Cournoyer
* gnu/packages/commencement.scm (python-boot0) [name]: Override name. Change-Id: I00f3a07e9aea9fae3e2ce9c571fa06a95c9bcdb1
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: 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
2024-08-31gnu: grep-mesboot: Remove inherited configure-flags.Efraim Flashner
* gnu/packages/commencement.scm (grep-mesboot)[arguments]: Strip inherited configure-flags. Change-Id: Id1e9c0d742aaa978b436073088f92a742ec45272
2024-08-31gnu: 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
2024-08-31build-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
2024-07-02gnu: Add gcc-toolchain-14.Zheng Junjie
* gnu/packages/commencement.scm (gcc-toolchain-14): New variable. Change-Id: I82d56541c76cc48d450c690b047c48a4c4a36702 Signed-off-by: Efraim Flashner <[email protected]>
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 <[email protected]> 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 <[email protected]>
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 <[email protected]> Signed-off-by: Josselin Poiret <[email protected]> Signed-off-by: Ludovic Courtès <[email protected]>
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.