public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/unixODBC] rawhide: odbcinst-generate - add Requires(post): coreutils
@ 2026-08-11 6:22 Adam Williamson
0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-08-11 6:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/unixODBC
Branch : rawhide
Commit : 90851958cc3802c44a8decfc9442a1ffbb4da54f
Author : Adam Williamson <awilliam@redhat.com>
Date : 2026-08-07T09:02:01-07:00
Stats : +1/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/unixODBC/c/90851958cc3802c44a8decfc9442a1ffbb4da54f?branch=rawhide
Log:
odbcinst-generate - add Requires(post): coreutils
odbcinst-generate uses multiple commands from coreutils, and we
run it in %post of the package called odbcinst-generate, but the
package did not Requires(post): coreutils. It has few/no other
deps so can actually get ordered before coreutils in a system
install or image build transaction, causing the scriptlet to fail:
DEBUG util.py:461: [280/788] Installing odbcinst-generate- 100% | 623.3 KiB/s | 23.7 KiB | 00m00s
DEBUG util.py:461: >>> Running %post scriptlet: odbcinst-generate-0:2.3.14-11.fc45.noarch
DEBUG util.py:461: >>> Non-critical error in %post scriptlet: odbcinst-generate-0:2.3.14-11.fc45.noarch
DEBUG util.py:461: >>> Scriptlet output:
DEBUG util.py:461: >>> /sbin/odbcinst-generate: line 26: mktemp: command not found
DEBUG util.py:461: >>>
DEBUG util.py:461: >>> [RPM] %post(odbcinst-generate-2.3.14-11.fc45.noarch) scriptlet failed, exit status 127
...
DEBUG util.py:461: [289/788] Installing coreutils-0:9.11-6 100% | 73.1 MiB/s | 5.9 MiB | 00m00s
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
diff --git a/unixODBC.spec b/unixODBC.spec
index 47b6cfa..10debf1 100644
--- a/unixODBC.spec
+++ b/unixODBC.spec
@@ -43,6 +43,7 @@ a MySQL or MariaDB database, and/or the postgresql-odbc package for PostgreSQL.
%package -n odbcinst-generate
Summary: Drop-in snippet generator for ODBC driver registration
BuildArch: noarch
+Requires(post): coreutils
%description -n odbcinst-generate
Assembles /etc/odbcinst.ini from per-driver drop-in snippets shipped by
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 6:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 6:22 [rpms/unixODBC] rawhide: odbcinst-generate - add Requires(post): coreutils Adam Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox