Bug 36391

Summary: libnfdump-1.6.17-alt1 builds and provides its own old bundled copy of liblz4 and other system libraries
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: nfdumpAssignee: Sergey Y. Afonin <asy>
Status: REOPENED --- QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: asy, crux
Version: unstable   
Hardware: all   
OS: Linux   

Description Dmitry V. Levin 2019-03-25 23:07:01 MSK
$ comm -12 <(/usr/lib/rpm/provided_symbols /lib64/liblz4.so.1 |sort) \
<(/usr/lib/rpm/provided_symbols /usr/lib64/libnfdump-1.6.17.so |sort)
LZ4_compress
LZ4_compressBound
LZ4_compress_continue
LZ4_compress_default
LZ4_compress_destSize
LZ4_compress_fast
LZ4_compress_fast_continue
LZ4_compress_fast_extState
LZ4_compress_limitedOutput
LZ4_compress_limitedOutput_continue
LZ4_compress_limitedOutput_withState
LZ4_compress_withState
LZ4_create
LZ4_createStream
LZ4_createStreamDecode
LZ4_decompress_fast
LZ4_decompress_fast_continue
LZ4_decompress_fast_usingDict
LZ4_decompress_fast_withPrefix64k
LZ4_decompress_safe
LZ4_decompress_safe_continue
LZ4_decompress_safe_partial
LZ4_decompress_safe_usingDict
LZ4_decompress_safe_withPrefix64k
LZ4_freeStream
LZ4_freeStreamDecode
LZ4_loadDict
LZ4_resetStream
LZ4_resetStreamState
LZ4_saveDict
LZ4_setStreamDecode
LZ4_sizeofState
LZ4_sizeofStreamState
LZ4_slideInputBuffer
LZ4_uncompress
LZ4_uncompress_unknownOutputSize
LZ4_versionNumber
LZ4_versionString
Comment 1 Dmitry V. Levin 2019-03-26 02:34:41 MSK
It also bundles and exports other system libraries, e.g. liblzo2.
Comment 2 Sergey Y. Afonin 2019-03-26 10:02:34 MSK
I did not found any packages which built with libnfdump-devel. I did not found liblz4 in dependencies of nfdump also. Is it realy blocker bug?
Comment 3 Dmitry V. Levin 2019-03-26 13:34:09 MSK
OK, not a blocker then.
Comment 4 Repository Robot 2019-09-01 13:24:01 MSK
nfdump-1.6.18-alt1 -> sisyphus:

Sun Sep 01 2019 Sergey Y. Afonin <asy@altlinux> 1.6.18-alt1
- 1.6.18 (removed 1.5 compat code)
- built without --enable-compat15
- don't packed devel subpackage (ALT #36391)
Comment 5 Sergey Y. Afonin 2019-09-01 13:25:38 MSK
Probably the devel package should not be created, so disabled. This bug should be reopened if devel subpackage will be created again.
Comment 6 Repository Robot 2019-09-03 08:44:39 MSK
nfdump-1.6.18-alt1 -> p9:

Sun Sep 01 2019 Sergey Y. Afonin <asy@altlinux> 1.6.18-alt1
- 1.6.18 (removed 1.5 compat code)
- built without --enable-compat15
- don't packed devel subpackage (ALT #36391)
Comment 7 Sergey Y. Afonin 2020-03-25 13:10:00 MSK
Some of the considerations. The nfcapd sensor works in realtime conditions. LZO and LZ4 compressions are recommended for writing received data and the author uses internal code for this. The third BZ2 compression method is not recommended and an external library is used.
Comment 8 Dmitry V. Levin 2020-03-25 13:11:43 MSK
Nothing has been fixed so far, the library still builds and exports its own old bundled copy of liblz4 and other system libraries.
Comment 9 Sergey Y. Afonin 2020-03-26 14:39:52 MSK
shared library libnfdump is not build since 1.6.19-alt1