aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
Commit message (Collapse)AuthorAge
...
* gnu: findutils-boot0: Really disable 'test-fnmatch' on i686-linux.Ludovic Courtès2021-07-02
| | | | | | | | | | 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".
* gnu: gcc-toolchain: Remove duplicate gcc-toolchain@10.Ludovic Courtès2021-07-01
| | | | | | | | | | | 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.
* gnu: Simplify the use of --with-long-double-128.Chris Marusich2021-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* gnu: expat: Install the static library.Marius Bakke2021-06-13
| | | | | | | * 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.
* gnu: python: Remove unnecessary files.Julien Lepiller2021-06-11
| | | | | | | * gnu/packages/python.scm (python2)[arguments]: Remove files built during the test phase. (python3)[arguments]: Also remove windows binaries shipped with the sources.
* gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.Efraim Flashner2021-05-23
| | | | | * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust configure-flag to also use '--with-long-double-128' on powerpc-linux.
* Merge branch 'master' into core-updatesMarius Bakke2021-05-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: Add gcc-toolchain-11.Efraim Flashner2021-04-27
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-11): New variable. * gnu/packages/commencement.scm (gcc-toolchain-11): New variable.
* | gnu: linux-libre-headers: Remove rsync dependency.Marius Bakke2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | gnu: gcc: Update gcc to 8.Efraim Flashner2021-04-12
| | | | | | | | | | | | | | | | | | | | * 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.
* | build-system: Rewrite using gexps.Ludovic Courtès2021-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | gnu: findutils-boot0: Fix test suite on some systems.Efraim Flashner2021-03-24
| | | | | | | | | | | | | | 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.
* | gnu: glibc: Absorb powerpc patch.Efraim Flashner2021-03-24
| | | | | | | | | | | | | | | | * 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.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2021-03-24
|\|
| * gnu: binutils-final: Support more Power architectures.Chris Marusich2021-03-23
| | | | | | | | | | | | | | * 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.
| * gnu: binutils-final: Provide bash for binary on powerpc-linux.Efraim Flashner2021-03-23
| | | | | | | | | | | | * 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.
| * gnu: gcc-boot0: Enable 128-bit long double for POWER9.Chris Marusich2021-03-23
| | | | | | | | | | | | | | * 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".
| * gnu: glibc: Fix ldd path on powerpc*.Leo Le Bouter2021-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | gnu: glibc-final-with-bootstrap-bash-boot0: Don't include debug output.Efraim Flashner2021-03-10
| | | | | | | | | | * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash-boot0) [outputs]: Remove debug from inherited outputs.
* | gnu: gcc-boot0: Don't include debug output.Efraim Flashner2021-03-10
| | | | | | | | | | * gnu/packages/commencement.scm (gcc-boot0)[outputs]: Remove debug from inherited outputs.
* | gnu: coreutils-boot0: Don't include debug output.Efraim Flashner2021-03-10
| | | | | | | | | | * gnu/packages/commencement.scm (coreutils-boot0)[outputs]: Remove debug from inherited outputs.
* | gnu: gnu-make-boot0: Don't include debug output.Efraim Flashner2021-03-10
| | | | | | | | | | * gnu/packages/commencement.scm (gnu-make-boot0)[outputs]: Remove debug from inherited outputs.
* | gnu: findutils-boot0: Skip tests on armhf, aarch64.Efraim Flashner2021-02-10
| | | | | | | | | | * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Skip tests on armhf-linux, aarch64-linux.
* | gnu: python: Replace PYTHONPATH by GUIX_PYTHONPATH.Maxim Cournoyer2021-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using PYTHONPATH as a mean to discover the Python packages had the following issues: 1. It is not versioned, so different versions of Python would clash if installed in a shared profile. 2. It would interfere with the host Python site on foreign distributions, sometimes preventing a a user to login their GDM session (!). 3. It would take precedence over user installed Python packages installed through pip. 4. It would leak into Python virtualenvs, which are supposed to create isolated Python environments. This changes fixes the above issues by making use of a sitecustomize.py module. The newly introduced GUIX_PYTHONPATH environment variable is read from the environment, filtered for the current Python version of the interpreter, and spliced in 'sys.path' just before Python's own site location, which provides the expected behavior. * gnu/packages/aux-files/python/sitecustomize.py: New file. * Makefile.am: Register it. * gnu/packages/python.scm (customize-site) (guix-pythonpath-search-path): New procedures. (python-2.7)[phases]{install-sitecustomize.py}: New phase. [native-inputs]{sitecustomize.py}: New input. [native-search-paths]: Replace PYTHONPATH with GUIX_PYTHONPATH. (python-3.9)[native-search-paths]: Likewise. [phases]{install-sitecustomize}: Override with correct version. [native-search-paths]: Replace PYTHONPATH with GUIX_PYTHONPATH. * gnu/packages/commencement.scm (python-boot0): [phases]{install-sitecustomize}: Likewise. [native-inputs]{sitecustomize.py}: New input. [native-search-paths]: Replace PYTHONPATH with GUIX_PYTHONPATH. * guix/build/python-build-system.scm (site-packages): Do not add a trailing '/'. squash! gnu: python: Replace PYTHONPATH by GUIX_PYTHONPATH.
* | gnu: %boot-tcc-inputs: Use gash-utils.Efraim Flashner2021-01-24
| | | | | | | | | | | | * gnu/packages/commencement.scm (%boot-tcc-inputs): Remove diffutils-mesboot. Add gash-utils-boot. (diffutils-mesboot): Remove variable.
* | gnu: findutils: Update to 4.8.0.Ludovic Courtès2021-01-15
| | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (findutils): Update to 4.8.0. [source](patches): Remove "findutils-test-rwlock-threads.patch". * gnu/packages/patches/findutils-test-rwlock-threads.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Add 'skip-fnmatch-test' phase.
* | Merge remote-tracking branch 'origin/master' into core-updatesChristopher Baines2020-11-29
|\|
| * gnu: gcc-boot0, cross-base: Enable 128-bit long double for POWER9.dftxbs3e2020-11-26
| | | | | | | | | | | | | | | | * gnu/packages/cross-base.scm (cross-gcc-arguments): Add "--with-long-double-128" when TARGET is "powerpc64le-linux-gnu". * gnu/packages/commencement.scm (gcc-boot0): Likewise for (boot-triplet). Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | gnu: base, commencement: Remove trailing #t from build phases.Ludovic Courtès2020-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (grep, tar, findutils) (coreutils, coreutils-8.30, gnu-make, gnu-make-4.2) (binutils-gold, glibc, make-glibc-locales): (glibc/hurd-headers, tzdata): Remove trailing #t in build phases. * gnu/packages/commencement.scm (bootar) (gash-boot, gash-utils-boot, mes-boot): (gzip-mesboot, gnu-make-mesboot0, bzip2-mesboot) (bash-mesboot0, tcc-boot, diffutils-mesboot) (patch-mesboot, sed-mesboot0, binutils-mesboot0) (gcc-core-mesboot0, mesboot-headers, gawk-mesboot0) (glibc-mesboot0, gcc-mesboot0, tar-mesboot) (grep-mesboot, binutils-mesboot1, gnu-make-mesboot) (gawk-mesboot, sed-mesboot, bash-mesboot) (gcc-core-mesboot1, gcc-mesboot1, binutils-mesboot) (glibc-headers-mesboot, glibc-mesboot, gcc-mesboot1-wrapper) (gcc-mesboot, gnu-make-boot0, binutils-boot0) (libstdc++-boot0, gcc-boot0, perl-boot0, python-boot0) (glibc-final-with-bootstrap-bash) (cross-gcc-wrapper, gettext-boot0, gcc-final): Remove trailing #t in build phases.
* | Merge branch 'staging'Maxim Cournoyer2020-10-19
|\| | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/gdb.scm gnu/packages/llvm.scm gnu/packages/package-management.scm gnu/packages/tls.scm
| * gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.Ludovic Courtès2020-10-12
| | | | | | | | | | | | | | | | This allows 'gcc-toolchain' to be used as a drop-in replacement for the default tool chain through '--with-toolchain=gcc-toolchain'. * gnu/packages/commencement.scm (make-gcc-toolchain)[native-search-paths] [search-paths]: Append LIBC's search paths.
| * gnu: nyacc: Add 1.03.0.Ludovic Courtès2020-09-25
| | | | | | | | | | | | | | | | | | | | * gnu/packages/mes.scm (nyacc): Rename to... (nyacc-0.99): ... this. (nyacc): New variable. (mes)[propagated-inputs]: Replace NYACC with NYACC-0.99. (mes-rb5)[native-inputs]: Likewise. * gnu/packages/commencement.scm (mes-boot)[native-inputs]: Likewise. (tcc-boot0)[native-inputs]: Likewise.
| * gnu: commencement: bash-mesboot0: Break store file-name in comment.Jan (janneke) Nieuwenhuizen2020-09-16
| | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/43005>. Reported by Vagrant Cascadian <vagrant@debian.org>. * gnu/packages/commencement.scm (bash-mesboot0)[arguments]: Break store file name in comment and add unquoted string-append to silence the ’assert-no-store-file-names’ check. The store file name check is really meant for code; this file name was unfortunately used is a comment.
* | gnu: gawk-boot0: Inherit from gawk.Ludovic Courtès2020-09-20
| | | | | | | | | | | | | | Until now the version number would be wrong. * gnu/packages/commencement.scm (gawk-boot0): Inherit from GAWK, not PATCH.
* | gnu: gcc-mesboot: Remove redundant input.Ludovic Courtès2020-09-19
| | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/43508>. * gnu/packages/commencement.scm (gcc-mesboot)[native-inputs]: Remove GCC-MESBOOT1, which is already in %BOOT-MESBOOT4-INPUTS.
* | gnu: commencement: bash-mesboot0: Remove store file name.Vagrant Cascadian2020-09-16
| | | | | | | | | | | | | | This is a follow-up to commit d9484fba91bc360ad18fe82cb9f4963ccb32c580, and fixes "make dist". * gnu/packages/commencement (bash-mesboot0): Remove reference to store item.
* | Merge remote-tracking branch 'origin/master' into core-updatesMaxim Cournoyer2020-09-14
|\|
| * gnu: gcc-toolchain: Reword description.zimoun2020-09-13
| | | | | | | | | | | | * gnu/packages/commencement.scm (make-gcc-toolchain)[description]: Reword. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * gnu: gcc-toolchain: Make "gcc" a "deprecated" alias for "gcc-toolchain".Ludovic Courtès2020-09-10
| | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/43303>. Reported by Jeffrey Walton <noloader@gmail.com>. * gnu/packages/commencement.scm (gcc-toolchain-aka-gcc): New variable.
* | Merge branch 'master' into core-updatesJakub Kądziołka2020-07-23
|\| | | | | | | | | Conflicts: gnu/packages/ruby.scm
| * gnu: Add gdc-toolchain.guy fleury iteriteka2020-07-19
| | | | | | | | | | | | * gnu/packages/commencement.scm(gdc-toolchain): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
| * gnu: gash, gash-utils: Build with Guile 3.0.Ludovic Courtès2020-07-02
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/shells.scm (gash)[source]: Add 'modules' and 'snippet'. [inputs]: Change GUILE-2.2 to GUILE-3.0. (gash-utils)[source]: Add 'modules' and 'snippet'. [inputs]: Change GUILE-2.2 to GUILE-3.0. * gnu/packages/commencement.scm (gash-utils-boot)[source]: Remove unneeded 'modules' field, and add 'snippet'. (gash-utils-boot)[source]: New field. * gnu/packages/patches/gash-utils-ls-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
| * gnu: gcc-toolchain: Remove "glibc:debug" and "glibc:static" from "out".Ludovic Courtès2020-06-30
| | | | | | | | | | | | | | | | With this change, the closure of "gcc-toolchain:out" goes from 1 GiB to 393 MiB, which was the intention. * gnu/packages/commencement.scm (make-gcc-toolchain): Filter out "libc-debug" and "libc-static" from OUT.
* | gnu: glibc-intermediate: Don't include native-gcc in inputs.Jakub Kądziołka2020-07-23
| | | | | | | | | | | | | | | | As the comment explains, this is only necessary when building with --enable-obsolete-rpc, which we aren't using anymore. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[inputs]: Remove native-gcc.
* | gnu: glibc-intermediate: Fixup the pre-configure phase.Jakub Kądziołka2020-07-23
|/ | | | | | | * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[arguments]: Don't patch sunrpc, as it's no longer required. Tweak C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH.
* Merge branch 'core-updates'Marius Bakke2020-05-08
|\
| * gnu: commencement: Build fix for python-boot0 on the Hurd.Jan (janneke) Nieuwenhuizen2020-04-19
| | | | | | | | | | | | | | Unlike during a non-chroot'ed build on Debian/Hurd, there is no /usr/include. * gnu/packages/commencement.scm (python-boot0)[arguments]: When building on the Hurd, add `fix-regen' stage to correct a reference to "/usr".
| * gnu: commencement: Memoize packages as a function of the system.Ludovic Courtès2020-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous, things like 'ld-wrapper-boot0' would be memoized with (mlambda () …). However, the definition of 'ld-wrapper-boot0' depends on the result of (%boot0-inputs), which is itself a function of (%current-system). Thus, if one first calls: (parameterize ((%current-system "x86_64-linux")) (ld-wrapper-boot0)) then, in all subsequent calls to 'ld-wrapper-boot0', the value of (%current-system) would be ignored because the result is already memoized. Concretely, 'ld-wrapper-boot0' would always have the dependencies it has on x86_64-linux, even though they are different than those on armhf-linux, say ("bash-mesboot" vs. "bootstrap-binaries"). Fixes <https://bugs.gnu.org/40482>. Reported by Marius Bakke <mbakke@fastmail.com>. * gnu/packages/commencement.scm (define/system-dependent): New macro. (linux-libre-headers-boot0, hurd-core-headers-boot0, ld-wrapper-boot0) (gcc-boot0-intermediate-wrapped, gcc-boot0-wrapped, ld-wrapper-boot3): Define using 'define/system-dependent' instead of 'define' + 'mlambda'. Adjust users so they no longer look like procedure calls. * tests/guix-build.sh: Add test.
| * gnu: Python: Move arm-alignment.patch to a native-input + phase.Marius Bakke2020-04-02
| | | | | | | | | | | | | | | | | | | | | | This follows up 67ca82e6ddc9f1c87fa8c033729a1f53b7c2b3ba which was ineffective when running 'guix build --system=armhf-linux python' on e.g. x86_64-linux because the conditional would always return the native system. * gnu/packages/python.scm (python-3.8)[native-inputs]: Add "arm-alignment.patch". [arguments]: Add phase to apply it. [source](patches): Remove it. * gnu/packages/commencement.scm (python-boot0): Prevent inheriting the phase.
| * gnu: coreutils-mesboot: Make variable private.Marius Bakke2020-03-28
| | | | | | | | | | | | | | | | This fixes a test failure in tests/graph.scm because the package does not use glibc, yet is part of the public packages. * gnu/packages/commencement.scm (coreutils-mesboot): Use DEFINE instead of DEFINE-PUBLIC.