me
/
guix
Archived
1
0
Fork 0
Commit Graph

439 Commits (9c6081c705e8221a31dc6db832fd5170b8239602)

Author SHA1 Message Date
Janneke Nieuwenhuizen 9c6081c705
gnu: commencement: Add autoconf-boot0.
* gnu/packages/commencement.scm (autoconf-boot0): New variable.
2023-07-19 07:32:29 +02:00
Josselin Poiret 0dd293b4d9
gnu: Add libc-for-target and glibc/hurd.
* 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>
2023-07-13 18:20:05 +02:00
Janneke Nieuwenhuizen ff690faf66
gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.
* 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.
2023-06-17 14:38:32 +02:00
Ludovic Courtès 48c7e71cd7
gnu: gcc-boot0: Do not use 'coreutils-boot0' on GNU/Hurd.
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.
2023-06-02 15:47:28 +02:00
Janneke Nieuwenhuizen 524bd780a0
gnu: commencement: m4-boot0: Disable tests for the Hurd too.
GNU lib's stack-overflow tests fail.

* gnu/packages/commencement.scm (m4-boot0)[arguments]: Set #:tests? to #false
for the Hurd.
2023-05-29 19:40:44 +02:00
Christopher Baines 8b855dc1f4
gnu: findutils: Update XFAIL_TESTS for the hurd.
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.
2023-05-07 12:16:51 +01:00
Christopher Baines aad47b1b92
Revert "gnu: gcc-11: Adapt patching for hurd to not use gexp's."
This reverts commit 08acdd0765.

This change is now unnecessary now that gcc-boot0 uses
gexps (a795a02a9d).

* gnu/packages/gcc.scm (gcc-11)[arguments]: Use gexp for modify-phases.
[native-inputs]: Remove.
* gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Remove.
2023-05-07 12:16:51 +01:00
Christopher Baines a795a02a9d
gnu: Use gexps for gcc-boot0 and related packages.
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.
2023-05-07 09:15:16 +01:00
Christopher Baines 6922069bcb
gnu: gcc-11: Fix patch-hurd-libpthread phase.
It didn't work when it was introduced in
08acdd0765.

* 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.
2023-05-05 14:57:29 +01:00
Efraim Flashner 5b125c31ef
gnu: Add gdc-toolchain-11.
* gnu/packages/commencement.scm (gdc-toolchain-11): New variable.
2023-04-10 16:51:24 +03:00
Andreas Enge ccb62d8feb
Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
Efraim Flashner 37399b18ef
gnu: coreutils-boot0: Fix building on armhf-linux.
* 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.
2023-03-15 15:11:15 +02:00
Christopher Baines 7df09ee0ab
Merge remote-tracking branch 'savannah/master' into core-updates
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
2023-03-02 10:55:08 +00:00
Ludovic Courtès 61efecd339
gnu: static-bash-for-glibc: Use gexps.
* gnu/packages/commencement.scm (static-bash-for-glibc)[arguments]: Use
gexps.
2023-02-28 17:10:40 +01:00
Ludovic Courtès 0b4837a95b
gnu: mig: Remove dependency on Perl.
* gnu/packages/hurd.scm (mig)[inputs]: Remove PERL.
[arguments]: Remove 'patch-non-shebang-references' phase and add
'avoid-perl-dependency' phase.
2023-03-04 18:46:37 +01:00
Jan (janneke) Nieuwenhuizen a622046e14
gnu: commencement: mes-boot: Update to 0.24.2.
This fixes <https://debbugs.gnu.org/41264>.

* gnu/packages/commencement.scm (mes-boot): Update to 0.24.2.
2023-02-15 21:33:09 +01:00
Jan (janneke) Nieuwenhuizen a674f9458a
gnu: commencement: tcc-boot: Rebuild Mes C Library.
* gnu/packages/commencement.scm (tcc-boot)[arguments]: Rebuild the Mes C
Library in the "install" phase.
2023-02-15 21:33:09 +01:00
Jan (janneke) Nieuwenhuizen 0835eda487
Revert "gnu: commencement: mes-boot: Update to 0.24.2."
This reverts commit b928e38bd3.

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>.
2023-02-15 15:39:10 +01:00
Jan (janneke) Nieuwenhuizen b928e38bd3
gnu: commencement: mes-boot: Update to 0.24.2.
This fixes <https://debbugs.gnu.org/41264>.

* gnu/packages/commencement.scm (mes-boot): Update to 0.24.2.
2023-02-15 09:13:38 +01:00
Efraim Flashner da7d615629
gnu: %boot6-inputs: Replace xz with xz-final.
* 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'.
2023-02-14 16:30:30 +02:00
Efraim Flashner 42c1a83a98
gnu: coreutils-boot0: Add comment about arm* configure-flags.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: Add a full
comment around the configure-flags used when building for arm
architectures.
2023-02-12 21:11:02 +02:00
Simon Tournier c3e61c8c1f
gnu: 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>
2023-02-05 06:56:42 +01:00
Efraim Flashner 4cf1acc7f3
Merge remote-tracking branch 'origin/master' into core-updates
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
2023-01-30 12:39:40 +02:00
Efraim Flashner 9782c45292
gnu: coreutils-boot0: Fix building on arm architectures.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
building for arm architectures skip building some programs.
2022-12-11 22:35:06 +02:00
Christopher Baines 2a152e1a42
gnu: 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.
2022-10-28 15:16:54 +01:00
Ludovic Courtès d520fdec3c
gnu: findutils: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
2022-10-28 01:27:22 +02:00
Marius Bakke 56759d30d9
gnu: Switch to GCC 11.
* 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.
2022-09-08 21:40:00 +02:00
Marius Bakke c527b0ce23
gnu: grep: Update to 3.8.
* 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.
2022-09-08 21:39:59 +02:00
Marius Bakke f7e8be2318
gnu: texinfo: Fix @headings regression.
* 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.
2022-08-11 22:39:14 +02:00
Marius Bakke 9044b086dd
Merge branch 'staging' into core-updates 2022-07-22 01:09:14 +02:00
Ekaitz Zarraga f35b771a0f
gnu: 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>
2022-07-19 18:54:41 +02:00
Marius Bakke 5aeb96103f
gnu: zlib: Update to 1.2.12.
* 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.
2022-06-30 23:26:16 +02:00
Efraim Flashner 2f4d936c1b
gnu: linux-libre-headers-boot0: Fix building with armhf-linux.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)
[arguments]: Adjust 'lower-version-requirements phase to accept
gcc-4.8.4, used by armhf-linux.
2022-06-29 13:05:20 +03:00
Efraim Flashner f926e43170
gnu: m4-boot0: Fix build on arm architectures.
* gnu/packages/commencement.scm (m4-boot0)[arguments]: Skip tests when
building for arm architectures.
2022-06-28 10:15:06 +03:00
Marius Bakke bf99d1be2f
gnu: coreutils: Update to 9.1.
* 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.
2022-06-26 12:06:27 +02:00
Marius Bakke 97fb977eb8
gnu: linux-libre-headers: Update to 5.15.49.
* 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.
2022-06-26 12:06:27 +02:00
Ludovic Courtès 8c3e9da13a
Merge branch 'master' into core-updates 2022-06-08 14:46:24 +02:00
Ludovic Courtès 8ccf5f518d
gnu: 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'.
2022-06-05 23:35:30 +02:00
Ludovic Courtès cd626983af
gnu: 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.
2022-06-05 23:35:29 +02:00
Jan (janneke) Nieuwenhuizen 2382bb87c5
gnu: commencement: tcc-boot0: Use new package style.
* gnu/packages/commencement.scm (tcc-boot0)[arguments]: Use gexp for modify
phases.
2022-05-22 10:25:55 +02:00
Jan (janneke) Nieuwenhuizen 7dff51658f
gnu: commencement: mes-boot: Add supported systems.
* gnu/packages/commencement.scm (stage0-posix)[supported-systems]: New field.
2022-05-22 10:25:55 +02:00
Jan (janneke) Nieuwenhuizen 81e7165824
gnu: commencement: stage0-posix: Update supported systems.
* gnu/packages/commencement.scm (stage0-posix)[supported-systems]: Remove
armhf-linux, add riscv64-linux.  [arguments]: Update accordingly, add
stage0-cpu setting for "Aarch64" and "riscv64".
2022-05-22 10:24:58 +02:00
Ludovic Courtès ba708a52fd
gnu: gcc-toolchain: Add 12.1.0.
* gnu/packages/commencement.scm (gcc-toolchain-12): New variable.
2022-05-24 17:19:02 +02:00
Jan (janneke) Nieuwenhuizen 07ea07c6cc
gnu: commencement: mes-boot: Use new package style.
* gnu/packages/commencement.scm (mes-boot)[arguments]: Use gexp for modify
phases.
2022-05-18 07:48:39 +02:00
Jan (janneke) Nieuwenhuizen 4233bde7ba
gnu: commencement: stage0-posix: Use new package style.
* gnu/packages/commencement.scm (stage0-posix)[arguments]: Also use gexps for
inputs and output.
2022-05-18 07:48:39 +02:00
Jan (janneke) Nieuwenhuizen 0aa2ac9c0a
gnu: commencement: bootstrap-seeds: Use new package style.
* gnu/packages/commencement.scm (bootstrap-seeds)[arguments]: Also use gexps
for inputs and output.
2022-05-18 07:48:38 +02:00
Jan (janneke) Nieuwenhuizen 454bb06e83
gnu: commencement: Remove %bootstrap-mes-rewired.
* gnu/packages/commencement.scm (%bootstrap-mes-rewired): Remove.
2022-05-12 19:27:59 +02:00
Jan (janneke) Nieuwenhuizen a68d1d47ee
gnu: commencement: tcc-boot0: Update to 0.9.26-1136-g0fbeb2dd.
* gnu/packages/commencement.scm (tcc-boot0)[source]: Update to
0.9.26-1136-g0fbeb2dd.
[native-inputs]: Add stage0-posix and mes-boot, remove
%bootstrap-mescc-tools and %bootstrap-mes-rewired.
2022-05-12 19:27:59 +02:00
Jan (janneke) Nieuwenhuizen d79c103e11
gnu: commencement: tcc-boot0: Use nyacc-1.00.2.
* gnu/packages/commencement.scm (tcc-boot0): Use https source URL with
mirror://.  Update NYACC to 1.00.2 and call 'bootstrap-origin' on the source.
2022-05-12 19:27:58 +02:00
Jan (janneke) Nieuwenhuizen 2cebf680c7
gnu: commencement: mes-boot: Update to 0.24, build with M2-Planet.
* gnu/packages/commencement.scm (mes-boot)[source]: Update to
0.24.
[native-inputs]: Add stage0-posix, remove %bootstrap-mescc-tools and
%bootstrap-mes-rewired, and update nyacc to 1.00.2.
2022-05-12 19:27:58 +02:00