-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
centos 8 stream + "scl enable gcc-toolset-10 bash" + "make rpms" = brokern rpmDB or hand rpmbuild #12168
Comments
Sounds like #12071 to me; I recommend some combination of "don't rpmbuild as root" and "get your distro to pull the fix mentioned in the redhat bug linked in there". |
yes. in non root user all is ok |
Okay, since I couldn't seem to convince anyone to report it to someone who could fix it, I've gone and done it, and hopefully it'll trickle out to everyone else if they fix it (and if they don't, then I learned something about CentOS.) (I know you could be using OEL or RHEL or some other distaff cousin I've not thought of, I just figured it would probably flow out if I got it fixed in one place, plus CentOS is what I have access to.) |
Having an old enough version of "file" and no "uncompress" program installed can cause rpmbuild as root to crash and mangle rpmdb. So let's check for uncompress and the version of file, and if the latter is too old and the former is absent, refuse to build rpm targets. Closes: openzfs#12071 Closes: openzfs#12168 Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Having an old enough version of "file" and no "uncompress" program installed can cause rpmbuild as root to crash and mangle rpmdb. So let's add a build dependency for RPM-based systems. Closes: openzfs#12071 Closes: openzfs#12168 Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Having an old enough version of "file" and no "uncompress" program installed can cause rpmbuild as root to crash and mangle rpmdb. So let's add a build dependency for RPM-based systems. Closes: openzfs#12071 Closes: openzfs#12168 Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Having an old enough version of "file" and no "uncompress" program installed can cause rpmbuild as root to crash and mangle rpmdb. So let's add a build dependency for RPM-based systems. Closes: openzfs#12071 Closes: openzfs#12168 Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Having an old enough version of "file" and no "uncompress" program installed can cause rpmbuild as root to crash and mangle rpmdb. So let's add a build dependency for RPM-based systems. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes: #12071 Closes: #12168
subject. rpmdb may be fixed by
rpmdb --rebuilddb
The text was updated successfully, but these errors were encountered: