GNU bug report logs -
#70079
[PATCH] gnu: libjxl: Fix building on riscv64-linux.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70079 in the body.
You can then email your comments to 70079 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#70079
; Package
guix-patches
.
(Fri, 29 Mar 2024 17:03:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 29 Mar 2024 17:03:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/image.scm (libjxl)
[arguments]: When target riscv64, add 'add-miss-atomic-include phase.
Change-Id: I554ae8d9d9bd982e7eb63ad4ecae176d2ba2372b
---
gnu/packages/image.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 6accf68ef0..35ee12d8f3 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -35,7 +35,7 @@
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
;;; Copyright © 2022 ( <paren <at> disroot.org>
;;; Copyright © 2022-2023 Bruno Victal <mirai <at> makinata.eu>
-;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
;;; Copyright © 2023-2024 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
;;; Copyright © 2024 chris <chris <at> bumblehead.com>
@@ -2606,7 +2606,17 @@ (define-public libjxl
"-DJPEGXL_FORCE_SYSTEM_BROTLI=true"
"-DJPEGXL_FORCE_SYSTEM_LCMS2=true"
"-DJPEGXL_FORCE_SYSTEM_HWY=true"
- "-DJPEGXL_BUNDLE_LIBPNG=false")))
+ "-DJPEGXL_BUNDLE_LIBPNG=false")
+ ;; see https://github.com/libjxl/libjxl/pull/2211
+ ,@(if (target-riscv64?)
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'add-miss-atomic-include
+ (lambda _
+ (substitute* "lib/jxl/enc_xyb.cc"
+ (("<algorithm>")
+ "<algorithm>\n#include <atomic>"))))))
+ '())))
(native-inputs
(list asciidoc doxygen googletest pkg-config python))
(inputs
base-commit: 37d31495c1c3c38d1b74e0c5b3ba279c1d99c7d5
--
2.41.0
Reply sent
to
Z572 <873216071 <at> qq.com>
:
You have taken responsibility.
(Fri, 29 Mar 2024 17:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
:
bug acknowledged by developer.
(Fri, 29 Mar 2024 17:27:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 70079-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The same patch was sent before
https://issues.guix.gnu.org/68040
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Apr 2024 11:25:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.