GNU bug report logs - #68189
Command 'guix lint somepackage' fails on new years day

Previous Next

Package: guix;

Reported by: Ahmad Draidi <a.r.draidi <at> redscript.org>

Date: Mon, 1 Jan 2024 07:27:01 UTC

Severity: normal

To reply to this bug, email your comments to 68189 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#68189; Package guix. (Mon, 01 Jan 2024 07:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ahmad Draidi <a.r.draidi <at> redscript.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 01 Jan 2024 07:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ahmad Draidi <a.r.draidi <at> redscript.org>
To: bug-guix <at> gnu.org
Subject: Command 'guix lint somepackage' fails on new years day
Date: Mon, 1 Jan 2024 11:26:19 +0400
Hello Guix!


Running 'guix lint somepackage' fails on new years day with the below 
backtrace. It seems like it's trying to download the CVE database for 
2024, which doesn't exist yet.

==== Backtrace ====

user <at> PC ~/Devel/Scheme/Guix/guix [env]$ ./pre-inst-env guix lint durden
;;; note: source file 
/home/user/Devel/Scheme/Guix/guix/gnu/packages/arcan.scm
;;;       newer than compiled 
/home/user/Devel/Scheme/Guix/guix/gnu/packages/arcan.go
checking durden <at> 0.6.1-1.a8938b9 [source]...
Backtrace:urden <at> 0.6.1-1.a8938b9 [cve]...
In ice-9/boot-9.scm:
    724:2 19 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 18 (_ #(#(#<directory (guile-user) 7f8f4e5fcc80>)))
In guix/ui.scm:
   2324:7 17 (run-guix . _)
  2287:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   661:37 13 (thunk)
In srfi/srfi-1.scm:
    634:9 12 (for-each #<procedure 7f8f2f135180 at guix/scripts/lin?> ?)
In guix/scripts/lint.scm:
     65:4 11 (run-checkers _ _ #:store _)
In srfi/srfi-1.scm:
    634:9 10 (for-each #<procedure 7f8f2f12e780 at guix/scripts/lin?> ?)
In guix/scripts/lint.scm:
    74:21  9 (_ _)
In guix/lint.scm:
   1547:4  8 (check-vulnerabilities #<package durden <at> 0.6.1-1.a8938b?> ?)
  1536:10  7 (_ _)
In unknown file:
           6 (force #<promise #<procedure 7f8f43960138 at guix/lint.?>)
In guix/lint.scm:
   1519:2  5 (_)
    877:2  4 (call-with-networking-fail-safe _ _ _)
In ice-9/boot-9.scm:
  1752:10  3 (with-exception-handler _ _ #:unwind? _ # _)
  1685:16  2 (raise-exception _ #:continuable? _)
  1683:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
  1. &http-get-error:
      uri: #<<uri> scheme: https userinfo: #f host: "nvd.nist.gov" 
port: #f path: "/feeds/json/cve/1.1/nvdcve-1.1-2024.json.gz" query: #f 
fragment: #f>
      code: 404
      reason: "Not Found"
      headers: ((x-frame-options . "SAMEORIGIN") 
(content-security-policy . "frame-ancestors 'self'") (date . #<date 
nanosecond: 0 second: 2 minute: 10 hour: 6 day: 1 month: 1 year: 2024 
zone-offset: 0>) (content-length . 0) (strict-transport-security . 
"max-age=31536000") (connection close))
  2. &message: 
"https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-2024.json.gz: HTTP 
download failed: 404 (\"Not Found\")"
user <at> PC ~/Devel/Scheme/Guix/guix [env]$

==== Backtrace End ====





Information forwarded to bug-guix <at> gnu.org:
bug#68189; Package guix. (Fri, 07 Mar 2025 22:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 68189 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: 76810 <at> debbugs.gnu.org, 68189 <at> debbugs.gnu.org
Subject: Re: bug#76810: guix lint when nvd.nist.gov is down
Date: Fri, 7 Mar 2025 17:17:05 -0500
On Fri, Mar 7, 2025 at 7:58 AM Nicolas Graves <ngraves <at> ngraves.fr> wrote:
>
> Looks like for some reason nvd.nist.gov is down.
> Discovery from that is that it makes it impossible to use one's cache
> even in the case it might be pretty up-to-date :/
> A warning would be better than an error here.

Given the similarity, can we merge #68189 and #76810?




This bug report was last modified 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.