You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2023/07/24 01:10:06 UTC

[GitHub] [arrow] kou opened a new issue, #36832: [Packaging][RPM] *.rpm have too much dependencies

kou opened a new issue, #36832:
URL: https://github.com/apache/arrow/issues/36832

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   `rpmbuild` generates dependency information based of linked shared libraries automatically.
   
   For example, `arrow12-libs` has the following dependency information:
   
   ```console
   $ rpm -qpR arrow12-libs-12.0.1-1.el8.x86_64.rpm
   brotli
   gflags
   ld-linux-x86-64.so.2()(64bit)
   ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
   libbrotlicommon.so.1()(64bit)
   libbrotlidec.so.1()(64bit)
   libbrotlienc.so.1()(64bit)
   libbz2.so.1()(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.28)(64bit)
   libc.so.6(GLIBC_2.3)(64bit)
   libc.so.6(GLIBC_2.3.2)(64bit)
   libc.so.6(GLIBC_2.3.4)(64bit)
   libc.so.6(GLIBC_2.4)(64bit)
   libc.so.6(GLIBC_2.6)(64bit)
   libc.so.6(GLIBC_2.9)(64bit)
   libcrypto.so.1.1()(64bit)
   libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
   libcurl.so.4()(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)
   libgcc_s.so.1(GCC_3.4)(64bit)
   libgcc_s.so.1(GCC_7.0.0)(64bit)
   liblz4.so.1()(64bit)
   libm.so.6()(64bit)
   libm.so.6(GLIBC_2.2.5)(64bit)
   libm.so.6(GLIBC_2.27)(64bit)
   libpthread.so.0()(64bit)
   libpthread.so.0(GLIBC_2.12)(64bit)
   libpthread.so.0(GLIBC_2.2.5)(64bit)
   libpthread.so.0(GLIBC_2.3.2)(64bit)
   libre2.so.0()(64bit)
   librt.so.1()(64bit)
   libsnappy.so.1()(64bit)
   libssl.so.1.1()(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.7)(64bit)
   libstdc++.so.6(CXXABI_1.3.8)(64bit)
   libstdc++.so.6(CXXABI_1.3.9)(64bit)
   libstdc++.so.6(GLIBCXX_3.4)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.5)(64bit)
   libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
   libz.so.1()(64bit)
   libz.so.1(ZLIB_1.2.0)(64bit)
   libzstd
   libzstd.so.1()(64bit)
   lz4-libs >= 1.8.0
   re2
   rpmlib(CompressedFileNames) <= 3.0.4-1
   rpmlib(FileDigests) <= 4.6.0-1
   rpmlib(PayloadFilesHavePrefix) <= 4.0-1
   rpmlib(PayloadIsXz) <= 5.2-1
   rtld(GNU_HASH)
   snappy
   zlib
   ```
   
   If we have `libzstd.so.1()(64bit)` in it, we don't need to add `Requires: libzstd` to our `arrow.spec` explicitly.
   But we need `Requires: lz4-libs >= 1.8.0` even when we have `liblz4.so.1()(64bit)` because lz4 version information doesn't exist in `liblz4.so.1()(64bit)`. (If LZ4 uses `liblz4.so.2` for LZ4 1.8.0 or later, we don't need `Requires: lz4-libs >= 1.8.0`.)
   
   The Zstandard dependency is harmless. It's just duplicated. But the gflags dependency is needless because `arrow12-libs` doesn't use it.
   
   ### Component(s)
   
   Packaging


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] raulcd closed issue #36832: [Packaging][RPM] *.rpm have too much dependencies

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd closed issue #36832: [Packaging][RPM] *.rpm have too much dependencies
URL: https://github.com/apache/arrow/issues/36832


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org