Bug 1924665
Summary: | Unexpected shifting elfdepargs --filter-private | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Xiaofeng <wasphin> | |
Component: | rpm-mpi-hooks | Assignee: | Honggang LI <honli> | |
Status: | CLOSED ERRATA | QA Contact: | zguo <zguo> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.2 | CC: | cwei, jwboyer, linville, rdma-dev-team, zguo | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.5 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | rpm-mpi-hooks-8-2.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1930096 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 19:41:27 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Bug Depends On: | ||||
Bug Blocks: | 1930096 |
Description
Xiaofeng
2021-02-03 12:12:50 UTC
I can't trigger the error. Please provide a reproducer for me. Thanks [root@ incubator-brpc (master)]$ cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 Beta (Ootpa) [root@ incubator-brpc (master)]$ rpm -qa | grep mpi openmpi-devel-4.0.5-3.el8.x86_64 protobuf-compiler-3.5.0-13.el8.x86_64 compiler-rt-11.0.0-1.module+el8.4.0+8598+a071fcd5.x86_64 rpm-mpi-hooks-5-4.el8.noarch openmpi-4.0.5-3.el8.x86_64 $ git clone https://github.com/apache/incubator-brpc.git $ git archive --format=tar --prefix=incubator-brpc-0.9.7/ HEAD | gzip > /root/rpmbuild/SOURCES/incubator-brpc-0.9.7.tar.gz $ rpmbuild -ba package/rpm/brpc.spec 2>&1 | tee log ...... Recommends: brpc-debugsource(x86-64) = 0.9.7-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/brpc-0.9.7-1.el8.x86_64 Wrote: /root/rpmbuild/SRPMS/brpc-0.9.7-1.el8.src.rpm Wrote: /root/rpmbuild/RPMS/x86_64/brpc-0.9.7-1.el8.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/brpc-devel-0.9.7-1.el8.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/brpc-static-0.9.7-1.el8.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/brpc-debugsource-0.9.7-1.el8.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/brpc-debuginfo-0.9.7-1.el8.x86_64.rpm Hi Honggang, Thanks for the attention. The problem is not cannot generate the RPMs, but the GLIBC_PRIVATE cannot be filtered out, does your building show the GLIBC_PRIVATE Requires like below? Requires: ... libc.so.6(GLIBC_PRIVATE)(64bit) ... If no, I will try to reproduce it in a mock or fresh environment. Thanks. And I have upgraded the os to 8.3, the same problem. $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.3 (Ootpa) Hi, Here are the steps to reproduce the problem: 1. git clone https://github.com/apache/incubator-brpc.git && cd incubator-brpc 2. git archive --format=tar --prefix=incubator-brpc-0.9.7/ HEAD | gzip > /root/rpmbuild/SOURCES/incubator-brpc-0.9.7.tar.gz 3. add BuildRequires cmake and rpm-mpi-hooks(to reproduce problem only) to the spec file package/rpm/brpc.spec; ``` BuildRequires: cmake BuildRequires: rpm-mpi-hooks ``` 4. rpmbuild -bs package/rpm/brpc.spec 5. mock -r rhelepel-8-x86_64 /root/rpmbuild/SRPMS/brpc-0.9.7-1.el8.src.rpm And here are parts of the outputs: ``` ...... Processing files: brpc-0.9.7-1.el8.x86_64 Provides: brpc = 0.9.7-1.el8 brpc(x86-64) = 0.9.7-1.el8 libbrpc.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_PRIVATE)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgflags.so.2.1()(64bit) libleveldb.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libprotobuf.so.15()(64bit) libprotoc.so.15()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: brpc-devel-0.9.7-1.el8.x86_64 Provides: brpc-devel = 0.9.7-1.el8 brpc-devel(x86-64) = 0.9.7-1.el8 pkgconfig(brpc) = 0.9.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Processing files: brpc-static-0.9.7-1.el8.x86_64 Provides: brpc-static = 0.9.7-1.el8 brpc-static(x86-64) = 0.9.7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: brpc-debugsource-0.9.7-1.el8.x86_64 Provides: brpc-debugsource = 0.9.7-1.el8 brpc-debugsource(x86-64) = 0.9.7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: brpc-debuginfo-0.9.7-1.el8.x86_64 Provides: brpc-debuginfo = 0.9.7-1.el8 brpc-debuginfo(x86-64) = 0.9.7-1.el8 debuginfo(build-id) = 57ad6b8b7e90f007528be01fbae9e8d096090fcb Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: brpc-debugsource(x86-64) = 0.9.7-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/brpc-0.9.7-1.el8.x86_64 Wrote: /builddir/build/RPMS/brpc-0.9.7-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/brpc-devel-0.9.7-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/brpc-static-0.9.7-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/brpc-debugsource-0.9.7-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/brpc-debuginfo-0.9.7-1.el8.x86_64.rpm ...... ``` libc.so.6(GLIBC_PRIVATE)(64bit) is not filter out as expected. Thanks. This issue can be reproduced with latest fedora rpm-mpi-hooks build. So, I clone it for Fedora rawhide. If the patch is right, I will backport it for RHEL once it merged into Fedora. https://bugzilla.redhat.com/show_bug.cgi?id=1930096#c1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RDMA stack bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4412 |