[..]
RPM build errors:
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chfn.1*
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chsh.1*
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chfn
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chsh
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/chfn
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/chsh
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chfn.1*
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chsh.1*
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chfn
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chsh
[..]
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
[..]
RPM build errors:
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/su
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/login
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/login.1*
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/runuser.1*
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/su.1*
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/sbin/runuser
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/runuser
File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/su
[..]
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
[..]
configure: error: chfn_chsh selected, but required PAM header file not available
error: Bad exit status from /var/tmp/rpm-tmp.0q4kRg (%build)
Bad exit status from /var/tmp/rpm-tmp.0q4kRg (%build)
RPM build errors:
[..]
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
It was created unconditionally in %post, so the original contents (if
any) were overwritten. Listing is as %config was just misleading.
Let's simply list the symlink as normal contents in the rpm, so that
rpm can install the symlink for us.
(The scriplet was missing a dependency on coreutils for ln, but let's
not add that if we can drop the whole thing.)
[kzak@redhat.com: - add %changelog entry]
The package fails to install in Rawhide at the moment with:
DEBUG util.py:444: Error:
DEBUG util.py:444: Problem: package util-linux-2.37-2.fc35.x86_64 requires util-linux-core = 2.37-2.fc35, but none of the providers can be installed
DEBUG util.py:444: - conflicting requests
DEBUG util.py:444: - nothing provides libpcre2-posix.so.2()(64bit) needed by util-linux-core-2.37-2.fc35.x86_64
This is my attempt to see if I can fix this with a simple rebuild. If
not I will file a bug.