Subject: [bug#69178] [PATCH] gnu: libcamera: Disable failing file test on aarch64.

From: Roman Scherer <[email-masked]>
Date: Sun, 18 Feb 2024 18:52:57 +0100

* gnu/packages/networking.scm (libcamera): Disable failing file test on aarch64.

Change-Id: Ie3b98a3610df78def46196c05fa823f0cd878926
---
 gnu/packages/networking.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9b472500bc..9697e3fd5b 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -397,13 +397,17 @@ (define-public libcamera
            #:phases
            #~(modify-phases %standard-phases
                #$@(if (target-aarch64?)
-                      ;; The 'log_process' test fails on aarch64-linux with a
-                      ;; SIGinvalid error (see:
-                      ;; https://bugs.libcamera.org/show_bug.cgi?id=173).
                       #~((add-after 'unpack 'disable-problematic-tests
                            (lambda _
+                             ;; The 'log_process' test fails on aarch64-linux with a
+                             ;; SIGinvalid error (see:
+                             ;; https://bugs.libcamera.org/show_bug.cgi?id=173).
                              (substitute* "test/log/meson.build"
                                ((".*'name': 'log_process'.*")
+                                ""))
+                             ;; The 'file' test fails on aarch64-linux with SIGinvalid.
+                             (substitute* "test/meson.build"
+                               ((".*'name': 'file'.*")
                                 "")))))
                       #~())
                (add-after 'install 'move-doc-and-gst

base-commit: 3cf199dbcf85a44fa8370e786e568fc3feb7067c
prerequisite-patch-id: 0250f6d992ee74e81797cb1266771a825226fa0b
prerequisite-patch-id: e03a4f63a64eda0c1f229e0b92d130a9beadefa5
prerequisite-patch-id: 09e6b4e8c70f5eb7996f78194c59245f38d3241b
prerequisite-patch-id: a12882ccf5bbef1edbd1110f128cd107f84a1377
prerequisite-patch-id: 2c83a46f3bcf9d3e153e2543fe9a57e5f33af286
prerequisite-patch-id: 3c1ca4618ff254748694208007768994f8f3f180
prerequisite-patch-id: a73addaa13a85a92272dd21e0edae93f60f7b55c
prerequisite-patch-id: c6c55378dfbf74f5862c5b5609fe7cc3dc4b52d7
-- 
2.41.0