bug#72859: confirmation
Hi, I can confirm this observation with the same commit hashes (except for your personal channels, of course). Best Regards, Julian -- Dipl.-Inf. Julian Flake University of Koblenz Faculty 4: Computer Science Institute for Software Technology PB 20 16 02 | D-56016 Koblenz | Germany Voice: +49 261 287 2787 Email: fl...@uni-koblenz.de https://www.uni-koblenz.de/~flake
bug#63068: Apache mirrors are not available anymore
- The apache mirrors defined in guix/download.scm aren't available anymore. - Compare the info at https://www.apache.org/mirrors - (At least Some of the) packages are available at https://dlcdn.apache.org/
bug#63155: slim fails to build
compilation error is: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&, Panel::PanelType)’: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’) 51 | if (WinGC < 0) { | ~~^~~ make[2]: *** [CMakeFiles/libslim.dir/build.make:121: CMakeFiles/libslim.dir/panel.cpp.o] Error 1
bug#63068: [PATCH] fixed apache mirrors
Maybe(!) this allows for installing newer versions of packages that are downloaded from Apache servers (e.g. Maven). Can anyone test and confirm? --- guix/download.scm | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/guix/download.scm b/guix/download.scm index 561a893eee..3abbf2f10c 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -134,19 +134,8 @@ (define %mirrors "http://mirror.linux.org.au/"; "https://mirrors.edge.kernel.org/pub/"; "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/";) - (apache ; from http://www.apache.org/mirrors/dist.html - "http://www.eu.apache.org/dist/"; - "http://www.us.apache.org/dist/"; - "https://ftp.nluug.nl/internet/apache/"; - "http://apache.mirror.iweb.ca/"; - "http://mirrors.ircam.fr/pub/apache/"; - "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"; - "http://apache-mirror.rbc.ru/pub/apache/"; - "ftp://ftp.osuosl.org/pub/apache/"; - "http://mirrors.ibiblio.org/apache/"; - - ;; As a last resort, try the archive. - "http://archive.apache.org/dist/";) + (apache + "https://dlcdn.apache.org/";) (xorg ; from http://www.x.org/wiki/Releases/Download "http://www.x.org/releases/"; ; main mirrors "http://mirror.csclub.uwaterloo.ca/x.org/"; ; North America base-commit: 960647f0161c2c99ea3417d129662181e882cfeb -- 2.39.2
bug#63068: What I was trying to do
What I tried is $ guix shell --with-version=maven=3.9.1 maven (or any other version that exists) and got: guix shell: warning: could not find version 3.9.1 of 'maven' upstream The patch above resolves the origin uri in gnu/packages/maven.scm (definition of maven-pom) to something available, e.g. https://dlcdn.apache.org/maven/maven-3/3.9.1/source/apache-maven-3.9.1-src.tar.gz
bug#63068: What I was trying to do
Hi, $ guix shell --with-version=maven=3.9.1 maven Just to be sure, are you using the Guix where you applied the patch? No, the proposed patch is just an untested guess. I didn't test the patch yet, because I didn't manage to build (make) my guix working copy yet. Best Regards, Julian On Wed, May 03 2023, Simon Tournier wrote: Hi, On Fri, 28 Apr 2023 at 22:36, Julian Flake wrote: $ guix shell --with-version=maven=3.9.1 maven Just to be sure, are you using the Guix where you applied the patch? I mean, from the Guix repository where you applied you patch, I am expecting: $ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven If that’s the case, it means the issue is elsewhere. :-) Cheers, simon -- Dipl.-Inf. Julian Flake Universität Koblenz Fachbereich Informatik Institut für Softwaretechnik Postfach 20 16 02 | D-56016 Koblenz Tel.: +49 261 287 2787 E-Mail: fl...@uni-koblenz.de Website: https://www.uni-koblenz.de/~flake
bug#63068: [PATCH] gnu: apache mirror URLs substituted by CDN URL
* guix/download.scm (Apache mirrors are substituted by CDN): --- guix/download.scm | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/guix/download.scm b/guix/download.scm index 561a893eee..ce29e12ae8 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -134,17 +134,8 @@ (define %mirrors "http://mirror.linux.org.au/"; "https://mirrors.edge.kernel.org/pub/"; "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/";) - (apache ; from http://www.apache.org/mirrors/dist.html - "http://www.eu.apache.org/dist/"; - "http://www.us.apache.org/dist/"; - "https://ftp.nluug.nl/internet/apache/"; - "http://apache.mirror.iweb.ca/"; - "http://mirrors.ircam.fr/pub/apache/"; - "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"; - "http://apache-mirror.rbc.ru/pub/apache/"; - "ftp://ftp.osuosl.org/pub/apache/"; - "http://mirrors.ibiblio.org/apache/"; - + (apache ; see https://apache.org/history/mirror-history.html + "https://dlcdn.apache.org/"; ;; As a last resort, try the archive. "http://archive.apache.org/dist/";) (xorg ; from http://www.x.org/wiki/Releases/Download base-commit: 7a0a186a32524d4156bf96786d708fab323cebff -- 2.39.2
bug#63068: [PATCH] fixed apache mirrors
Hello Giovanni, Please can you send a new version of this patch, also with a proper commit message? see above (or https://issues.guix.gnu.org/63068#6). I didn't send it to guix-patc...@gnu.org, since I still didn't test the patch. Furthermore I am not sure, how a proper commit message looks like, when it is not related to a package (there is no YASnippet for that, right?). Best Regards, Julian On Thu, May 04 2023, Giovanni Biscuolo wrote: [[PGP Signed Part:Undecided]] Hello Julian, thank you for the patch Julian Flake writes: Maybe(!) this allows for installing newer versions of packages that are downloaded from Apache servers (e.g. Maven). Can anyone test and confirm? --- guix/download.scm | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/guix/download.scm b/guix/download.scm index 561a893eee..3abbf2f10c 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -134,19 +134,8 @@ (define %mirrors "http://mirror.linux.org.au/"; "https://mirrors.edge.kernel.org/pub/"; "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/";) - (apache ; from http://www.apache.org/mirrors/dist.html - "http://www.eu.apache.org/dist/"; - "http://www.us.apache.org/dist/"; - "https://ftp.nluug.nl/internet/apache/"; - "http://apache.mirror.iweb.ca/"; - "http://mirrors.ircam.fr/pub/apache/"; - "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"; - "http://apache-mirror.rbc.ru/pub/apache/"; - "ftp://ftp.osuosl.org/pub/apache/"; - "http://mirrors.ibiblio.org/apache/"; - - ;; As a last resort, try the archive. - "http://archive.apache.org/dist/";) The archive is still working, there is no need to remove it + (apache + "https://dlcdn.apache.org/";) (xorg ; from http://www.x.org/wiki/Releases/Download "http://www.x.org/releases/"; ; main mirrors "http://mirror.csclub.uwaterloo.ca/x.org/"; ; North America base-commit: 960647f0161c2c99ea3417d129662181e882cfeb Please can you send a new version of this patch, also with a proper commit message? Thanks! Gio' -- Giovanni Biscuolo Xelera IT Infrastructures [[End of PGP Signed Part]] -- Dipl.-Inf. Julian Flake Universität Koblenz Fachbereich Informatik Institut für Softwaretechnik Postfach 20 16 02 | D-56016 Koblenz Tel.: +49 261 287 2787 E-Mail: fl...@uni-koblenz.de Website: https://www.uni-koblenz.de/~flake
bug#63658: solaar: make udev rules available at /etc/udev/rules.d
Hi, package solaar (1.0.7) contains a file /share/solaar/udev-rules.d/42-logitech-unify-permissions.rules . It should be made available at /etc/udev/rules.d/42-logitech-unify-permissions.rules Best Regards, Julian
bug#64783: biber not in $PATH with texlive only
Hi, according to your suggestion it would be sufficient to have "texlive" to have "all of texlive". Unfortunately, with "texlive" only, I don't have "biber" on my $PATH. Therefore I used to have "texlive-bibeer" in addition to "texlive" in my system configuration, which resulted in having "biber" on my $PATH in the past. Recently, my system reconfiguration fails with "texlive" + "texlive-biber". guix system recofigure succeeds with "texlive" + "texlive-biber" + "texlive-bin". I have the impression that this shouldn't be the way to go. This is the failure (of building texlive-font-maps) during system reconfiguration with "texlive" + "texlive-biber" but without "texlive-bin": $ zcat /var/log/guix/drvs/ki/wcw72gaag3yx84hl9vhkk3mdh2ny15-texlive-font-maps.drv.gz Backtrace: 3 (primitive-load "/gnu/store/jrfjhxwfgsnazg7apkgcasqfrcq?") In ice-9/eval.scm: 619:8 2 (_ #f) In ice-9/boot-9.scm: 140:2 1 (dynamic-wind # ice-9/eval.s?> ?) In unknown file: 0 (chdir "/tmp/texlive/share/texmf-dist") ERROR: In procedure chdir: In procedure chdir: No such file or directory Best Regards, Julian Flake -- Dipl.-Inf. Julian Flake Universität Koblenz Fachbereich Informatik Institut für Softwaretechnik Postfach 20 16 02 | D-56016 Koblenz Tel.: +49 261 287 2787 E-Mail: fl...@uni-koblenz.de Website: https://www.uni-koblenz.de/~flake
bug#64783: biber not in $PATH with texlive only
Hello, On Wed, Aug 09 2023, Nicolas Goaziou wrote: By default, TeX Live does not provide "biber" executable, only its sources (the same is also true, e.g., for Asymptote). I confirm that installing "texlive" without "texlive-biber" does not put "biber" on $PATH, which is intentional, as you write. This is the failure (of building texlive-font-maps) during system reconfiguration with "texlive" + "texlive-biber" but without "texlive-bin": $ zcat /var/log/guix/drvs/ki/wcw72gaag3yx84hl9vhkk3mdh2ny15-texlive-font-maps.drv.gz Backtrace: 3 (primitive-load "/gnu/store/jrfjhxwfgsnazg7apkgcasqfrcq?") In ice-9/eval.scm: 619:8 2 (_ #f) In ice-9/boot-9.scm: 140:2 1 (dynamic-wind # ?) In unknown file: 0 (chdir "/tmp/texlive/share/texmf-dist") ERROR: In procedure chdir: In procedure chdir: No such file or directory This should now be fixed. I'll let you close the bug if you can confirm this. It is fixed now (by 3481a5cb37cacbb54f74a2b1fa52ffc5c972b09f, I guess), thank you! Having "texlive" + "texlive-biber" in my system configuration lets me reconfigure my system and leaves me with "biber" on my $PATH again, without having "texlive-bin" installed. Best Regards, Julian Flake -- Dipl.-Inf. Julian Flake Universität Koblenz Fachbereich Informatik Institut für Softwaretechnik Postfach 20 16 02 | D-56016 Koblenz Tel.: +49 261 287 2787 E-Mail: fl...@uni-koblenz.de Website: https://www.uni-koblenz.de/~flake
bug#63658: I add the file to /etc via a udev-rules-service in a guix system
In case someone else needs to add these rules to /etc, here is how I did it: I added the following udev-rules-service to my list of services in my operating-system definition (udev-rules-service 'logitech-unify (file->udev-rule "42-logitech-unify-permissions.rules" (file-append solaar "/share/solaar/udev-rules.d/42-logitech-unify-permissions.rules"))) Best Regards, Julian
bug#73428: update elogind to 255
Hi, if possible, upgrade elogind to version 255. I (and maybe others) have issues with `loginctl suspend`, see https://github.com/elogind/elogind/issues/208#issuecomment-2366912746 best, nutcase -- Dipl.-Inf. Julian Flake University of Koblenz Faculty 4: Computer Science Institute for Software Technology PB 20 16 02 | D-56016 Koblenz | Germany Voice: +49 261 287 2787 Email: fl...@uni-koblenz.de https://www.uni-koblenz.de/~flake
bug#73428: [PATCH] elogind update to 252.24
This is an update to 252.24 Change-Id: Id1ab5f26a9296238724fd9873288ef5630d0a0b5 --- gnu/packages/freedesktop.scm | 6 +- gnu/packages/patches/elogind-fix-rpath.patch | 60 2 files changed, 3 insertions(+), 63 deletions(-) delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 993bb84ec6..e1e5e2663c 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2024 aurtzy ;;; Copyright © 2024 Dariqq ;;; Copyright © 2024 Wilko Meyer +;;; Copyright © 2024 Julian Flake ;;; ;;; This file is part of GNU Guix. ;;; @@ -772,7 +773,7 @@ (define-public libxdg-basedir (define-public elogind (package (name "elogind") -(version "252.9") +(version "252.24") (source (origin (method git-fetch) (uri (git-reference @@ -781,8 +782,7 @@ (define-public elogind (file-name (git-file-name name version)) (sha256 (base32 -"049cfv97975x700s7lx4p9i22nv6v7j046iwkspxba7kr5qq7akw")) - (patches (search-patches "elogind-fix-rpath.patch" +"06hgcnhk6wbsnhkrqblw23q2x2b6bijzcnqjzfdv9xqzc94pha90" (build-system meson-build-system) (arguments `(#:configure-flags diff --git a/gnu/packages/patches/elogind-fix-rpath.patch b/gnu/packages/patches/elogind-fix-rpath.patch deleted file mode 100644 index 2a76cc467f..00 --- a/gnu/packages/patches/elogind-fix-rpath.patch +++ /dev/null @@ -1,60 +0,0 @@ -Retrieved from https://github.com/elogind/elogind/issues/258 - -From: Mark Hindley -Date: Wed, 24 May 2023 10:39:41 +0100 -Subject: Fixup_executable_rpath - -./meson.build sets - - install_rpath : rootlibexecdir - -however src/shared/meson.build sets - -libshared = shared_library( - [snip] -install_dir : rootpkglibdir -) - meson.build | 8 - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/meson.build b/meson.build -index 694a2fd..a575f69 100644 a/meson.build -+++ b/meson.build -@@ -2903,7 +2903,7 @@ executable('elogind', - dependencies : [threads, - libacl, - libudev], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootlibexecdir) - -@@ -2913,7 +2913,7 @@ exe = executable('loginctl', - link_with : [libshared], - dependencies : [threads, - libudev], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootbindir) - public_programs += [exe] -@@ -2923,7 +2923,7 @@ exe = executable('elogind-inhibit', - include_directories : includes, - link_with : [libshared], - dependencies : [threads], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootbindir) - public_programs += [exe] -@@ -4283,7 +4283,7 @@ executable('elogind-uaccess-command', - libshared], -dependencies: [libacl, - libudev], -- install_rpath : rootlibexecdir, -+ install_rpath : rootpkglibdir, -install : true, -install_dir : rootlibexecdir) - #endif // 0 base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76 -- 2.46.0
bug#73428: update elogind to 255
Hi, ...or, if you need additional channels or can't get this to work, you can commit your changes, replace the guix channel URL with "file:///home/your/guix", guix pull --{allow-downgrades,disable-authentication}, and reconfigure as you would otherwise. that's actually exactly, what I started this morning. Building all the packages takes a lot of time (and is still running), of course.
bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch.
Change-Id: Id12590b45317a3d965ee4d715e696e5402de85e4 --- gnu/local.mk | 1 - gnu/packages/patches/elogind-fix-rpath.patch | 60 2 files changed, 61 deletions(-) delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch diff --git a/gnu/local.mk b/gnu/local.mk index 8e7abc8a47..dd5d6e0c85 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1170,7 +1170,6 @@ dist_patch_DATA = \ %D%/packages/patches/elm-ghc9.2.patch\ %D%/packages/patches/elm-offline-package-registry.patch \ %D%/packages/patches/elm-reactor-static-files.patch \ - %D%/packages/patches/elogind-fix-rpath.patch \ %D%/packages/patches/emacs-all-the-icons-remove-duplicate-rs.patch \ %D%/packages/patches/emacs-deferred-fix-number-of-arguments.patch\ %D%/packages/patches/emacs-elpy-dup-test-name.patch \ diff --git a/gnu/packages/patches/elogind-fix-rpath.patch b/gnu/packages/patches/elogind-fix-rpath.patch deleted file mode 100644 index 2a76cc467f..00 --- a/gnu/packages/patches/elogind-fix-rpath.patch +++ /dev/null @@ -1,60 +0,0 @@ -Retrieved from https://github.com/elogind/elogind/issues/258 - -From: Mark Hindley -Date: Wed, 24 May 2023 10:39:41 +0100 -Subject: Fixup_executable_rpath - -./meson.build sets - - install_rpath : rootlibexecdir - -however src/shared/meson.build sets - -libshared = shared_library( - [snip] -install_dir : rootpkglibdir -) - meson.build | 8 - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/meson.build b/meson.build -index 694a2fd..a575f69 100644 a/meson.build -+++ b/meson.build -@@ -2903,7 +2903,7 @@ executable('elogind', - dependencies : [threads, - libacl, - libudev], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootlibexecdir) - -@@ -2913,7 +2913,7 @@ exe = executable('loginctl', - link_with : [libshared], - dependencies : [threads, - libudev], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootbindir) - public_programs += [exe] -@@ -2923,7 +2923,7 @@ exe = executable('elogind-inhibit', - include_directories : includes, - link_with : [libshared], - dependencies : [threads], --install_rpath : rootlibexecdir, -+install_rpath : rootpkglibdir, - install : true, - install_dir : rootbindir) - public_programs += [exe] -@@ -4283,7 +4283,7 @@ executable('elogind-uaccess-command', - libshared], -dependencies: [libacl, - libudev], -- install_rpath : rootlibexecdir, -+ install_rpath : rootpkglibdir, -install : true, -install_dir : rootlibexecdir) - #endif // 0 -- 2.46.0
bug#73428: [PATCH v2 1/2] gnu: elogind update to 252.24
Change-Id: I9697aea701dca738d6f97f7ae36c9f77b920d11a --- gnu/packages/freedesktop.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 993bb84ec6..e1e5e2663c 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2024 aurtzy ;;; Copyright © 2024 Dariqq ;;; Copyright © 2024 Wilko Meyer +;;; Copyright © 2024 Julian Flake ;;; ;;; This file is part of GNU Guix. ;;; @@ -772,7 +773,7 @@ (define-public libxdg-basedir (define-public elogind (package (name "elogind") -(version "252.9") +(version "252.24") (source (origin (method git-fetch) (uri (git-reference @@ -781,8 +782,7 @@ (define-public elogind (file-name (git-file-name name version)) (sha256 (base32 -"049cfv97975x700s7lx4p9i22nv6v7j046iwkspxba7kr5qq7akw")) - (patches (search-patches "elogind-fix-rpath.patch" +"06hgcnhk6wbsnhkrqblw23q2x2b6bijzcnqjzfdv9xqzc94pha90" (build-system meson-build-system) (arguments `(#:configure-flags -- 2.46.0
bug#73428: [PATCH v2 0/2] removed reference to deleted patch
v2: two separate commits: 1. update of elogind to 252.24 2. removal of unused patch Julian Flake (2): gnu: elogind update to 252.24 gnu: elogind: Remove unneeded rpath patch. gnu/local.mk | 1 - gnu/packages/freedesktop.scm | 6 +- gnu/packages/patches/elogind-fix-rpath.patch | 60 3 files changed, 3 insertions(+), 64 deletions(-) delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76 -- 2.46.0
bug#73428: update elogind to 255
Can we use some branch at the QA / Build server for testing, if all dependent packages actually build with this 252.24 patch?
bug#73428: update elogind to 255
$ guix refresh elogind --list-dependent Building the following 1680 packages would ensure 3220 dependent packages are rebuilt [...]
bug#73428: update elogind to 255
The provided patch describes a minor upgrade of elogind to 252.24. Maybe this already solves my specific issue with `loginctl suspend` while using sway WM. The major update to 255.x needs more attention, since configure flags changed different tests fail. I don't know, how to test this from a local git worktree of guix. I can install it from my local worktree into my ~/.guix-profile, but this is not picked up by my operating-system, which expects the binaries in my system's profile, I guess.
bug#67863: Guix Home: Multiple instances of user Shepherd created
Hi, I'm observing exactly the same. Were you able to solve your issue, meanwhile? Best Regards, Julian (nutcase)
bug#78802: emacs-pgtk-xwidgets-30.1 fails to build
Hi, I'm on 5c0922357fc383bffd35aa27a0f9d17583b25e5d and emacs-pgtk-xwidgets fails to build. The build log tells: --8<---cut here---start->8--- configure: error: xwidgets requested but WebKitGTK+ or WebKit framework not found. --8<---cut here---end--->8--- Best Regards, nutcase signature.asc Description: PGP signature
bug#74969: trash-cli does not build
Hi, after recent python updates in master, tests in trash-cli fail and therefore, the derivation fails to build: --8<---cut here---start->8--- = test session starts == platform linux -- Python 3.10.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /tmp/guix-build-trash-cli-0.22.10.20.drv-0/source configfile: pyproject.toml plugins: hypothesis-6.54.5 collected 354 items / 6 errors ERRORS ERROR collecting tests/test_empty/empty_cmd/test_empty_cmd.py _ tests/test_empty/empty_cmd/test_empty_cmd.py:9: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _ ERROR collecting tests/test_put/test_file_trasher.py _ tests/test_put/test_file_trasher.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ___ ERROR collecting tests/test_put/test_trash_directory_for_put.py tests/test_put/test_trash_directory_for_put.py:6: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ERROR collecting tests/test_put/test_trash_file_in.py _ tests/test_put/test_trash_file_in.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ___ ERROR collecting tests/test_put/test_trasher.py tests/test_put/test_trasher.py:5: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _ ERROR collecting tests/test_put/test_user.py _ tests/test_put/test_user.py:4: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' === short test summary info ERROR tests/test_empty/empty_cmd/test_empty_cmd.py - AttributeError: module '... ERROR tests/test_put/test_file_trasher.py - AttributeError: module '_pytest.r... ERROR tests/test_put/test_trash_directory_for_put.py - AttributeError: module... ERROR tests/test_put/test_trash_file_in.py - AttributeError: module '_pytest ERROR tests/test_put/test_trasher.py - AttributeError: module '_pytest.runner... ERROR tests/test_put/test_user.py - AttributeError: module '_pytest.runner' h... !!! Interrupted: 6 errors during collection == 6 errors in 0.50s === error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: () exit-status: 2 term-signal: #f stop-signal: #f> phase `check' failed after 0.6 seconds command "pytest" failed with status 2 build process 18 exited with status 256 --8<---cut here---end--->8--- cheers, nutcase signature.asc Description: PGP signa
bug#74969: trash-cli does not build
Hello Danny, thanks for the fix! Best Regards, nutcase On Tue, Dec 31 2024, Danny Milosavljevic wrote: Hello, Thanks for the report! I fixed this bug in guix master commit 1fc78ed02d890692fa3fb6a9609fc5cf54658a20. BR, Danny Julian Flake via Bug reports for GNU Guix wrote on 19.12.2024 12:01 (GMT +01:00): Hi, after recent python updates in master, tests in trash-cli fail and therefore, the derivation fails to build: --8<---cut here---start->8--- = test session starts == platform linux -- Python 3.10.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /tmp/guix-build-trash-cli-0.22.10.20.drv-0/source configfile: pyproject.toml plugins: hypothesis-6.54.5 collected 354 items / 6 errors ERRORS ERROR collecting tests/test_empty/empty_cmd/test_empty_cmd.py _ tests/test_empty/empty_cmd/test_empty_cmd.py:9: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _ ERROR collecting tests/test_put/test_file_trasher.py _ tests/test_put/test_file_trasher.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ___ ERROR collecting tests/test_put/test_trash_directory_for_put.py tests/test_put/test_trash_directory_for_put.py:6: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ERROR collecting tests/test_put/test_trash_file_in.py _ tests/test_put/test_trash_file_in.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ___ ERROR collecting tests/test_put/test_trasher.py tests/test_put/test_trasher.py:5: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _ ERROR collecting tests/test_put/test_user.py _ tests/test_put/test_user.py:4: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' === short test summary info ERROR tests/test_empty/empty_cmd/test_empty_cmd.py - AttributeError: module '... ERROR tests/test_put/test_file_trasher.py - AttributeError: module '_pytest.r... ERROR tests/test_put/test_trash_directory_for_put.py - AttributeError: module... ERROR tests/test_put/test_trash_file_in.py - AttributeError: module '_pytest ERROR tests/test_put/test_trasher.py - AttributeError: module '_pytest.runner... ERROR tests/test_put/test_user.py - AttributeError: module '_pytest.runner' h... !!! Interrupted: 6 errors during collection !!!