summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Expand)Author
2023-02-05gnu: Rename 'guile-3.0/fixed' to 'guile-3.0/pinned'....* 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> Simon Tournier
2022-10-28gnu: 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. Christopher Baines
2022-10-28gnu: findutils: Skip failing test on GNU/Hurd....* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise. Ludovic Courtès
2022-07-19gnu: 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> Ekaitz Zarraga
2022-06-05gnu: 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'. Ludovic Courtès
2022-06-05gnu: 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. Ludovic Courtès
2022-05-24gnu: gcc-toolchain: Add 12.1.0....* gnu/packages/commencement.scm (gcc-toolchain-12): New variable. Ludovic Courtès
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-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: 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-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
2021-03-30build-system: Rewrite using gexps....* guix/packages.scm (expand-input): Remove 'store', 'system', and 'cross-system' parameters; add #:native?. Rewrite to return name/gexp-input tuples. (bag->derivation): Adjust accordingly. Lower (bag-build bag). (bag->cross-derivation): Ditto. Instead of #:native-drvs and #:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs. (%derivation-cache): Remove. * gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure. * gnu/packages/commencement.scm (glibc-final)[arguments]: Use 'gexp-input' for the #:allowed-references argument. * guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter. Switch to the use of gexps and 'gexp->derivation'. (lower): Remove #:source from 'private-keywords'. * guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower): Likewise. * guix/build-system/font.scm (font-build): Likewise. * guix/build-system/gnu.scm (gnu-build): Likewise, and remove 'canonicalize-reference'. (gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs, and #:target-inputs instead of #:native-drvs and #:target-drvs. (lower): Likewise. * guix/build-system/perl.scm (perl-build, lower): Likewise. * guix/build-system/python.scm (python-build, lower): Likewise. * guix/build-system/ruby.scm (ruby-build, lower): Likewise. * guix/build-system/waf.scm (waf-build, lower): Likewise. * guix/build-system/trivial.scm (guile-for-build): Remove. (trivial-build): Remove 'store' parameter, change to gexps. (trivial-cross-build): Ditto, and change to #:build-inputs & co. * guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'. * guix/build-system/copy.scm (copy-build): Likewise. * guix/build-system/dune.scm (dune-build): Likewise. * guix/build-system/guile.scm (guile-build, guile-cross-build): Likewise. * guix/build-system/meson.scm (meson-build): Likewise. * guix/build-system/ocaml.scm (ocaml-build): Likewise. * guix/build-system/scons.scm (scons-build): Likewise. * guix/build-system/texlive.scm (texlive-build): Likewise. * guix/build-system/android-ndk.scm (android-ndk-build): Likewise. * guix/build-system/ant.scm (ant-build): Likewise. * guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise. * guix/build-system/chicken.scm (chicken-build): Likewise. * guix/build-system/clojure.scm (clojure-build): Likewise. (source->output-path, maybe-guile->guile): Remove. * guix/build-system/dub.scm (dub-build): Likewise. * guix/build-system/emacs.scm (emacs-build): Likewise. * guix/build-system/go.scm (go-build): Likewise. * guix/build-system/haskell.scm (haskell-build): Likewise. * guix/build-system/julia.scm (julia-build): Likewise. * guix/build-system/linux-module.scm (linux-module-build) (linux-module-build-cross): Likewise. * guix/build-system/maven.scm (maven-build): Likewise. * guix/build-system/minify.scm (minify-build): Likewise. * guix/build-system/node.scm (node-build): Likewise. * guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise. * guix/build-system/r.scm (r-build): Likewise. * guix/build-system/rakudo.scm (rakudo-build): Likewise. * guix/build-system/renpy.scm (renpy-build): Likewise. * tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'. Pass #:source parameter. * tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of a normal return from the 'build' method. ("package->bag, sensitivity to %current-target-system"): Change 'build' to match the new build system signature. squash! build-system: Rewrite using gexps. squash! build-system: Rewrite using gexps. Ludovic Courtès
2021-03-24gnu: findutils-boot0: Fix test suite on some systems....This is a follow-up to 3a0c7e7d1e9b4e0053f3dfa266c69bcc5e7ac61e. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Only add custom 'skip-fnmatch-test phase on x86_64-linux and i686-linux. Efraim Flashner
2021-03-24gnu: glibc: Absorb powerpc patch....* gnu/packages/base.scm (glibc)[source]: Add patch. [arguments]: Remove 'apply-patch phase. [native-inputs]: Remove patch file. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, glibc-final)[native-inputs]: Remove patch file. Efraim Flashner
2021-03-24Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2021-03-23gnu: binutils-final: Support more Power architectures....* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if the system is a Power architecture, instead of hard-coding "powerpc-linux", use the target-powerpc? procedure so it works on more Power architectures. [inputs]: Likewise. Chris Marusich
2021-03-23gnu: binutils-final: Provide bash for binary on powerpc-linux....* gnu/packages/commencement.scm (binutils-final)[arguments]: On powerpc-linux allow a reference to static-bash-for-glibc. [inputs]: On powerpc-linux add static-bash-for-glibc. Efraim Flashner
2021-03-23gnu: gcc-boot0: Enable 128-bit long double for POWER9....* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add --with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu", instead of "powerpc64le-linux-gnu", which is incorrect. The actual triplet used during bootstrapping is "powerpc64le-guix-linux-gnu". Chris Marusich
2021-03-23gnu: glibc: Fix ldd path on powerpc*....This should avoid some problems, such as "not a dynamic executable" errors. * gnu/packages/patches/glibc-ldd-powerpc.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm: (glibc)[native-inputs]: Add it. [arguments]: When building for powerpc* apply it. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, glibc-final)[native-inputs]: Add patch conditionally. This patch has been adjusted to apply to master. Signed-off-by: Chris Marusich <cmmarusich@gmail.com> Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Leo Le Bouter
2021-03-10gnu: glibc-final-with-bootstrap-bash-boot0: Don't include debug output....* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash-boot0) [outputs]: Remove debug from inherited outputs. Efraim Flashner
2021-03-10gnu: gcc-boot0: Don't include debug output....* gnu/packages/commencement.scm (gcc-boot0)[outputs]: Remove debug from inherited outputs. Efraim Flashner
2021-03-10gnu: coreutils-boot0: Don't include debug output....* gnu/packages/commencement.scm (coreutils-boot0)[outputs]: Remove debug from inherited outputs. Efraim Flashner