aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
Commit message (Collapse)AuthorAge
* gnu: commencement: Make ‘glibc-final’ immune to ↵Ludovic Courtès2023-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | ‘%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
* gnu: commencement: Avoid cyclic dependency when targeting i586-pc-gnu.Ludovic Courtès2023-11-25
| | | | | | | | | | | | | | | 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
* gnu: commencement: Use locales for the right libc version on GNU/Hurd.Ludovic Courtès2023-11-25
| | | | | | | | | | | | | | | | | 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
* gnu: Add gcc-toolchain-13.Hilton Chain2023-09-28
| | | | | | * gnu/packages/commencement.scm (gcc-toolchain-13): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: gcc-toolchain: Add empty librt.a.Josselin Poiret2023-08-25
| | | | | * gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
* gnu: commencement: Use system in %final-inputs.Christopher Baines2023-08-18
| | | | | | | | | | | | | | | | 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>
* gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216.Janneke Nieuwenhuizen2023-07-19
| | | | | | | | | | | | | * 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.
* gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216.Janneke Nieuwenhuizen2023-07-19
| | | | | | | | | * 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.
* gnu: mig: Use git-fetch.Josselin Poiret2023-07-19
| | | | | | | | | | 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.
* gnu: commencement: mig-boot0: Update to 1.8+git20230520.Janneke Nieuwenhuizen2023-07-19
| | | | | | | | | | * 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.
* gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224.Janneke Nieuwenhuizen2023-07-19
| | | | | | | | | * 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.
* gnu: commencement: Add git-fetch-from-tarball utility.Ludovic Courtès2023-07-19
| | | | * gnu/packages/commencement.scm (git-fetch-from-tarball): New procedure.
* gnu: commencement: Add automake-boot0.Janneke Nieuwenhuizen2023-07-19
| | | | * gnu/packages/commencement.scm (automake-boot0): New variable.
* gnu: commencement: Add autoconf-boot0.Janneke Nieuwenhuizen2023-07-19
| | | | * gnu/packages/commencement.scm (autoconf-boot0): New variable.
* gnu: Add libc-for-target and glibc/hurd.Josselin Poiret2023-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen2023-06-17
| | | | | | | | * 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.
* gnu: gcc-boot0: Do not use 'coreutils-boot0' on GNU/Hurd.Ludovic Courtès2023-06-02
| | | | | | | | 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.
* gnu: commencement: m4-boot0: Disable tests for the Hurd too.Janneke Nieuwenhuizen2023-05-29
| | | | | | | GNU lib's stack-overflow tests fail. * gnu/packages/commencement.scm (m4-boot0)[arguments]: Set #:tests? to #false for the Hurd.
* gnu: findutils: Update XFAIL_TESTS for the hurd.Christopher Baines2023-05-07
| | | | | | | | | 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.
* Revert "gnu: gcc-11: Adapt patching for hurd to not use gexp's."Christopher Baines2023-05-07
| | | | | | | | | | | 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.
* gnu: Use gexps for gcc-boot0 and related packages.Christopher Baines2023-05-07
| | | | | | | | | | | | | | | | | | 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.
* gnu: gcc-11: Fix patch-hurd-libpthread phase.Christopher Baines2023-05-05
| | | | | | | | | | 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.
* gnu: Add gdc-toolchain-11.Efraim Flashner2023-04-10
| | | | * gnu/packages/commencement.scm (gdc-toolchain-11): New variable.
* Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-03-20
|\
| * gnu: mig: Remove dependency on Perl.Ludovic Courtès2023-03-04
| | | | | | | | | | | | * gnu/packages/hurd.scm (mig)[inputs]: Remove PERL. [arguments]: Remove 'patch-non-shebang-references' phase and add 'avoid-perl-dependency' phase.
* | gnu: coreutils-boot0: Fix building on armhf-linux.Efraim Flashner2023-03-15
| | | | | | | | | | | | | | * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When building for armhf-linux include the workaround to force 32-bit time. Rearrange arguments so that the configure-flags for armhf-linux aren't overridden.
* | Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines2023-03-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
| * gnu: Rename 'guile-3.0/fixed' to 'guile-3.0/pinned'.Simon Tournier2023-02-05
| | | | | | | | | | | | | | | | | | | | | | * gnu/packages/guile.scm: Rename variable 'guile-3.0/fixed' to 'guile-3.0/pinned', add deprecation. * etc/release-manifest.scm (%packages-to-cross-build): Replace 'guile-3.0/fixed' with 'guile-3.0/pinned'. * gnu/packages/autotools.scm (make-autoconf-wrapper)[inputs]: Likewise. * gnu/packages/commencement.scm (guile-final): Likewise. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* | gnu: static-bash-for-glibc: Use gexps.Ludovic Courtès2023-02-28
| | | | | | | | | | * gnu/packages/commencement.scm (static-bash-for-glibc)[arguments]: Use gexps.
* | gnu: commencement: mes-boot: Update to 0.24.2.Jan (janneke) Nieuwenhuizen2023-02-15
| | | | | | | | | | | | This fixes <https://debbugs.gnu.org/41264>. * gnu/packages/commencement.scm (mes-boot): Update to 0.24.2.
* | gnu: commencement: tcc-boot: Rebuild Mes C Library.Jan (janneke) Nieuwenhuizen2023-02-15
| | | | | | | | | | * gnu/packages/commencement.scm (tcc-boot)[arguments]: Rebuild the Mes C Library in the "install" phase.
* | Revert "gnu: commencement: mes-boot: Update to 0.24.2."Jan (janneke) Nieuwenhuizen2023-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b928e38bd333e6186727fe5c5e94b85d157b79d6. The gcc-core-mesboot0 package fails to build with mes-boot-0.24.2, `ar' segfaults $ strace ar rc libiberty.a argv.o execve("/gnu/store/nvb6jh26hfjifs79h7hrlkw3cisgc353-binutils-mesboot0-2.20.1a/bin/ar", ["ar", "rc", "libiberty.a", "argv.o"], 0x7ffc4187fff8 /* 82 vars */) = 0 [ Process PID=22689 runs in 32 bit mode. ] brk(NULL) = 0x830f000 brk(0x830f000) = 0x830f000 stat64("libiberty.a", {st_mode=S_IFREG|0600, st_size=8, ...}) = 0 brk(0x830f0a4) = 0x830f0a4 brk(0x830f0b4) = 0x830f0b4 brk(0x8310098) = 0x8310098 brk(0x83100a4) = 0x83100a4 brk(0x8311088) = 0x8311088 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x63ecebc8} --- +++ killed by SIGSEGV +++ Segmentation fault See also <https://debbugs.gnu.org/41264>.
* | gnu: commencement: mes-boot: Update to 0.24.2.Jan (janneke) Nieuwenhuizen2023-02-15
| | | | | | | | | | | | This fixes <https://debbugs.gnu.org/41264>. * gnu/packages/commencement.scm (mes-boot): Update to 0.24.2.
* | gnu: %boot6-inputs: Replace xz with xz-final.Efraim Flashner2023-02-14
| | | | | | | | | | | | * 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'.
* | gnu: coreutils-boot0: Add comment about arm* configure-flags.Efraim Flashner2023-02-12
| | | | | | | | | | | | * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: Add a full comment around the configure-flags used when building for arm architectures.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2023-01-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: diffutils: Skip failing test on GNU/Hurd.Christopher Baines2022-10-28
| | | | | | | | | | | | * gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always use substitute-keyword-arguments.
| * gnu: findutils: Skip failing test on GNU/Hurd.Ludovic Courtès2022-10-28
| | | | | | | | | | * gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
* | gnu: coreutils-boot0: Fix building on arm architectures.Efraim Flashner2022-12-11
| | | | | | | | | | * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When building for arm architectures skip building some programs.
* | gnu: Switch to GCC 11.Marius Bakke2022-09-08
| | | | | | | | | | | | | | | | | | | | * 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.
* | gnu: grep: Update to 3.8.Marius Bakke2022-09-08
| | | | | | | | | | | | | | | | | | * 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.
* | gnu: texinfo: Fix @headings regression.Marius Bakke2022-08-11
| | | | | | | | | | | | | | * 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.
* | Merge branch 'staging' into core-updatesMarius Bakke2022-07-22
|\|
| * gnu: commencement: Explicitly provide the source of 'tcc-boot'.Ekaitz Zarraga2022-07-19
| | | | | | | | | | | | | | * gnu/packages/commencement.scm (tcc-boot)[source]: Remove dependency on tcc. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | gnu: zlib: Update to 1.2.12.Marius Bakke2022-06-30
| | | | | | | | | | | | | | | | | | | | * 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.
* | gnu: linux-libre-headers-boot0: Fix building with armhf-linux.Efraim Flashner2022-06-29
| | | | | | | | | | | | * gnu/packages/commencement.scm (linux-libre-headers-boot0) [arguments]: Adjust 'lower-version-requirements phase to accept gcc-4.8.4, used by armhf-linux.
* | gnu: m4-boot0: Fix build on arm architectures.Efraim Flashner2022-06-28
| | | | | | | | | | * gnu/packages/commencement.scm (m4-boot0)[arguments]: Skip tests when building for arm architectures.
* | gnu: coreutils: Update to 9.1.Marius Bakke2022-06-26
| | | | | | | | | | | | | | | | | | * 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.
* | gnu: linux-libre-headers: Update to 5.15.49.Marius Bakke2022-06-26
| | | | | | | | | | | | | | | | * 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.
* | Merge branch 'master' into core-updatesLudovic Courtès2022-06-08
|\|