* Fri Jun 28 2024 Miroslav Rezanina <mrezanin@redhat.com> - 1.7.0-10
- Fix missing dynamic tags for aarch64 python3 pylibfdt - Resolves: RHEL-33493 (Annocheck FAIL: bind-now (dtc))
This commit is contained in:
parent
173b87c298
commit
ef4e419130
@ -0,0 +1,33 @@
|
|||||||
|
From c2f48c8694e77d619b1497daa8e6fd2bd3a78c9b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Miroslav Rezanina <mrezanin@redhat.com>
|
||||||
|
Date: Fri, 28 Jun 2024 02:51:00 -0400
|
||||||
|
Subject: [PATCH] pylibfdt/Makefile.pylibfdt: Use CFLAGS when building module
|
||||||
|
|
||||||
|
Building python module do not use CLFAGS properly and so produced
|
||||||
|
files are missing some flags.
|
||||||
|
|
||||||
|
Adding explicit setting of CFLAGS environment variable to ensure
|
||||||
|
all flags are used. We just need to disable Werror flag that is causing
|
||||||
|
build to fiail.
|
||||||
|
|
||||||
|
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||||
|
---
|
||||||
|
pylibfdt/Makefile.pylibfdt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
|
||||||
|
index 82f565e..992ef6a 100644
|
||||||
|
--- a/pylibfdt/Makefile.pylibfdt
|
||||||
|
+++ b/pylibfdt/Makefile.pylibfdt
|
||||||
|
@@ -17,7 +17,7 @@ endif
|
||||||
|
|
||||||
|
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
|
||||||
|
@$(VECHO) PYMOD $@
|
||||||
|
- $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=$(PYLIBFDT_dir)
|
||||||
|
+ CFLAGS="$(CFLAGS) -Wno-error" $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext
|
||||||
|
|
||||||
|
install_pylibfdt: $(PYMODULE)
|
||||||
|
@$(VECHO) INSTALL-PYLIB
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
9
dtc.spec
9
dtc.spec
@ -8,13 +8,15 @@
|
|||||||
|
|
||||||
Name: dtc
|
Name: dtc
|
||||||
Version: 1.7.0
|
Version: 1.7.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Device Tree Compiler
|
Summary: Device Tree Compiler
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://devicetree.org/
|
URL: https://devicetree.org/
|
||||||
|
|
||||||
Source0: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
|
Source0: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
Patch1: 0001-pylibfdt-Makefile.pylibfdt-Use-CFLAGS-when-building-.patch
|
||||||
|
|
||||||
BuildRequires: gcc make
|
BuildRequires: gcc make
|
||||||
BuildRequires: flex bison swig
|
BuildRequires: flex bison swig
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -184,6 +186,11 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 28 2024 Miroslav Rezanina <mrezanin@redhat.com> - 1.7.0-10
|
||||||
|
- Fix missing dynamic tags for aarch64 python3 pylibfdt
|
||||||
|
- Resolves: RHEL-33493
|
||||||
|
(Annocheck FAIL: bind-now (dtc))
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.7.0-9
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.7.0-9
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user