[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/33: Catch and ignore the new cross build derivation errors
From: |
Christopher Baines |
Subject: |
11/33: Catch and ignore the new cross build derivation errors |
Date: |
Wed, 14 Aug 2024 05:01:28 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository data-service.
commit 0ca9c3f64fc7e70d983a5eac8cc8e58b1309ea03
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jul 18 13:58:21 2024 +0100
Catch and ignore the new cross build derivation errors
---
guix-data-service/jobs/load-new-guix-revision.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm
b/guix-data-service/jobs/load-new-guix-revision.scm
index 7945a19..672577f 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -473,6 +473,10 @@
'misc-error
(lambda ()
(guard (c ((package-cross-build-system-error? c)
+ #f)
+ ((package-unsupported-target-error? c)
+ #f)
+ ((unsupported-cross-compilation-target-error? c)
#f))
(let ((derivation
(if target
@@ -579,6 +583,17 @@
(use-modules (guix platform)))
inf)
+ (unless (inferior-eval
+ '(defined? 'package-unsupported-target-error?
+ (resolve-module '(guix packages)))
+ inf)
+ (inferior-eval
+ '(define package-unsupported-target-error? (const #f))
+ inf)
+ (inferior-eval
+ '(define unsupported-cross-compilation-target-error? (const #f))
+ inf))
+
(format (current-error-port)
"heap size: ~a MiB~%"
(round
- 04/33: Stop inserting missing source file nars, (continued)
- 04/33: Stop inserting missing source file nars, Christopher Baines, 2024/08/14
- 13/33: Return two values from channel->source-and-derivations-by-system, Christopher Baines, 2024/08/14
- 16/33: Rewrite the key parts of loading data to be even more parallel, Christopher Baines, 2024/08/14
- 18/33: Compute package derivations in chunks, Christopher Baines, 2024/08/14
- 01/33: Remove the statistics page, Christopher Baines, 2024/08/14
- 03/33: Try and speed up large package derivation comparisions, Christopher Baines, 2024/08/14
- 09/33: Re-work the fibers scheduling, Christopher Baines, 2024/08/14
- 12/33: Avoid long running store connections, Christopher Baines, 2024/08/14
- 15/33: Add more fibers utilities, Christopher Baines, 2024/08/14
- 07/33: Stream the package derivation page since it can be large, Christopher Baines, 2024/08/14
- 11/33: Catch and ignore the new cross build derivation errors,
Christopher Baines <=
- 19/33: Add worker thread utils, Christopher Baines, 2024/08/14
- 14/33: Insert package derivations earlier, Christopher Baines, 2024/08/14
- 26/33: Move inserting derivations in to the load-new-guix-revision module, Christopher Baines, 2024/08/14
- 21/33: Update tests, Christopher Baines, 2024/08/14
- 05/33: Log more timing infromation about inserting derivations, Christopher Baines, 2024/08/14
- 06/33: Add more time logging in to insert-missing-derivations, Christopher Baines, 2024/08/14
- 27/33: Get the test suite working again, Christopher Baines, 2024/08/14
- 20/33: Try using 2 threads for the server, Christopher Baines, 2024/08/14
- 22/33: Tweak timeouts in resource-pool-stats, Christopher Baines, 2024/08/14
- 24/33: Stream the render-revision-package-derivations JSON response, Christopher Baines, 2024/08/14