aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-12-03gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd....On commit: ec8a5ec15f898e864705e5a5c834532e3fa8d0a4 gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd. Run: ./pre-inst-env guix build --target=x86_64-gnu bootstrap-tarballs Producing: /gnu/store/w1n7bdpn88plcc49h7n0jriaj41sgwx8-bootstrap-tarballs-0/ With guix hash -r: 15cb1xh7s2hhp8s0d81bjnw1759w9sh7ckc9n5jq2f3rqw6z76by * gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for x86_64-gnu. (%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Add entry for x86_64-gnu. * guix/packages.scm (%supported-systems, %hurd-systems): Add x86_64-gnu. (%cuirass-supported-systems): Remove x86_64-gnu. * guix/utils.scm (target-64bit?): Add x86_64-gnu. * m4/guix.m4: Add x86_64-gnu as a supported system. * doc/guix.texi (GNU Distribution): Add x86_64-gnu. Change-Id: I828159aedb3f66caba98e935083cc3682429f219 Janneke Nieuwenhuizen
2024-12-03gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd....* gnu/packages/make-bootstrap.scm (%gcc-static): Use gcc-14. Update to use G-Expressions. [inputs]: Remove libstdc++ and libstdc++-headers. (%gcc-stripped): Use gcc-14. [inputs, native-inputs]: Clear fields. Change-Id: I4e6d779cb457b256d80d1882f182b72a6f7d2be2 Janneke Nieuwenhuizen
2024-12-03gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise"....This fixes findutil's gnulib-tests's test-sigaction's raise call, by working around an alleged gcc-14.2 optimization bug. See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00143.html>. * gnu/packages/patches/glibc-hurd64-gcc-14.2-tls-bug.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm (glibc/hurd): Use it. Change-Id: I11e683f521f34dedeb7f739a2545f5d1d866922a Janneke Nieuwenhuizen
2024-12-03gnu: gcc-14: Force libdir /lib instead of /lib64 for the 64bit Hurd....* gnu/packages/gcc.scm (gcc-14)[arguments]: In stage "pre-x86-configure", also patch "gcc/config/i386/t-gnu64". Change-Id: Ib2607c5f315c49696596fdcbcbbcc2895b6a9775 Janneke Nieuwenhuizen
2024-12-03gnu: cross-base: Update %xgcc to gcc-14, to support the 64bit Hurd....Gcc-14 adds support for the 64bit Hurd. * gnu/packages/cross-base.scm (%xgcc): Bump to gcc-14. Change-Id: Idf7696c50532aa4def2b2d37cdb5c70715125123 Janneke Nieuwenhuizen
2024-12-03gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/patches/guile-lzlib-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/guile.scm (guile-lzlib)[arguments]: Use G-expressions. When building for the 64bit Hurd, or cross-compiling, use it in new "apply-hurd64-patch" stage. Change-Id: Id03f71baa80e2f4f967f54037ce7d9f1c5dc4bb6 Janneke Nieuwenhuizen
2024-12-03gnu: libssh: Fix [cross-]build with gcc-14 for 32bit....* gnu/packages/ssh.scm (libssh)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 Janneke Nieuwenhuizen
2024-12-03gnu: libedit: Fix [cross-]build with gcc-14 for 32bit....* gnu/packages/libedit.scm (libedit)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 Janneke Nieuwenhuizen
2024-12-03gnu: netdde: Fix build with gcc-14....* gnu/packages/hurd.scm (netdde)[arguments]: Disable some warnings breaking the build, using "WARNINGS=..." in #:make-flags. Change-Id: I39f577c51eaa3d86abf80a54f7c172324cf56749 Janneke Nieuwenhuizen
2024-12-03gnu: hurd: Fix build with gcc-14....* gnu/packages/hurd.scm (hurd)[arguments]: In phase "build-libdde-linux", disable some warnings breaking the build, using "WARNINGS=...". Change-Id: Ib70926a90e1d37080c5b9dd333f19636cdae3013 Janneke Nieuwenhuizen
2024-12-03gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/texinfo.scm (texinfo-4): When building for the 64bit Hurd, or cross-compiling, add "-Wno-incompatible-pointer-types" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f Janneke Nieuwenhuizen
2024-12-03gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/cross-base.scm (perl)[native-inputs]: Update perl-cross to 1.6. Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15 Janneke Nieuwenhuizen
2024-12-03gnu: libffi: Fix [cross-]build with gcc-14....* gnu/packages/libffi.scm (libffi)[arguments]: When building for the 64bit Hurd, or cross-building, add "CFLAGS" to #:configure-flags to disable breaking warning. Change-Id: I05bf3f460f3e292626de1894b7a3cf381cb07702 Janneke Nieuwenhuizen
2024-12-03gnu: flex: Fix [cross-]build with gcc-14....* gnu/packages/flex.scm (flex): When building for the 64bit Hurd, or cross-compiling, add "-Wno-int-conversion "-Wno-implicit-function-declaration" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f Janneke Nieuwenhuizen
2024-12-03gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/version-control.scm (git-minimal)[arguments]: When building for the 64bit Hurd, or cross-compiling, use "-Wno-implicit-function-declaration" in #:make-flags. Use target-hurd? instead of comparing with "i586-pc-gnu" in "use-host-uname_S" phase. Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14 Janneke Nieuwenhuizen
2024-12-03gnu: bash: Avoid hang when cross-built for the Hurd....For example, without this patch bash hangs while configuring diffutils. Reproducer: cat >x.awk <<EOF x... repeat 16384 (the actual pipe size) times EOF * gnu/packages/bash.scm (bash): When cross-building for the Hurd, add new "create-pipesize.h" stage. Change-Id: I02c1dcf2d63849626ba3448cd52766db822dc77c Janneke Nieuwenhuizen
2024-12-03gnu: glibc/hurd: Add patches for the 64bit Hurd....These patches fix: * Statically linked tar to hang/segfault upon issuing the "--mtime=@1" warning; this is also applicable for the 32bit Hurd using glibc-2.39! See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00115.html>. * Shell replacement problems for the 64bit Hurd. See <https://lists.debian.org/debian-hurd/2024/07/msg00063.html>. * Findutil's gnulib-tests/test-sigaction failure. * gnu/packages/patches/glibc-hurd-pthread_setcancelstate.patch, gnu/packages/patches/glibc-hurd64-fault.patch, gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch, gnu/packages/patches/glibc-hurd64-sgms-context.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/base.scm (glibc/hurd): Use them. Change-Id: I9ee65983876cd22ad1dc01aabb41a34074631599 Janneke Nieuwenhuizen
2024-12-03gnu: libstdc++: Support the 64bit Hurd....* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the 64bit Hurd, add stage patch-hurd64. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: libxcrypt: Support the 64bit Hurd....* gnu/packages/patches/libxcrypt-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/crypto.scm (libxcrypt)[arguments]: When building for the 64bit Hurd, use it in new phase `apply-hurd64-patch'. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: patch: Fix build for the 64bit Hurd....* gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd, set #:configure-flags. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: grep: Fix build for the 64bit Hurd....* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd, add patch-sigsegv.h stage. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: elfutils: Fix build for 64bit Hurd....* gnu/packages/elf.scm (elfutils)[arguments]: When building for a 64bit Hurd, set #:make-flags. Change-Id: I00abf360a7de5b1f78c1e912f0dcf27c62c1af68 Janneke Nieuwenhuizen
2024-12-03gnu: bash-minimal: Support [cross-]build with gcc-14....* gnu/packages/bash-minimal.scm (bash)[arguments]: When building for the 64bit hurd, or cross-building, use "CFLAGS=-g -O2 -Wno-implicit-function-declaration". Change-Id: I1356c0aeac303bdf0254c28815716c83884008a0 Janneke Nieuwenhuizen
2024-12-03gnu: cross-libc: Support cross-building for the 64bit Hurd....* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in phase "create-machine-symlink", do not assume CPU is i386, also cater for x86_64. * gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise. Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812 Janneke Nieuwenhuizen
2024-12-03gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd....* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Update comment on where to find shared linker name. (make-raw-bag): Also use raw-build-guile3 when building for the 64bit Hurd. * gnu/packages/cross-base.scm (cross-kernel-headers*): Use target-hurd? instead of custom "i586..." matching to also use xhurd-core-headers for target-hurd64. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc) [native-inputs]: Move final-inputs before cross-packages. (%binutils-static)[arguments]: When building for the 64bit Hurd, add "lt_cv_prog_compiler_static_works=yes", "lt_cv_prog_compiler_static_works_CXX=yes" to #:make-flags to convince to actually link the binaries statically. (make-guile-static)[arguments]: When building for the 64bit Hurd, add "lt_cv_prog_compiler_static_works=yes" to #:configure-flags to convince libtool to actually link guile statically. * guix/platforms/x86.scm (x86_64-gnu): New exported variable. * guix/utils.scm (target-hurd64? system-hurd64?): New procedures. Janneke Nieuwenhuizen
2024-12-03gnu: hurd: Update to 0.9.git20240714....* gnu/packages/hurd.scm (hurd-headers): Update to 0.9.git20240714. (hurd)[arguments]: Remove rumpdisk build hack from "prepare-addons" stage. Instead, when cross-compiling, add stage "fixup-cross-configure" to enable rumpdisk. * gnu/system.scm (hurd-multiboot-modules): Remove "--x-xattr-translator-records" option that has been removed and is now the default. Change-Id: I4609b5a959c1ece98e2fe1aedbb1d31d6edadcca Janneke Nieuwenhuizen
2024-12-03gnu: mig: Update to 1.8+git20231217....* gnu/packages/hurd.scm (mig): Update to 1.8+git20231217. Change-Id: I0e531ecc7fdcfbefe2e0e24d7b2fb5e0fe8a3ae2 Janneke Nieuwenhuizen
2024-12-03gnu: gnumach: Update to v1.8+git20240714....* gnu/packages/patches/gnumach-version.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use it. * gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset patches. Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5 Janneke Nieuwenhuizen
2024-12-03system: Add "installer" sub-command....* guix/scripts/system/installer.scm: New file. * Makefile.am (MODULES)[ENABLE_INSTALLER]: Register it. (MODULES_NOT_COMPILED)[!ENABLE_INSTALLER]: Likewise. * guix/scripts/system.scm (show-help): Add help for "installer" sub-command. (actions): Register "installer". (guix-system): Invoke `guix-system-installer' sub-command. * doc/guix.texi (Invoking guix system): Document it. * gnu/installer.scm (run-installer): Remove "./pre-inst env". Change-Id: I5a05b941c060682c17d45d871df3cf34e3f8643a Janneke Nieuwenhuizen
2024-12-03gnu: python-falcon: Fix tests....* gnu/packages/python-web.scm (python-falcon)[native-inputs]: Add python-orjson. [arguments]: Do not patch test file; respect test-flags in custom 'check phase; provide test-flags to ignore examples and benchmarks. [build-system]: Use pyproject-build-system. Change-Id: Ic173e2d940a2bb9c7f81ea3e70475f8bfff36dfb Signed-off-by: Hilton Chain <hako@ultrarare.space> Ricardo Wurmus
2024-12-03gnu: python-fakeredis: Update to 2.26.1....* gnu/packages/databases.scm (python-fakeredis): Update to 2.26.1. [arguments]: Do not run slow tests; add phases 'poetry-compatibility and 'start-redis. [propagated-inputs]: Add python-typing-extensions. [native-inputs]: Add redis. Change-Id: I18ed122d9e5307d3d723cfc9ef0d51f120b4ccb5 Signed-off-by: Hilton Chain <hako@ultrarare.space> Ricardo Wurmus
2024-12-03gnu: python-redis: Update to 5.2.0....* gnu/packages/databases.scm (python-redis): Update to 5.2.0. [arguments]: Update list of tests to skip; add phase 'relax-requirements. [native-inputs]: Add python-numpy. Change-Id: I789c511fb4a516e6cdad06dba695af9bb89f562d Signed-off-by: Hilton Chain <hako@ultrarare.space> Ricardo Wurmus
2024-12-02gnu: libgit2: Update to 1.8.3....* gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.3. Change-Id: Iff5b1f341a480d06e1f618bc306f0ff0c3a62713 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Ashish SHUKLA
2024-12-02gnu: libreoffice: Update to 24.8.3.2....* gnu/packages/libreoffice.scm (libreoffice): Update to 24.8.3.2. [source]<uri>: Add secondary uri. [arguments]<#:phases>: Fix build issue related to issue 43579 in phase 'prepare-src. [configure-flags]: Add optimising flags --disable-cve-tests, --enable-readonly-installset, --disable-dependency-tracking. [native-inputs]: Add gcc-toolchain-12. [inputs]: Add argon2, zxcvbn-c. Change-Id: I72e0ebb4d075c47ea168b181f969a97f9249150a Signed-off-by: Ludovic Courtès <ludo@gnu.org> Nicolas Graves
2024-12-02gnu: povray: Fix test run requiring interaction....[[PGP Signed Part:No public key for 3DECC105F5DD2382 created at 2024-10-23T14:00:24+0200 using RSA]] The test render required pressing a key after it was done, which caused the package build to get stuck. Also disable the render display window, which did not cause issues but was pointless. * gnu/packages/graphics.scm (povray)[args]: Patch test render not to pause nor display a window. Change-Id: Ia9527b3a67896972b399464b97dda464365d41ea Signed-off-by: Ludovic Courtès <ludo@gnu.org> Ivan Vilata i Balaguer
2024-12-02gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers....Reset .dict file mtime to start of the epoch before compressing with dictzip. * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dictionaries.scm (freedict-tools): Use it. Signed-off-by: Runciter <runciter@whispers-vpn.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Runciter
2024-12-02gnu: Add freedict-dictionaries....* gnu/packages/dictionaries (freedict-dictionaries): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Runciter
2024-12-02gnu: Add freedict-tools....* gnu/packages/dictionaries.scm (freedict-tools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I141d30aea0e2c492b272be2ab9359e6b7569f932 Runciter
2024-12-02gnu: Add dictd....* gnu/packages/dictd.scm (dictd): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: Id1dbe8c77186574e7ad98ce3f7c8fa14b99b4db4 Runciter
2024-12-02gnu: Add (gnu packages dictd)....* gnu/packages/dictd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I3b68fbbed0a7a44287a6eda6c1e66e068fa17b8f Runciter
2024-12-02tests: Adjust ‘guix build -P1’ test to new packages....Fixes a bug introduced in 794e079437c8687f49d294322dab3b7a8a6abacf whereby the grep patterns used in this test would also match /gnu/store/…-rust-libgit2-sys-0.17.0+1.8.1.drv, thus getting 5 matches instead of 4. * tests/guix-build.sh: Refine grep patterns for ‘guix build -P1’ test. Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org> Change-Id: Iae35e6ee44b8eca0ef66c1d8ab7f9ff65a59d8d0 Ludovic Courtès
2024-12-02gnu: homer: Install config.txt....* gnu/packages/bioinformatics.scm (homer)[native-inputs]: Add config.txt. [arguments]: Update 'configure phase to place config.txt in expected location; patch configuration code to optionally load a user's configuration file. Change-Id: Ib05c828e751c6568524bbef45997a42fade4545a Ricardo Wurmus
2024-12-02gnu: homer: Install homer executable....* gnu/packages/bioinformatics.scm (homer)[arguments]: Update 'install phase to also install "homer" to the bin directory. Change-Id: Ia2d23fce493f9c10cc43ac126cd83956b4b9bb05 Ricardo Wurmus
2024-12-02Merge remote-tracking branch 'origin/rust-team'...Change-Id: I6d5c28252f060eeb69eb02fd281e7268bb885b29 Efraim Flashner
2024-12-02gnu: zstd: Fix cross-building to mingw32....* gnu/packages/compression.scm (zstd)[arguments]: Adjust the custom 'adjust-library-locations phase to have separate logic for targeting mingw32. Adjust the make-flags to add some extra flags when targeting mingw32. Change-Id: Ifd32a6bd9157af93c7338dacc96467e2756b9314 Efraim Flashner
2024-12-02gnu: redis: Add comment about upcoming license change....* gnu/packages/databases.scm (redis): Add a note with the package to be aware of the upcoming non-free license change. Change-Id: I60ef9bce81b6650d88f567e98c5bcf543a13082e Efraim Flashner
2024-12-02packages: 'package-input-rewriting/spec' optionally replace hidden....Commit eee95b5a879b7096dffd533f24107cf8926b621e changed package rewriting to ignore hidden packages. This patch permits the previous use by adding an option to rewrite hidden packages. * guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is hidden, return it as-is unless #:replace-hidden? has been enabled. * tests/packages.scm ("package-input-rewriting/spec, replace hidden package"): New test. * doc/guix.texi (Defining Package Variants): Update. Change-Id: I0a7988cac70e0c6b88b0fe6e27c1036fa723e030 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2024-12-02pack: Add ‘--file=FILE’ with the same meaning as for ‘guix build’....* guix/scripts/pack.scm (%options): add --file=FILE, but no shorthand (that’s already taken for format). * doc/guix.texi (Invoking guix pack): Document it. Change-Id: I87797fccdf218ead3b7f471a84034e8a8d566245 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Arne Babenhauserheide
2024-12-02maint: Run ‘etc/upgrade-manifest.scm’ in a UTF-8 locale....* etc/upgrade-manifest.scm: Add calls to ‘setlocale’ to force a UTF-8 locale. Change-Id: Ia567a1e08124d9eab7fb32f3363681a8f37431b1 Ludovic Courtès
2024-12-02gnu: python-pairtools: Update to 1.1.0-fix....* gnu/packages/bioinformatics.scm (python-pairtools): Update to 1.1.0-fix. [build-system]: Use pyproject-build-system. [arguments]: Add phase 'patch-setup.py. [native-inputs]: Add python-pytest-cov, python-setuptools, and python-wheel. Change-Id: Ifa3c12de228420d8fdd7b0053bb9da80b9b3efe4 Ricardo Wurmus