Commit graph

58147 commits

Author SHA1 Message Date
Jan Nieuwenhuizen c0a5cd1be3
gnu: shepherd: Build fix for the Hurd.
* gnu/packages/patches/shepherd-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (shepherd): Use it.
2020-03-26 12:59:34 +01:00
Jan Nieuwenhuizen 22ee720979
gnu: pciutils: Build fixes for the Hurd.
* gnu/packages/linux.scm (kmod)[supported-systems]: Remove the Hurd.
* gnu/packages/patches/pciutils-hurd-configure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/pciutils.scm (pciutils): Use it.
[inputs]: Include kmod only for supported systems.
2020-03-26 12:59:34 +01:00
Jan Nieuwenhuizen 1a9b3faaf2
gnu: shadow: Add linux-pam dependency for the Hurd.
* gnu/packages/admin.scm (shadow): Also include linux-pam dependency
for the Hurd.
2020-03-26 12:59:34 +01:00
Jan Nieuwenhuizen 9dd9e8fabf
gnu: fontconfig: Build fix for the Hurd.
* gnu/packages/patches/fontconfig-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/fontutils.scm (fontconfig): Use it.
2020-03-26 12:59:33 +01:00
Jan Nieuwenhuizen 7baa8c7898
gnu: less: Build fix for the Hurd.
* gnu/packages/patches/less-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/less.scm (less): Use it.
2020-03-26 12:59:33 +01:00
Manolis Ragkousis d0ed201e0a
daemon: Avoid kill -1 bug on the Hurd.
This allows for native builds on the Hurd, doing

    sudo ./pre-inst-env guix-daemon --disable-chroot --build-users-group=guixbuild &
    ./pre-inst-env guix build hello

* nix/libutil/util.cc (killUser)[__GNU__]: Avoid kill -1 bug; kill only
current process and ignore SIGKILL status in parent.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-03-26 12:59:33 +01:00
Manolis Ragkousis 9c3b28b911
daemon: Do not use clone on the Hurd.
Checking for CLONE_NEWNS is only needed for using tha Linux specific clone(2),
otherwise we can use fork(2).  Using clone on the Hurd needs some work, only
support LINUX for now.  See
https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00190.html

* nix/libstore/build.cc (CHROOT_ENABLED): Break into CHROOT_ENABLED
and CLONE_ENABLED.
(DerivationGoal::startBuilder): Replace CHROOT_ENABLED with __linux__.
(DerivationGoal::runChild): Only define pivot_root() if SYS_pivot_root is
defined.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-03-26 12:59:33 +01:00
Jan Nieuwenhuizen 496d607db3
gnu: hurd: Update to hurd-headers version: 0.9-91a51672.
* gnu/packages/patches/hurd-cross.patch: New file.
* gnu/packages/patches/hurd-fix-eth-multiplexer-dependency.patch: Remove
unused file.
* gnu/local.mk (dist_patch_DATA): Update admin.
* gnu/packages/hurd.scm (hurd): Update to latest git master: version and
source from hurd-headers; Add hurd-cross patch.
2020-03-26 12:59:33 +01:00
Jan Nieuwenhuizen aaa4cb0cad
gnu: commencement: glibc-final: Allow gnumach-headers references.
* gnu/packages/commencement.scm (glibc-final): Allow gnumach-headers-boot0
references for the Hurd.
2020-03-26 12:59:33 +01:00
Jan Nieuwenhuizen 1320885ffa
gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to
1.8-116-g28b53508.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen 61249ba27c
gnu: commencement: hurd-source: Update to latest git.
* gnu/packages/commencement.scm (hurd-source-version): Update to
0.9-229-ga1efcee8.
(hurd-source-boot0): Update url to updated lilypond tarball.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen 05a852d8dd
gnu: commencement: glibc-intermediate: Build fixes for the Hurd.
* gnu/packages/commencement.scm (glibc-intermediate): Configure with
--disable-werror, update pthreads workaround.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen 0c7b63e065
gnu: commencement: hurd-minimal-boot0: Build from tarball.
The 'hurd-minimal' package (via hurd-headers) now uses a git checkout and
added dependencies on autoconf, automake and teiinfo to build.  Using those in
commencement creates a bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (hurd-minimal-boot0): Build from tarball;
remove autoconf, automake, texinfo bootstrap dependencies.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen c9c5e032c3
gnu: commencement: hurd-headers-boot0: Build from tarball.
The 'hurd-headers' package now uses a git checkout and added dependencies on
autoconf and automake to build.  Using those in commencement creates a
bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (hurd-version-boot0, hurd-source-boot0): New
variable.
(hurd-headers-boot0): Use it to build from tarball; remove autoconf, automake,
texinfo bootstrap dependencies.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen a50bbf44c7
gnu: commencement: gnumach-headers-boot0: Build from tarball.
The 'gnumach-headers' package now uses a git checkout and added dependencies
on autoconf, automake and texinfo to build.  Using those in commencement
creates a bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (gnumach-headers-boot0): Build from tarball;
remove autoconf, automake, texinfo bootstrap dependencies.
2020-03-26 12:59:32 +01:00
Jan Nieuwenhuizen 846f5da129
gnu: make: Support for the Hurd.
* gnu/packages/base.scm (gnu-make): Use fork/exec rather than posix_spawn on
the Hurd.  Also, add __alloca linkage workaround.
2020-03-26 12:59:31 +01:00
Jan Nieuwenhuizen 9820d6eda6
gnu: java-jansi-native: Compile fix for the Hurd.
* gnu/packages/java.scm (java-jansi-native): Add catch-all clause;
fixes running guix refresh.
2020-03-26 12:59:31 +01:00
Efraim Flashner 6741f543e6
gnu: bootstrap: Add support for the Hurd.
On 3342a1182b
   gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only.

Run
    ./pre-inst-env guix build --target=i586-pc-gnu bootstrap-tarballs --verbosity=1

Producing

    /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0

With guix hash -rx /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0

    07jnq2by98f2a45k8wd2gj62iazvwfa4z7p3w3id4m1g0fdsvc3b

* gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for the
Hurd.
(bootstrap-executable-url): Use lilypond url for the Hurd.
(bootstrap-guile-url-path): Likewise.
(bootstrap-guile-hash): Add entry for the Hurd.
(%bootstrap-coreutils&co): Likewise.
(%bootstrap-binutils): Likewise.
(%bootstrap-glibc): Likewise.
(%bootstrap-gcc): Likewise.
* guix/packages.scm (%supported-systems): Add i586-gnu.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-03-26 12:58:51 +01:00
Jan Nieuwenhuizen 3342a1182b
gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only.
* gnu/packages/make-bootstrap.scm (%binutils-static-stripped, %gcc-stripped,
%bootstrap-tarballs)[arguments]: Wrap use of '_IOLBF' in 'cond-expand' and use
'line instead on Guile > 2.0.
2020-03-26 07:43:36 +01:00
Jan Nieuwenhuizen fef7710937
gnu: bootstrap: Use fall-back mechanism for bootstrap-executables.
* gnu/packages/bootstrap.scm (%bootstrap-executable-base-urls): New variable.
Add lilypond.org url as a fall-back.
(bootstrap-executable-file-name): New function.
(bootstrap-executable): Use them to implement fall-back for donwloads of
bootstrap executables.
2020-03-24 23:31:34 +01:00
Jan Nieuwenhuizen 25bc0f34c6
gnu: bootstrap: gcc-static: Use gcc-5.
* gnu/packages/make-bootstrap.scm (gcc-static): Use gcc-5.  This fixes
building libstdc++-boot0 with a newly built %bootstrap-gcc.
(%gcc-stripped): Likewise.
(gcc-for-bootstrap): Likewise.
* gnu/packages/patches/gcc-5-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5): Use it.
2020-03-24 23:31:34 +01:00
Jan Nieuwenhuizen eef44fea17
Revert "gnu: guile-static-stripped: Update to 2.2."
As discussed on IRC, keeping bootstrap Guile on 2.0 simplifies adding new
architectures and removes the need for parameterizing
gnu/packages/bootstrap.scm.

This reverts commit 2acfe022a7.

* gnu/packages/make-bootstrap.scm (%guile-static): Revert to guile-2.0.  Retain
build recipe.
* gnu/packages/patches/guile-relocatable.patch: Update for Guile 2.0.14.
2020-03-24 23:31:34 +01:00
Jan Nieuwenhuizen ee1cf1dd80
gnu: cross-libc: Build fix for the Hurd.
This fixes cross building of coreutils, e.g.

    ./pre-inst-env guix build --target=i586-pc-gnu coreutils

* gnu/packages/cross-base.scm (cross-libc): Add -lhurduser, -lmachuser for the
Hurd.
2020-03-24 23:31:34 +01:00
Jan Nieuwenhuizen 096a8e35e7
gnu: glibc: Add signal SA_SIGINFO support for the Hurd.
* gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Use it.
2020-03-24 23:31:34 +01:00
Jan Nieuwenhuizen 974c42a70a
gnu: glibc: Add clock patches for the Hurd.
* gnu/packages/patches/glibc-hurd-clock_t_centiseconds.patch: New file.
* gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update them.
* gnu/packages/base.scm (glibc): Use them.
2020-03-24 23:31:33 +01:00
Jan Nieuwenhuizen 9b943db357
gnu: hurd: Fix hurd-target?, add hurd-system?.
* gnu/packages/hurd.scm (hurd-target?): Bugfix; the arguments to
string-suffix? to test (%current-system) were transposed, always resulting
in #f.  Use hurd-triplet?.
(hurd-system?): New exported variable.
2020-03-24 23:31:33 +01:00
Jan Nieuwenhuizen 654de94e74
gnu: grub: Support for the Hurd.
* gnu/packages/virtualization.scm (qemu)[supported-systems]: Remove the Hurd.
* gnu/packages/linux.scm (mdadm)[supported-systems]: Likewise.
(lvm2)[supported-systems]: Likewise.
(fuse)[supported-systems]: Likewise.
* gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch:
New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Use it.
[inputs, native-inputs]: Remove non-supported dependencies on non-supported
systems.  Fixes build for the Hurd.
2020-03-24 23:31:29 +01:00
Marius Bakke eac54126fb
gnu: GHC: Enable RUNPATH validation.
* gnu/packages/haskell.scm (ghc-7, ghc-8.0, ghc-8.4)[arguments]: Remove
 #:validate-runpath?.
2020-03-24 18:02:44 +01:00
Marius Bakke f4e1833205
gnu: ghc@8.0: Remove obsolete patch.
* gnu/packages/patches/ghc-dont-pass-linker-flags-via-response-files.patch:
Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/haskell.scm (ghc-8.0)[source](patches): Remove it.
2020-03-24 18:02:43 +01:00
Marius Bakke c75db69371
gnu: ghc: Really disable test that fails with glibc 2.30 and later.
This follows up commit 2e9c43aa9a, which was
incomplete.  Fixes <https://bugs.gnu.org/39358>.

* gnu/packages/patches/ghc-testsuite-dlopen-pie.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.  Also use tabs instead
of spaces on surrounding patches.
* gnu/packages/haskell.scm (ghc-8.6)[native-inputs]: Add patch for
"ghc-testsuite".
[arguments]: Remove incomplete workaround for the same issue.
2020-03-24 18:02:43 +01:00
Mathieu Othacehe 53de3e74fa
gnu: cross-gcc: Add a "lib" output.
Add a "lib" output to cross-gcc. This requires an upstream GCC patch adding
support for --with-toolexeclibdir configure option. This option allows to
install cross-built GCC libraries in a specific location.

This also fixes the computation of TOOLDIR_BASE_PREFIX, that fails when
/gnu/store/... directories are involved.

* gnu/packages/patches/gcc-7-cross-toolexeclibdir.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-gcc)[source]: Apply it,
[outputs]: add a "lib" output,
(cross-gcc-snippet): fix TOOLDIR_BASE_PREFIX.
2020-03-24 13:55:10 +01:00
Marius Bakke 2e9c43aa9a
gnu: GHC: Disable test that fails with glibc 2.30 and later.
Fixes <https://bugs.gnu.org/39358>.

* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Add substitution to disable
broken test.
2020-03-23 19:42:56 +01:00
Marius Bakke c711b6abdb
gnu: ghc@8.4: Update to 8.4.4.
* gnu/packages/haskell.scm (ghc-8.4): Update to 8.4.4.
2020-03-23 16:33:06 +01:00
Marius Bakke a057b88124
gnu: ghc@8.4: Remove redundant inputs.
Incidentally, this fixes a build failure where GHC's build processes fail to
link libffi and libgmp for 'ghc-cabal'.

* gnu/packages/haskell.scm (ghc-8.4)[inputs]: Remove BINUTILS, GCC, and
MAKE-LD-WRAPPER.
[arguments]: Adjust accordingly.
2020-03-23 16:32:44 +01:00
Marius Bakke d19b14c834
Merge branch 'master' into core-updates 2020-03-21 22:16:02 +01:00
Mark H Weaver ee4c927f33
gnu: linux-libre: Update to 5.4.27.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.27.
(linux-libre-5.4-pristine-source): Update hash.
2020-03-21 16:38:06 -04:00
Mark H Weaver 0d624f1fd8
gnu: linux-libre@4.19: Update to 4.19.112.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.112.
(linux-libre-4.19-pristine-source): Update hash.
2020-03-21 16:38:04 -04:00
Mark H Weaver f120eab056
gnu: linux-libre@4.14: Update to 4.14.174.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.174.
(linux-libre-4.14-pristine-source): Update hash.
2020-03-21 16:38:02 -04:00
Mark H Weaver 3e13d780b8
gnu: linux-libre@4.9: Update to 4.9.217.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.217.
(linux-libre-4.9-pristine-source): Update hash.
2020-03-21 16:37:59 -04:00
Mark H Weaver d1b3c6c746
gnu: linux-libre@4.4: Update to 4.4.217.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.217.
(linux-libre-4.4-pristine-source): Update hash.
2020-03-21 16:37:57 -04:00
John Soo 08c62ac7bd
gnu: ghc-stylish-haskell: Deprecate older duplicate package.
* gnu/packages/haskell-xyz.scm (ghc-stylish-haskell): Deprecate it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-03-21 21:38:08 +01:00
John Soo 156b08bd2f
gnu: stylish-haskell: Update description.
* gnu/packages/haskell-apps.scm (stylish-haskell): Update description.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-03-21 21:38:08 +01:00
Wiktor Żelazny 3ac12ca61b
gnu: Add r-oai.
* gnu/packages/cran.scm (r-oai): new variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-03-21 21:38:08 +01:00
Wiktor Żelazny 069554dc24
gnu: Add r-latex2exp.
* gnu/packages/cran.scm (r-latex2exp): new variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-03-21 21:38:08 +01:00
Wiktor Żelazny ae10511981
gnu: Add r-httpcode.
* gnu/packages/cran.scm (r-httpcode): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-03-21 21:38:08 +01:00
wednesday 2e59a63b41
gnu: global: Add 'python-wrapper' as input.
* gnu/packages/code.scm (global)[inputs]: Add 'python-wrapper' to fix
tagging python code.
2020-03-21 21:38:08 +01:00
Marius Bakke 18401bdf69
Revert "gnu: Remove qemu-minimal@2.10."
This package was still in use by american-fuzzy-lop.

This reverts commit 559f373288.
2020-03-21 21:38:08 +01:00
Tobias Geerinckx-Rice dde3f55156
gnu: gpgme: Fix build.
Reported by joshuaBPMan on #guix.

* gnu/packages/gnupg.scm (gpgme)[arguments]: Add ‘disable-failing-test’ phase.
2020-03-21 20:42:52 +01:00
Tobias Geerinckx-Rice b1ebda07cb
gnu: python-pygraphviz: Use HTTPS home page.
* gnu/packages/graphviz.scm (python-pygraphviz)[home-page]: Use HTTPS.
2020-03-21 20:42:52 +01:00
Tobias Geerinckx-Rice d7ee58ccd2
gnu: python-tables: Use HTTPS home page.
* gnu/packages/python-xyz.scm (python-tables)[home-page]: Use HTTPS.
2020-03-21 20:42:51 +01:00