summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-25Revert "HACK compile-as-derivation: build #:system "i586-gnu"."hurd-teamJanneke Nieuwenhuizen
This reverts commit e6a4e1dd650b795bec2bf98386c71372af690155.
2024-01-25HACK compile-as-derivation: build #:system "i586-gnu".Janneke Nieuwenhuizen
See https://logs.guix.gnu.org/guix/2023-11-27.log#121853 Change-Id: Idbcd6eadc0086c5813bb19d554d6b5bc87d5843d
2024-01-25Revert "DRAFT daemon: Support chroot builds on GNU/Hurd."Janneke Nieuwenhuizen
This reverts commit d04d70f6eaedad0ea6cd3b5a48f30666e324fd23.
2024-01-25DRAFT daemon: Support chroot builds on GNU/Hurd.Ludovic Courtès
* nix/libutil/util.cc (firmlink): New functions. (_deletePath) [__GNU__]: Check whether a translator is set on PATH. Call 'fsys_goaway' if this is the case. * nix/libutil/util.hh (firmlink): New declaration. * nix/libstore/build.cc (CHROOT_ENABLED): Define to 1. Error out when both __GNU__ and __linux__ are undefined. (DerivationGoal::runChild): Remove special treatment of /proc. Use 'firmlink' instead of 'mount' with MS_BIND. Wrap /proc, /dev/shm, /dev/pts, and /proc/self handling in #ifdef __linux__. Same for 'pivot_root' call. * config-daemon.ac: Set and substitute 'HURD_LIBS'. * nix/local.mk (guix_daemon_LDADD): Add $(HURD_LIBS).
2024-01-25DRAFT system: examples: Add devel-hurd.tmpl.Janneke Nieuwenhuizen
For your hacking pleasure -- Not intended for review / merge just yet. Try something like ./pre-inst-env guix system image --image-type=hurd-qcow2 --image-size=15G \ --no-offload gnu/system/examples/devel-hurd.tmpl cp /gnu/store/...disk-image devel.img guix shell qemu -- qemu-system-i386 -enable-kvm -m 4096 \ -device rtl8139,netdev=net0 \ -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \ -hda devel-hurd.img ssh -p 10022 root@localhost GUIX_PROFILE=/run/current-system/bootstrap-profile source $GUIX_PROFILE/etc/profile git clone git://git.savannah.gnu.org/guix cd guix ./bootstrap ./configure --localstatedir=/var --sysconfdir=/etc --with-courage make Note that we don't have an ld-wrapper, so you need some ld.so and LD_LIBRARY_PATH hackery for compiled binaries to run.
2024-01-25DRAFT hurd-boot: Support second boot.Janneke Nieuwenhuizen
* gnu/build/hurd-boot.scm (boot-hurd-system): Check for stale shepherd socket and remove it. Be chattier about /hurd symlink replacement.
2024-01-25DRAFT hurd: Support second boot.Janneke Nieuwenhuizen
XXX This works beautifully, also on my x60, as long as the filesystem is clean. Although our fsck in libexec/runsystem doesn't work without or with the current ftab, this may be a bad idea? This avoids hanging upon second boot and ensures a declarative /hurd and /dev. * gnu/packages/patches/hurd-startup.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (hurd): Use it. [arguments]: In stage create-runsystem remove /dev/urandom.
2024-01-25system: hurd: Add swap-services to hurd-default-essential-services.Janneke Nieuwenhuizen
* gnu/services/base.scm (swap-service-type): Do not include 'udev' requirement for the Hurd. Use system* with "swapon", "swapoff" for the Hurd. * gnu/system.scm (hurd-default-essential-services): Add swap-services. * gnu/services/base.scm (swap-service-type):
2024-01-25hurd-boot: Support system init: Create essential device nodes.Janneke Nieuwenhuizen
* gnu/build/hurd-boot.scm (make-hurd-device-nodes): Cater for existing directories (dev, servers). (set-hurd-device-translators): Remove /servers/socket/1, that is created by libexec/console-run. Cater for nonexistent /dev/console. (boot-hurd-system): Call make-hurd-device-nodes on initial run.
2024-01-25hurd: Support system init in /libexec/runsystem.Janneke Nieuwenhuizen
This is the first step to support booting after guix system init, which does not create /servers. * gnu/packages/hurd.scm (hurd)[arguments]: In stage create-runsystem, do not assume /servers/socket/ exists, remove any existing /servers/socket/1.
2024-01-25ui: Default to “C.UTF-8” locale instead of “en_US.utf8”.Ludovic Courtès
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/ui.scm (install-locale): Default to “C.UTF-8”. Change-Id: Icc92bfe0d75c415eb11a9af207824544ed75e084
2024-01-25grafts: Use C.UTF-8 and remove dependency on ‘glibc-utf8-locales’.Ludovic Courtès
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/grafts.scm (graft-derivation/shallow)[glibc-locales]: Remove. [build]: Leave ‘GUIX_LOCPATH’ unset. Use “C.UTF-8” instead of “en_US.utf8”. Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org> Change-Id: I59bc90130c6711a1a89068fbf697f9bd2ba2b5f1
2024-01-25git-download: Use C.UTF-8 and remove dependency on ‘glibc-utf8-locales’.Ludovic Courtès
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/git-download.scm (git-fetch/in-band*)[glibc-locales]: Remove. [build]: Leave ‘GUIX_LOCPATH’ unset. Use “C.UTF-8” instead of “en_US.utf8”. Change-Id: I268361c04dd2d6154d97836b1f41ff06ffd278eb
2024-01-25gnu: rust: Disable token_not_logged test.Maxim Cournoyer
* gnu/packages/rust.scm (rust) [arguments]: Disable an extra test in the disable-tests-using-cargo-publish phase. Change-Id: I7d5d9603cfeeffd95f565b5bda455e28022fa745
2024-01-25gnu: rust: Use gexps; fix enable-profiling phase.Maxim Cournoyer
This is a follow up commit to 8219ab0443129c71eef83ee4bd3aae0a0a12b6f9, which had a few problems. * gnu/packages/rust.scm (rust) [arguments]: Use gexps. Replace unpack-profiler-rt phase with copy-compiler-rt-source. Rename the enable-profiling phase to enable-profiler; streamline substitute regexp/replacement. Change-Id: I058de60f25c6a96cf4bbcd3a7dd4a682341e2ac5
2024-01-25gnu: make-rust-sysroot/implementation: Use gexps.Maxim Cournoyer
* gnu/packages/rust.scm (make-rust-sysroot/implementation): Use gexps. Change-Id: Ie35ca201c2a55f00023dad02a0d1121b6f298812
2024-01-25gnu: gnumach: Fix task_info.Janneke Nieuwenhuizen
This fixes the (times) call in Guile. * gnu/packages/patches/gnumach-fix-task_info.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (gnumach)[source]: Use it. Change-Id: Ie7725d86465136a8e03838b86424c25cf68945c4
2024-01-25gnu: bluez: Fix build.Janneke Nieuwenhuizen
This is a follow-up to commit 23aa24058ad932bf48e4258566ee94fea86eef3d gnu: bluez: Update to 5.72. and fixes GEN client/bluetoothctl-player.1 client/bluetoothctl.rst:342: (WARNING/2) Cannot analyze code. Pygments package not found. Exiting due to level-2 (WARNING) system message. GEN client/bluetoothctl-scan.1 make[1]: *** [Makefile:13732: client/bluetoothctl.1] Error 1 * gnu/packages/linux.scm (bluez)[native-inputs]: Add python and python-pygments. Change-Id: Ifd4db91592012a904be21ec6d8df63200e958c58
2024-01-25gnu: node: Fix build with zlib 1.3.Efraim Flashner
* gnu/packages/node.scm (node)[source]: Adjust snippet to adjust a test to accept shorter version strings. Change-Id: If8384497035e44f4876357877941cbf175acf879
2024-01-25gnu: inkscape: Always use imagemagick as an input.Efraim Flashner
* gnu/packages/inkscape.scm (inkscape)[native-inputs]: Replace inherited imagemagick/stable with imagemagick. Change-Id: I6b25002deeeaa81fab6de4e181d2425fe7342aba
2024-01-25gnu: imagemagick: Only install documentation in final imagemagick.Efraim Flashner
* gnu/packages/imagemagick.scm (imagemagick/stable)[arguments]: Add configure-flag to disable documentation. Adjust phase to remove work-around for moving documentation to separate output. [outputs]: Remove field. (imagemagick)[arguments]: Remove configure-flag disabling documentation. Add a phase to move documentation to a separate output. [outputs]: Keep out, doc outputs. Change-Id: I34f02612d416ad2ff0edf330a274f93bddf4c53d
2024-01-25gnu: clang-runtime-6: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-6): Add patch. Change-Id: Iff5ad430876ff7f8319556b6648e223b7bb0e13a
2024-01-25gnu: clang-runtime-7: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-7): Add patch. Change-Id: Idba933cb04859d57066fd2e4b131ad9f4604fae8
2024-01-25gnu: clang-runtime-8: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-8): Add patch. Change-Id: I3ea8c6a597996adec567920d5714fb93ad91b2a9
2024-01-25gnu: clang-runtime-9: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-9): Add patch. * gnu/packages/patches/clang-runtime-9-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I3f88e3e933d8bb8aa4ba130dfb72e093ac5d378f
2024-01-25gnu: clang-runtime-10: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-10): Add patch. Change-Id: If90ee6895634e6f1791516861be558af4d2ffe8e
2024-01-25gnu: clang-runtime-11: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-11): Add patch. Change-Id: I5195c0a37e5dcc7ba200043e2028200492a74c14
2024-01-25gnu: clang-runtime-12: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-12): Add patch. Change-Id: Ia42a065972a1b908fa62db87cc23b2e5d119a9b0
2024-01-25gnu: clang-runtime-13: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime-13): Add patch. * gnu/packages/patches/clang-runtime-13-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I0f78d826557a7ffa87f75ac521cc8fcec340bffd
2024-01-25gnu: clang-runtime-14: Fix build with newer glibc.Efraim Flashner
* gnu/packages/llvm.scm (%llvm-patches): Add patch for llvm-14. * gnu/packages/patches/clang-runtime-14-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: Ib5350be48f6580d00cb9b70435931abf0444c664
2024-01-25gnu: rust: Fix building.Efraim Flashner
* gnu/packages/rust.scm (rust)[arguments]: Adjust 'unpack-compiler-rt phase to correctly copy the sources into the target directory. Adjust 'enable-profiling phase to come after an existing phase. [native-inputs]: Add clang-runtime-source. Change-Id: I2e05fa86c4eaf8c2f5f3562d9f7939cd881cde3f
2024-01-24gnu: global: Adjust order of phases.Efraim Flashner
* gnu/packages/code.scm (global)[arguments]: Adjust the order of the phases so that they get read in the correct order. Change-Id: I149ccd249821c64aa5a508048d995e9963ea4c08
2024-01-24gnu: patchelf: Fix test suite.Efraim Flashner
* gnu/packages/elf.scm (patchelf)[arguments]: Adjust 'fix-tests phase for changes in the test suite. Change-Id: Iffeb4ef94e0d78edd47d9d8b6e316f3b29627ed0
2024-01-24gnu: ipxe: Update to 1.21.1-2.de8a082.Janneke Nieuwenhuizen
This fixes error: in phase 'build': uncaught exception: while building ipxe-qemu. * gnu/packages/bootloaders.scm (ipxe): Update commit to de8a0821c7bc737e724fa3dfb6d89dc36f591d7a. Bump revision and timestamp. Change-Id: I352a8451ba9da912f023802f1f31e5e311705ba2
2024-01-24gnu: range-v3: Update to 0.12.0.Efraim Flashner
* gnu/packages/cpp.scm (range-v3): Update to 0.12.0. [source]: Remove patch. * gnu/packages/patches/range-v3-build-with-gcc10.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Change-Id: I078937f9aff0da31ede8d472d8739e48bb775c55
2024-01-24gnu: range-v3: Format with 'guix style'.Efraim Flashner
* gnu/packages/cpp.scm (range-v3): Format with 'guix style'. Change-Id: I249443e5e5d0f7ef49e33de4f140246a862101d2
2024-01-24gnu: range-v3: Build with newer gcc.Efraim Flashner
* gnu/packages/cpp.scm (range-v3)[native-inputs]: Remove gcc-9. Change-Id: I0411d5db3e3df15c6df0a9a010d311fe1c80015c
2024-01-24gnu: pkgconf: Update to 2.1.0.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf): Update to 2.1.0. Change-Id: I5d61cd792ea89bc05a590997a3c8ed5243a57adc
2024-01-24gnu: webrtc-audio-processing: Fix build.Maxim Cournoyer
* gnu/packages/audio.scm (webrtc-audio-processing) [source]: Drop patch and snippet. [native-inputs]: Add pkg-config. * gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. Change-Id: I3340371a8d484a0ad1faddedc911169e29957281
2024-01-24gnu: python-pyelftools: Update to 0.30 [fixes build].Janneke Nieuwenhuizen
This avoids Test file 'test/testfiles_for_readelf/aarch64-relocs-le.o.elf' .......................FAIL ....for file test/testfiles_for_readelf/aarch64-relocs-le.o.elf ....for option "--debug-dump=info" ....Output #1 is readelf, Output #2 is pyelftools @@ Mismatch on line #1: >> compilation unit @ offset 0:<< >> compilation unit @ offset 0x0:<< ([('equal', 0, 29, 0, 29), ('insert', 29, 29, 29, 31), ('equal', 29, 30, 31, 32)]) * gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.30. [description]: Remove gratuitous whitespace. Change-Id: I6e15e4532affd7faa7272d42adb65a2efcccce46
2024-01-24gnu: mandoc: Resurrect build.Janneke Nieuwenhuizen
* gnu/packages/man.scm (mandoc)[native-inputs]: Add libc-utf8-locales-for-target. Change-Id: I021bfc42584ab9df216084778f4315a7a4b9fa7b
2024-01-24gnu: python-pycups: Update to 2.0.1.Maxim Cournoyer
* gnu/packages/cups.scm (python-pycups): Update to 2.0.1. Change-Id: Iedf57c35c543f1002b5716f972e1bdc676110b75
2024-01-24gnu: cups-filters: Update to 1.28.16.Maxim Cournoyer
* gnu/packages/cups.scm (cups-filters): Update to 1.28.16. [configure-flags]: Set CFLAGS and CXXFLAGS. [inputs]: Add libexif. Change-Id: Ib8a05d27533af0d9e59d72771670373acb300140
2024-01-24gnu: libbdplus: Update to 0.2.0.Efraim Flashner
* gnu/packages/video.scm (libbdplus): Update to 0.2.0. Change-Id: Ic357c71649b8f07ddb37b0860f30d9ef247529d5
2024-01-24gnu: libgpg-error: Refactor package arguments.Efraim Flashner
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Move the configure-flags to be always applied and make the adjustments to the build phases be the only conditional part. Remove unneeded module imports. Change-Id: I7eb3950e00e78071a148569cb3705e8a2866d0b6
2024-01-24gnu: libgpg-error: Always provide gpg-error-config.Efraim Flashner
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Always add a configure-flag to enable gpg-error-config. Change-Id: I40da8310d597529b4d355e72af9411ba76e434ca
2024-01-23gnu: libassuan: Update to 2.5.6.Maxim Cournoyer
* gnu/packages/gnupg.scm (libassuan): Update to 2.5.6. Change-Id: I8c3a58c088402096db7e9c17d554ab41973d8d74
2024-01-23gnu: imagemagick: Update to 6.9.13-5.Maxim Cournoyer
This is a follow-up to ac658511ae ("gnu: imagemagick: Update to 6.9.12-91."), which patch didn't apply cleanly. * gnu/packages/imagemagick.scm (imagemagick/stable): Update to 6.9.13-5. [source]: Remove patch. [configure-flags]: Specify correct --with-gs-font-dir location. [native-inputs]: Add zstd. * gnu/packages/patches/imagemagick-fix-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. * gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.13-5. Change-Id: Ic3ab5ea821de91fb18b80325414444e02e7eecb0
2024-01-23doc: Document changes to `copy-recursively'.Romain GARBAGE
* doc/guix.texi: Document new key `select?' in `copy-recursively'. Change-Id: I4b14ae5a1b40e0939456604f75597b5596b76f83 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-01-22gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230520.Janneke Nieuwenhuizen
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to 0.9.git20230520. Change-Id: Ie9ae6bd56ae120019bd154d975161e4ee0636795