DUNE-DAQ / daq-release

Scripts and configuration files for the DUNE DAQ release
https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-release/
2 stars 0 forks source link

`librdkafka` needs `depends_on(openssl)` #168

Closed dingp closed 2 years ago

dingp commented 2 years ago

Currently, if using librdkafka from Spack-externals, one may see the following warnings:

/cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/binutils-2.37-bievwhngsmgmua724xaljgi7t2xdrsxv/bin/ld: warning: libssl.so.10, needed by /cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/librdkafka-1.7.0-ml4wkm37tlkah47ujk6c6inuuinzskr3/lib64/librdkafka.so.1, may conflict with libssl.so.1.1
/cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/binutils-2.37-bievwhngsmgmua724xaljgi7t2xdrsxv/bin/ld: warning: libssl.so.10, needed by /cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/librdkafka-1.7.0-ml4wkm37tlkah47ujk6c6inuuinzskr3/lib64/librdkafka.so.1, may conflict with libssl.so.1.1
/cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/binutils-2.37-bievwhngsmgmua724xaljgi7t2xdrsxv/bin/ld: warning: libcrypto.so.10, needed by /cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/librdkafka-1.7.0-ml4wkm37tlkah47ujk6c6inuuinzskr3/lib64/librdkafka.so.1, may conflict with libcrypto.so.1.1
/cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/binutils-2.37-bievwhngsmgmua724xaljgi7t2xdrsxv/bin/ld: warning: libcrypto.so.10, needed by /cvmfs/dunedaq.opensciencegrid.org/spack-externals/spack-0.17.1/opt/spack/gcc-8.2.0/librdkafka-1.7.0-ml4wkm37tlkah47ujk6c6inuuinzskr3/lib64/librdkafka.so.1, may conflict with libcrypto.so.1.1

This was caused by building librdkafka using system openssl. To correct this issue, we shall add depends_on(openssl) to its package.py and reinstall the package.