public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcamera] f44: Prefer libdw for backtraces
@ 2026-10-14 12:38 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-14 12:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libcamera
            Branch : f44
            Commit : 9597a652f604a8726376257718f496c4df49d9e2
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-05-25T13:46:29-04:00
            Stats  : +6/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libcamera/c/9597a652f604a8726376257718f496c4df49d9e2?branch=f44

            Log:
            Prefer libdw for backtraces

libdw is preferred by upstream (with libunwind as a fallback), but until
0.7.1 was guarded only by a dependency check.  It now has a feature option,
and those are enabled by default in our macros, leading the build to fail
on ELN where libunwind was disabled (as an unwanted dependency).

https://git.libcamera.org/libcamera/libcamera.git/commit/?id=c6c5a8bc5b90e476cba806cfcccc704ef115d2aa

---
diff --git a/libcamera.spec b/libcamera.spec
index 0e3cf7e..a132940 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,6 @@
 Name:    libcamera
 Version: 0.7.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A library to support complex camera ISPs
 # see .reuse/dep5 and COPYING for details
 License: LGPL-2.1-or-later
@@ -27,12 +27,10 @@ BuildRequires: gnutls-devel
 BuildRequires: pkgconfig(gstreamer-video-1.0)
 BuildRequires: pkgconfig(gstreamer-allocators-1.0)
 BuildRequires: libatomic
+BuildRequires: pkgconfig(libdw)
 BuildRequires: libevent-devel
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libtiff-devel
-%if ! 0%{?rhel}
-BuildRequires: libunwind-devel
-%endif
 BuildRequires: libyaml-devel
 BuildRequires: libyuv-devel
 BuildRequires: lttng-ust-devel
@@ -130,7 +128,7 @@ export CXXFLAGS="%{optflags} -Wno-deprecated-declarations --param=max-devirt-tar
 %meson \
     -Dv4l2=enabled \
     -Dlc-compliance=disabled \
-    %{?rhel:-Dlibunwind=disabled} \
+    -Dlibunwind=disabled \
     -Dtest=true \
     -Ddocumentation=disabled \
     -Drpi-awb-nn=disabled \
@@ -201,6 +199,9 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
 %{python3_sitearch}/*
 
 %changelog
+* Mon May 18 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.7.1-2
+- Use libdw for backtraces
+
 * Fri May 01 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-1
 - Update to version 0.7.1
 - New libcamera-bug-report utility added to tools

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-14 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 12:38 [rpms/libcamera] f44: Prefer libdw for backtraces Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox