summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-17 20:23:06 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-10-16 11:16:01 -0400
commitff11cbc2e9589bcb98eb9cad1704b4b991d6f20e (patch)
tree77549958543632dd5c2ab6a2b96ec0ee4aaa4327 /gnu
parent8d6838dfcdff7b5973a025a17b190636e5c105e7 (diff)
gnu: libcamera: Disable log_process test on aarch64.
* gnu/packages/networking.scm (libcamera) [arguments] [aarch64]: Add disable-problematic-tests phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0a9472ee86..7a29bafb01 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -391,7 +391,7 @@ them in order to efficiently transfer a minimal amount of data.")
(build-system meson-build-system)
(outputs '("out" "doc" "gst" "tools"))
(arguments
- (list #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ (list #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:configure-flags
#~(list (string-append "-Dbindir="
(assoc-ref %outputs "tools") "/bin")
@@ -400,6 +400,16 @@ them in order to efficiently transfer a minimal amount of data.")
"-Dpycamera=disabled")
#: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 _
+ (substitute* "test/log/meson.build"
+ ((".*'name': 'log_process'.*")
+ "")))))
+ #~())
(add-after 'install 'move-doc-and-gst
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))