gnu: libcamera: Disable log_process test on aarch64.

* gnu/packages/networking.scm (libcamera) [arguments]
[aarch64]: Add disable-problematic-tests phase.
This commit is contained in:
Maxim Cournoyer 2023-09-17 20:23:06 -04:00
parent 8d6838dfcd
commit ff11cbc2e9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -391,7 +391,7 @@ (define-public libcamera
(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 @@ (define-public libcamera
"-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"))