pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59593: pkgsrc-2025Q2 graphics/libjxl fails to build on NetBSD/i386 10.1



>Number:         59593
>Category:       pkg
>Synopsis:       pkgsrc-2025Q2 graphics/libjxl fails to build on NetBSD/i386 10.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 13 01:30:01 +0000 2025
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.1 + pkgsrc-2025Q2
>Organization:
>Environment:
System: NetBSD mirage 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkgsrc-2025Q2 graphics/libjxl fails to build on NetBSD/i386 10.1
(then also fails to build graphics/gimp due to dependencies).

>How-To-Repeat:
https://releng.netbsd.org/pkgreports/shadow/2025Q2/NetBSD-10.0-i386/20250805.0724/libjxl-0.11.1nb3/configure.log

```
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Failed
-- Performing Test ATOMICS_IN_LIBRARY
-- Performing Test ATOMICS_IN_LIBRARY - Failed
CMake Error at cmake/FindAtomics.cmake:49 (message):
  Neither lock free instructions nor -latomic found.
Call Stack (most recent call first):
  CMakeLists.txt:262 (find_package)
```

>Fix:
It looks including <mk/atomic64.mk> is enough.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/libjxl/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile	7 May 2025 17:53:41 -0000	1.7
+++ Makefile	13 Aug 2025 01:23:28 -0000
@@ -31,6 +31,7 @@ PKGCONFIG_OVERRIDE+=	lib/jxl/libjxl.pc.i
 PKGCONFIG_OVERRIDE+=	lib/jxl/libjxl_cms.pc.in
 PKGCONFIG_OVERRIDE+=	lib/threads/libjxl_threads.pc.in
 
+.include "../../mk/atomic64.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../archivers/brotli/buildlink3.mk"
 .include "../../graphics/libavif/buildlink3.mk"

---



Home | Main Index | Thread Index | Old Index