Accepting request 1083214 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1083214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2023-04-28 14:22:36 +00:00 committed by Git OBS Bridge
commit 2eb83bfa04
8 changed files with 790 additions and 434 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
size 203749

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAmC/RjMACgkQbDjKyiDZ
s5LTeQ//ehD7D4pnPSEq4fIRwsXAmI8hWRQvIpV/ftM93mYUrZsLoQsrs4Uc9W+m
totilZdLSc8im5ynkELxbmj792w6O88cIwrQpg7An0oiSVEVh7UISQwrCG6TgyOh
T4kn28+4UZfjO3GR5Tzo2uagsgRu8F5a3CavkjqUKFRa98NyybTpoYfkmeVKJHl6
f6ZBw5XcKL5FC8vdBlSJc1xvEK1HJHFpOv/idB2TeJAykF0fyeynoS3xfUzf4Y45
9kvG3gXgQM7u4JtcAV7+ohp/N7kzQd93PkbU54CW02SqTsI6PBxrObAL5ucfGl7P
92x2ztXdPg6EPirw7+z6pqLyvWBVJrMcWk/R3VY8AeGnufRHBQyHdVm5m4zfkDRf
t41Yb2+3OT4TncW6O/JQiiXD4IczD98H4Mjy62ORPxJ2CrZdq96w9MmOt6Ufi2qy
5feWoBkWu51QnPF//xQWkfNptaDj/1UDZoFXjq8at3GRsYrtJkhWuIdy92FKVMSu
81fwsX/l+ThMKvgw451M+Zmdpcv86ZkTWi5dG+GoWzb5WEksIezKAeIwiNJOwPUK
uENtx4R4Vg8tOyDRYzJ/qjn1PGZeYgM8ce2v806wHsOuBXuWF5F78LCTLr5CxJ0L
skwN7rKK4ylvClPSS2CW4YMC3PWA5p3CPD/IbE5zQ4cyBloewck=
=EQ3K
-----END PGP SIGNATURE-----

BIN
dtc-1.7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

16
dtc-1.7.0.tar.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmP7EOQACgkQzQJF27ox
2GcU3RAAixXFsHnx8a2CENeoa/prw3qI7pUpw3YVqEHRAZHsHy3GCQr3cxL8hZOq
W21ZfqI6vueVloRI/+qP4yv7aozzv/40jLGAvHY+Mh83BOjjBkxyHeQxRPo/LfV8
CMfh157Cvt/2lWF39csqVoid5P+qF8RahaZiRObiMpuillrFCxS20N2WZW4PmbO+
fSwW1FWnlWGgPK17K15m2YKJaxIy0UijlW/gAVVHWU4tEQjGvvkOlEyB2brJbUO8
ObjfoczMCNdDbsb0aFw019J878BfgKLBqEe2q96k+E77O3PDDJ8zag15JWFC7rYK
tKhy0KFHoV3DNBupViGuTzn5hAs4OUZmTfmiaW7+dum+EUY5KGJDdDP4gjbOTl8N
a27I2Q9ycP9+YXlcFzEHnrSR2k04Wcmx3LSlSo2/qZZo8Z2wy/sCLwodFg6EWRNw
nBEW5SfBQZGVjdO9EX3/YmEhIJqR74+QeHSj4JnlesIIpdcoXK0305S0VgolDLTV
63TDrXTlBAkW0nS4JGv+hKJYMdL9TcxL61CchAYXxxO2xRPw9iiXawa4AdIESllq
fzs0ytyF3nbyNBrrlt9H2YveDvGaJBoAIp8phZqYkdeZJKLS+JtgWz3SA9rLGTQO
M7ZPCJe1s4lDIXq9MqOdBFUx1t9WN6Xld39bjNKCZNVv2pruBy8=
=Kv5g
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue Apr 25 08:42:48 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- update to 1.7.0:
* dtc
* Fix -Oasm output on PA-RISC by avoiding ';' separators
* Put symbolic label references in -Odts output when possible
* Add label relative path references
* Don't incorrectly attempt to create fixups for reference to path
in overlays
* Warning rather than hard error if integer expression results are
truncated due to cell size
* libfdt
* Add fdt_get_property_by_offset_w() function
* pylibfdt
* Fixed to work with Python 3.10
* A number of extra methods
* Fix out of tree build
* fdtget
* Add raw bytes output mode
* General
* Fixes for mixed-signedness comparison warnings
* Assorted other warning fixes
* Assorted updates to checks
* Assorted bugfixes
* Fix scripts to work with dash as well as bash
* Allow static builds
* Formalize Signed-off-by usage
- Update dtc.keyring
- Drop upstream patch:
* makefile-bison-rule.patch
-------------------------------------------------------------------
Mon Sep 26 07:37:52 UTC 2022 - Andreas Schwab <schwab@suse.de>

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
#
# spec file for package dtc
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 1
Name: dtc
Version: 1.6.1
Version: 1.7.0
Release: 0
Summary: Device-tree compiler
License: GPL-2.0-or-later
@ -26,8 +26,8 @@ URL: https://github.com/dgibson/dtc
Source0: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.gz
Source1: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.sign
Source20: baselibs.conf
# From http://gibson.dropbear.id.au/
Source21: dtc.keyring
Patch0: makefile-bison-rule.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: libyaml-devel
@ -60,7 +60,6 @@ This package provides development files for libfdt
%prep
%setup -q
%patch0 -p1
%build
%make_build EXTRA_CFLAGS="%{optflags} -pie" LDFLAGS="%{optflags}"

View File

@ -1,50 +0,0 @@
From 98a07006c48dc0bc3f42b3b3ce75b7f03e87e724 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyich@gmail.com>
Date: Sun, 25 Sep 2022 11:42:03 +0100
Subject: [PATCH] Makefile: fix infinite recursion by dropping non-existent
`%.output`
Without the change GNU `make-4.4` falls into infinite recursion of trying
to generate %.output files (bison is not passed flags to generate debug
output).
This happens on GNU `make-4.4` only after GNU make change to more eagerly
rebuild all target outputs in multiple targets:
https://savannah.gnu.org/bugs/index.php?63098
The recursion here is the following:
- Makefile depends on *.d files
- *.d files depend on *.c files
- *.c files are generated by bison
- bison is triggered whenever some of it's multiple targets are missing
In our case `%.output` is always missing and bison is always reran.
*.d files are always regenerated on `make` run. And make is always
restarted as *.d files are always regenerated.
The fix removes infeasible `%.output`.
Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Message-Id: <20220925104203.648449-2-slyich@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e7a0dcb..d4e7551 100644
--- a/Makefile
+++ b/Makefile
@@ -384,7 +384,7 @@ clean: libfdt_clean pylibfdt_clean tests_clean
@$(VECHO) LEX $@
$(LEX) -o$@ $<
-%.tab.c %.tab.h %.output: %.y
+%.tab.c %.tab.h: %.y
@$(VECHO) BISON $@
$(BISON) -b $(basename $(basename $@)) -d $<
--
2.37.3