summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-28 09:57:28 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-28 09:57:28 +0000
commitf8552606c6fca0e9f1cb713302d2cdffd61f49f8 (patch)
tree1f56926ec6128a932529bc33364c97b6c82ad33a
parentc19f5739e2f756365b4ea2ef8cb88d1a1361c09e (diff)
automatic import of libopenni2-devopeneuler24.03_LTS_SP3
-rw-r--r--libopenni2-dev.spec23
1 files changed, 22 insertions, 1 deletions
diff --git a/libopenni2-dev.spec b/libopenni2-dev.spec
index 1b34d81..3cc8bdb 100644
--- a/libopenni2-dev.spec
+++ b/libopenni2-dev.spec
@@ -4,10 +4,18 @@
# SSE-free flags so the library and drivers build natively on aarch64.
#
# topdir: libopenni2-dev-2.2.0
+#
+# The upstream Makefile builds Release with -O2 -DNDEBUG and deliberately no
+# -g, so the produced .so files carry no DWARF debug info. mock's
+# find-debuginfo therefore cannot emit any source mapping, leaving
+# debugsourcefiles.list empty, which rpmbuild treats as a hard
+# "Empty %files file" error. Disable the debug/debugsource subpackages:
+# there are no symbols to ship anyway, so nothing useful is lost.
+%define debug_package %{nil}
Name: libopenni2-dev
Version: 2.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: OpenNI 2 framework for 3D sensors (development package)
License: Apache-2.0
@@ -93,6 +101,19 @@ install -p -m 0644 Include/*.h %{buildroot}%{_includedir}/openni2/
%{_includedir}/openni2/
%changelog
+* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-5
+- Disable the debug/debugsource subpackages with %%define debug_package
+ %%{nil}. Build 113193 finally compiled, linked and installed all artefacts
+ (libOpenNI2.so + the four driver plugins + headers) on aarch64, but the
+ build then failed at debuginfo packaging with "error: Empty %%files file
+ .../debugsourcefiles.list". Root cause: the upstream Makefile builds
+ Release with -O2 -DNDEBUG and no -g, so the .so files carry no DWARF
+ symbols (the gdb-add-index stage logged "No debugging symbols" for all
+ five .so files); find-debuginfo can't emit any source mapping, leaving
+ debugsourcefiles.list empty. As there are no symbols to ship anyway,
+ disabling the debug subpackages loses nothing and resolves the hard
+ error. This is a no-op on any other arch / chroot (a global spec macro).
+
* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-4
- Fix aarch64-support.patch: the Include/OniPlatform.h hunk header was
miscounted (@@ -42,6 +42,10 @@ claimed 6 context / 10 total lines but