summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Expand)Author
2021-09-29gnu: mariadb: Honor parallel-tests?.•••* gnu/packages/databases.scm (mariadb)[arguments]: In custom 'check phase honor #:parallel-tests? flag. Efraim Flashner
2021-09-28gnu: guile-xapian: Fix compilation with Guile 3.0.7.•••* gnu/packages/guile-xyz.scm (guile-xapian)[source]: Add 'modules' and 'snippet'. Ludovic Courtès
2021-09-28gnu: make-bootstrap: Enable tests in static gawk build.•••The tests were disabled because gawk’s extension mechanism doesn’t work when it’s built statically, and some tests fail because of that. Another alternative is to disable the extension mechanism during configuration time, which causes the testsuite to pass again. * gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]<#:tests?>: Remove. <#:configure-flags>: Add. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Thiago Jung Bauermann
2021-09-28gnu: make-bootstrap: Allow compilation of the statically-link gawk.•••Previously, linking would fail due to the '-fno-common' default in GCC 10: ld: /gnu/store/…-glibc-2.33-static/lib/libc.a(getopt.o): in function `_getopt_internal_r': (.text+0x6e0): multiple definition of `_getopt_internal_r'; support/libsupport.a(getopt.o):/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/support/getopt.c:404: first defined here ld: /gnu/store/…-glibc-2.33-static/lib/libc.a(getopt.o): in function `_getopt_internal': Reported by Thiago Jung Bauermann <bauermann@kolabnow.com>. * gnu/packages/make-bootstrap.scm (%static-inputs) <gawk>: Remove getopt.o from libsupport.a. Ludovic Courtès
2021-09-28gnu: freetalk: Fix build.•••* gnu/packages/messaging.scm (freetalk)[arguments]: Pass the -fcommon flag to fix the build with GCC 10. Mathieu Othacehe
2021-09-28gnu: syslinux: Fix build.•••* gnu/packages/patches/syslinux-gcc10.patch: New file. * gnu/packages/patches/syslinux-strip-gnu-property.patch: New file. * gnu/local.mk (DIST_PATCH_DATA): Add them. * gnu/packages/bootloaders.scm (syslinux)[source]: Use them. [arguments]: Only strip debug symbols. Mathieu Othacehe
2021-09-27tests: base: Fix the screendump test.•••* gnu/tests/base.scm (run-basic-test): Look for the screendump capture where it has been saved, in the output directory. Mathieu Othacehe
2021-09-27gnu: foomatic-filters: Fix build.•••* gnu/packages/cups.scm (foomatic-filters)[arguments]: Pass the -fcommon flag to fix compilation with GCC 10. Mathieu Othacehe
2021-09-27services: database: Change postgresql default socket.•••Adapt to the postgresql default socket directory set to /var/run/postgresql. * gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]: Set to /var/run/postgresql. (<postgresql-role-configuration>): Ditto. * gnu/tests/databases.scm (run-postgresql-test): Adapt it. Mathieu Othacehe
2021-09-27gnu: gusb: Don't build introspection data when cross-compiling.•••This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>: Set 'introspection' and 'vapi' to false. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27gnu: libxvmc: Pass --disable-malloc0returnsnull when cross-compiling.•••This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxvmc)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling.•••This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxv)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling.•••This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (xev)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27gnu: llvm: Let it cross-compile.•••The derivation when compiling natively remains the same, so this doesn't cause any rebuilds. * gnu/packages/llvm.scm (llvm-12)[arguments]<#:configure-flags>: Set LLVM_TABLEGEN, LLVM_DEFAULT_TARGET_TRIPLE, LLVM_TARGET_ARCH and LLVM_TARGETS_TO_BUILD when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27gnu: pkg-config: Fix typo in search paths.•••* gnu/packages/pkg-config.scm (pkg-config-for-build)[native-search-paths]: Use "PKG_CONFIG_PATH_FOR_BUILD" instead of "PKG_CONFIG_PATH". Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-27ci: Adjust 'channel-build-system' to monadic style.•••* gnu/ci.scm (channel-build-system): Adjust to new monadic style. Ludovic Courtès
2021-09-27gnu: python-graphql-relay: Enable tests.•••* gnu/packages/python-xyz.scm (python-graphql-relay)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest, python-pytest-asyncio. Efraim Flashner
2021-09-27gnu: python-graphql-relay: Update to 3.1.0.•••* gnu/packages/python-xyz.scm (python-graphql-relay): Update to 3.1.0. [propagated-inputs]: Remove python-promise and python-six. Efraim Flashner
2021-09-26marionette: Print a line when a test succeeds.•••* gnu/build/marionette.scm (system-test-runner): Add call to 'test-runner-on-test-end!'. Ludovic Courtès
2021-09-26tests: Reduce boilerplate for users of 'system-test-runner'.•••* gnu/tests/audio.scm, gnu/tests/base.scm, gnu/tests/ci.scm, gnu/tests/cups.scm, gnu/tests/databases.scm, gnu/tests/desktop.scm, gnu/tests/dict.scm, gnu/tests/docker.scm, gnu/tests/file-sharing.scm, gnu/tests/ganeti.scm, gnu/tests/guix.scm, gnu/tests/ldap.scm, gnu/tests/linux-modules.scm, gnu/tests/mail.scm, gnu/tests/messaging.scm, gnu/tests/monitoring.scm, gnu/tests/networking.scm, gnu/tests/nfs.scm, gnu/tests/package-management.scm, gnu/tests/reconfigure.scm, gnu/tests/rsync.scm, gnu/tests/security-token.scm, gnu/tests/singularity.scm, gnu/tests/ssh.scm, gnu/tests/telephony.scm, gnu/tests/version-control.scm, gnu/tests/virtualization.scm, gnu/tests/web.scm: Remove (mkdir #$output) (chdir #$output) and pass #$output as argument to 'system-test-runner'. Ludovic Courtès
2021-09-26marionette: 'system-test-runner' can create output directory.•••* gnu/build/marionette.scm (system-test-runner): Take optional 'log-directory' parameter. Add 'test-begin' handler and honor LOG-DIRECTORY. Ludovic Courtès
2021-09-26marionette: 'system-test-runner' dumps test log upon failure.•••* gnu/build/marionette.scm (system-test-runner): In 'test-end' handler, when SUCCESS? is false, dump log content to the current error port. Ludovic Courtès
2021-09-25gnu: texlive: Remove remaining uses of deprecated packages.•••This is a followup to b949f34f31a045eb0fb242b81a223178fb6994d3 and 7269f0c1b2411c8fbe014b32cea0ce5f8621c67b. * gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Use TEXLIVE-URL instead of TEXLIVE-LATEX-URL. (texlive-pdftex)[propagated-inputs]: Use TEXLIVE-KNUTH-LIB instead of TEXLIVE-FONTS-KNUTH-LIB. (texlive-context)[propagated-inputs]: Use TEXLIVE-STMARYRD instead of TEXLIVE-FONTS-STMARYRD. Ludovic Courtès
2021-09-25tests: Adjust to SRFI-64 as found in Guile 3.0.7.•••In Guile 3.0.7, 'test-runner-current' is set to #f upon 'test-end'. Consequently, the previous strategy, where we'd call 'test-runner-current' after 'test-end', no longer works. Instead, set the test runner in each test right before 'test-begin'. * gnu/build/marionette.scm (system-test-runner): New procedure. * gnu/tests/audio.scm (run-mpd-test): Replace (exit (= ...)) idiom by (test-runner-current (system-test-runner)). * gnu/tests/base.scm (run-basic-test) (run-cleanup-test, run-mcron-test, run-nss-mdns-test): Likewise. * gnu/tests/ci.scm (run-laminar-test): Likewise. * gnu/tests/cups.scm (run-cups-test): Likewise. * gnu/tests/databases.scm (run-memcached-test) (run-postgresql-test, run-mysql-test): Likewise. * gnu/tests/desktop.scm (run-elogind-test): Likewise. * gnu/tests/dict.scm (run-dicod-test): Likewise. * gnu/tests/docker.scm (run-docker-test): Likewise. (run-docker-system-test): Likewise. * gnu/tests/file-sharing.scm (run-transmission-daemon-test): Likewise. * gnu/tests/ganeti.scm (run-ganeti-test): Likewise. * gnu/tests/guix.scm (run-guix-build-coordinator-test): Likewise. (run-guix-data-service-test): Likewise. * gnu/tests/ldap.scm (run-ldap-test): Likewise. * gnu/tests/linux-modules.scm (run-loadable-kernel-modules-test-base): Likewise. * gnu/tests/mail.scm (run-opensmtpd-test) (run-exim-test, run-dovecot-test, run-getmail-test): Likewise. * gnu/tests/messaging.scm (run-xmpp-test) (run-bitlbee-test, run-quassel-test): Likewise. * gnu/tests/monitoring.scm (run-prometheus-node-exporter-server-test) (run-zabbix-server-test): Likewise. * gnu/tests/networking.scm (run-inetd-test, run-openvswitch-test) (run-dhcpd-test, run-tor-test, run-iptables-test, run-ipfs-test): Likewise. * gnu/tests/nfs.scm (run-nfs-test) (run-nfs-server-test, run-nfs-root-fs-test): Likewise. * gnu/tests/package-management.scm (run-nix-test): Likewise. * gnu/tests/reconfigure.scm (run-switch-to-system-test) (run-upgrade-services-test, run-install-bootloader-test): Likewise. * gnu/tests/rsync.scm (run-rsync-test): Likewise. * gnu/tests/security-token.scm (run-pcscd-test): Likewise. * gnu/tests/singularity.scm (run-singularity-test): Likewise. * gnu/tests/ssh.scm (run-ssh-test): Likewise. * gnu/tests/telephony.scm (run-jami-test): Likewise. * gnu/tests/version-control.scm (run-cgit-test): Likewise. (run-git-http-test, run-gitolite-test, run-gitile-test): Likewise. * gnu/tests/virtualization.scm (run-libvirt-test, run-childhurd-test): Likewise. * gnu/tests/web.scm (run-webserver-test, run-php-fpm-test) (run-hpcguix-web-server-test, run-tailon-test, run-patchwork-test): Likewise. Ludovic Courtès
2021-09-24gnu: emacs-geiser-guile: Depend on Guile 3.0.•••* gnu/packages/emacs-xyz.scm (emacs-geiser-guile)[inputs]: Depend on GUILE-3.0. Ludovic Courtès
2021-09-24gnu: guile@2.2: Build with '-fexcess-precision=standard' on i686.•••* gnu/packages/guile.scm (guile-2.2)[arguments]: New field. (guile-3.0)[arguments]: Inherit arguments from GUILE-2.0 instead of GUILE-2.2 Ludovic Courtès
2021-09-22gnu: glib: Actually skip tests that fail on i686.•••* gnu/packages/glib.scm (glib)[arguments]: In 'disable-failing-tests' phase, when 'target-x86-32?' returns true, skip several tests in timer.c. Ludovic Courtès
2021-09-21installer: keymap: Fix optional fields handling.•••Fixes: <https://issues.guix.gnu.org/50723>. The keymap xml contains optional shortDescription and description fields. The assoc-ref call on those fields can return false, handle it correctly. * gnu/installer/keymap.scm (xkb-rules->models+layouts): Introduce a new "maybe-empty" helper to deal with optional fields. Use it for shortDescription and description fields. Mathieu Othacehe
2021-09-21gnu: 4dtris: Fix build.•••* gnu/packages/games.scm (4dtris)[attributes]: Add -fcommon to CFLAGS and use search-input-directory to find SDL include path. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Felix Gruber
2021-09-21gnu: cmake: Skip CPack TXZ test on i686.•••Fixes <https://issues.guix.gnu.org/50617>. * gnu/packages/cmake.scm (%common-build-phases): Turn into a procedure and adjust users. When 'target-x86-32?' returns true, add 'skip-cpack-txz-test'. Ludovic Courtès
2021-09-21gnu: icedtea-7: Use pem certificates.•••This is a follow-up of: 287a8c90484c76336e0c0457960e4b2ebf4d2b16. * gnu/packages/java.scm (icedtea-7)[arguments]{install-keystore}: Use pem certificates. Mathieu Othacehe
2021-09-21gnu: nss-certs: Copy pem files.•••* gnu/packages/certs.scm (nss-certs)[arguments]<#:phases>{install}: Copy pem files instead of crt files. Mathieu Othacehe
2021-09-21gnu: certdata2pem: Produce pem files.•••Create files with pem extension instead of crt. * gnu/packages/certs.scm (certdata2pem)[arguments]<#:phases>{fix-extension}: New phase. Mathieu Othacehe
2021-09-20gnu: at-spi2-atk: Don't compile tests when cross-compiling.•••* gnu/packages/gtk.scm (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when cross-compiling. Maxime Devos
2021-09-20gnu: pango: Add bash-minimal input when cross-compiling.•••* gnu/packages/gtk.scm (pango)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: gdk-pixbuf: Add bash-minimal input when cross-compiling.•••* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: gdk-pixbuf: Find docbook when cross-compiling.•••* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Look for docbook in 'native-inputs' instead of 'inputs' when cross-compiling. Maxime Devos
2021-09-20gnu: libproxy: Don't run tests when cross-compiling.•••* gnu/packages/networking.scm (libproxy)[arguments]]<#:phases>{check}: Respect #:tests? when cross-compiling. Maxime Devos
2021-09-20gnu: wayland: Find docbook-xml when cross-compiling.•••* gnu/packages/freedesktop.scm (wayland)[arguments]<#:phases>{patchdocbook-xml}: Look in 'native-inputs' instead of 'inputs' when cross-compiling. Maxime Devos
2021-09-20gnu: wayland: Find wayland-scanner when cross-compiling.•••* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add pkg-config-for-build and 'this-package' when cross-compiling. Maxime Devos
2021-09-20gnu: Add pkg-config-for-build.•••* gnu/packages/pkg-config.scm (pkg-config-for-build): New variable. Maxime Devos
2021-09-20gnu: libxxf85vm: Add --disable-malloc0-returnsnull when necessary.•••* gnu/packages/xorg.scm (libxxf86vm)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxrandr: Add --disable-malloc0-returnsnull when necessary.•••* gnu/packages/xorg.scm (libxrandr)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxi: Add --disable-malloc0-returnsnull when necessary.•••* gnu/packages/xorg.scm (libxi)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxinerama: Add --disable-malloc0-returnsnull when necessary.•••* gnu/packages/xorg.scm (libxinerama)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: xorg: Unify --disable-malloc0-returnsnull code.•••The idea is to keep the comments in one place, instead of copying them over and over. It's also documented more now. * gnu/packages/xorg.scm (malloc0-flags): New procedure. (libxext,libxrender,libx11,libxt): Use new procedures. Maxime Devos
2021-09-20gnu: at-spi2-core: Add missing "bash-minimal" input.•••* gnu/packages/gtk.scm (at-spi2-core)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: at-spi2-core: Find docbook when cross-compiling.•••* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:phases>{patch-docbook-sgml}: Look up "docbook-sxml" in 'native-inputs' instead of 'inputs' when cross-compiling. Maxime Devos
2021-09-20gnu: at-spi2-core: Don't cross-compile documentation.•••* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:configure-flags>: Set docs=false when cross-compiling. (at-spi2-core)[arguments]<#:phases>{move-documentation}: Remove when cross-compiling. Maxime Devos
2021-09-20gnu: avahi: Use the cross-compiled bash.•••* gnu/packages/avahi.scm (avahi)[arguments]<#:phases>{patch-more-shebangs}: Replace the bash in the shebangs in "/etc/avahi" with a cross-compiled bash. Maxime Devos