public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/unixODBC] rawhide: odbcinst-generate - add Requires(post): coreutils
Date: Tue, 11 Aug 2026 06:22:34 GMT	[thread overview]
Message-ID: <178642935470.1.14089938697027481253.rpms-unixODBC-90851958cc38@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-11  6:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178642935470.1.14089938697027481253.rpms-unixODBC-90851958cc38@fedoraproject.org \
    --to=awilliam@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox