unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 49862@debbugs.gnu.org
Subject: bug#49862: While downloading substitutes: Wrong type argument in position 1 (expecting struct): #f
Date: Tue, 01 Nov 2022 11:36:58 -0400	[thread overview]
Message-ID: <87iljyd6ud.fsf@gmail.com> (raw)
In-Reply-To: <87a6kxippt.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 31 Aug 2021 11:44:14 -0400")

Hi,

Adding yet another backtrace of that problem, that was triggered while
running './pre-inst-env guix build python-astroquery@0.4.6 vorta@0.8.7
cura@4.13.1 komikku@1.2.0 jrnl@1.9.7 pantalaimon@0.10.5
python-harmony@0.7.1 caja-extensions@1.24.1 gourmet@0.17.4-0.8af29c8
python-swiftclient@4.0.1 dbxfs@1.0.63 orange@3.32.0 linuxdcpp@1.1.0
ikiwiki@3.20200202.3 breezy@3.2.2 python-nanopb@0.4.6.4
openconnect-sso@0.7.3 qtile@0.18.1' with python-keyring having been
modified:

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 7b7aac6201..def347c06d 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages python-crypto)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix build-system cargo)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
   #:use-module (gnu packages)
@@ -326,29 +327,34 @@ (define-public python-kerberos
 (define-public python-keyring
   (package
     (name "python-keyring")
-    (version "22.0.1")
+    (version "23.9.3")
     (source
      (origin
-      (method url-fetch)
-      (uri (pypi-uri "keyring" version))
-      (sha256
-       (base32
-        "1pvqc6may03did0iz98gasg7cy4h8ljzs4ibh927bfzda8a3xjws"))))
-    (build-system python-build-system)
+       (method url-fetch)
+       (uri (pypi-uri "keyring" version))
+       (sha256
+        (base32
+         "19f4jpsxng9sjfqi8ww5hgg196r2zh1zb8g71wjr1xa27kc1vc39"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv" "-c" "/dev/null" "tests")))))))
+     (list
+      #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'workaround-test-failure
+            (lambda _
+              ;; Workaround a failure in the test_entry_point test (see:
+              ;; https://github.com/jaraco/keyring/issues/526).
+              (delete-file-recursively "keyring.egg-info"))))))
     (native-inputs
      (list python-toml
            python-pytest
            python-setuptools
            python-setuptools-scm))
     (propagated-inputs
-     (list python-secretstorage))
+     (list python-importlib-metadata
+           python-jaraco-classes
+           python-secretstorage))
     (home-page "https://github.com/jaraco/keyring")
     (synopsis "Store and access your passwords safely")
     (description
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
Backtrace:
In guix/store.scm:
   1300:8 19 (call-with-build-handler _ _)
   1300:8 18 (call-with-build-handler #<procedure 7faf27904f90 at guix/ui.scm:1171:2 (continue store …> …)
In guix/ui.scm:
    462:3 17 (_)
In ice-9/boot-9.scm:
  1747:15 16 (with-exception-handler #<procedure 7faf18957540 at ice-9/boot-9.scm:1831:7 (exn)> _ # _ # …)
  1752:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/ui.scm:
    449:6 14 (_)
In guix/scripts/build.scm:
    714:5 13 (_)
In srfi/srfi-1.scm:
   673:15 12 (append-map _ _ . _)
   586:17 11 (map1 ("x86_64-linux"))
In guix/scripts/build.scm:
   716:21 10 (_ _)
In guix/store.scm:
   1403:5  9 (map/accumulate-builds #<store-connection 256.99 7faf2a3e70f0> #<procedure 7faf263dd2d0 …> …)
  1419:15  8 (_ #<store-connection 256.99 7faf2a3e70f0> _ _)
   739:14  7 (process-stderr _ _)
In unknown file:
           6 (display "@ substituter-succeeded /gnu/store/wjbisajny3c9pwj4crqyq3yd77gf2pfl-qtdeclarat…" …)
In guix/status.scm:
   733:16  5 (write! _ _ _)
   645:15  4 (_ (download-succeeded "/gnu/store/qwds28f6pqq5aaw90678v9qzfj6qiivq-texlive-amsf@" "s…" …) …)
   272:33  3 (compute-status _ #<<build-status> building: (#<<build> derivation: "/gnu/store/xc34bvzi…> …)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




      reply	other threads:[~2022-11-01 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  2:44 bug#49862: While downloading substitutes: Wrong type argument in position 1 (expecting struct): #f Maxim Cournoyer
2021-08-04  8:39 ` Ludovic Courtès
2021-08-31 15:44 ` Maxim Cournoyer
2022-11-01 15:36   ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iljyd6ud.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=49862@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).