FS#56520 - [blosc] using internal copy of zstd, zlib and snappy

Attached to Project: Community Packages
Opened by Guillaume Horel (thrasibule) - Thursday, 30 November 2017, 15:30 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 30 November 2017, 18:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
With the PKGBUILD as written, blosc doesn't depend on zstd, zlib and snappy, it's recompiling sources provided in the blosc tarball and add them into the shared library.
As a proof this is the output of ldd -r /usr/lib/libblosc.so:

linux-vdso.so.1 (0x00007ffe333ee000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc807fe0000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fc807dba000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc807a33000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc80781c000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fc807464000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00005598e02e4000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fc807118000)

So we should either remove them from the dependencies, or add
-DPREFER_EXTERNAL_ZLIB="ON" -DPREFER_EXTERNAL_SNAPPY="ON" -DPREFER_EXTERNAL_ZSTD="ON" to use the already installed libraries.
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Thursday, 30 November 2017, 18:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks. Fixed in 1.12.1-2.

Loading...