<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>36399</bug_id>
          
          <creation_ts>2019-03-26 02:12:34 +0300</creation_ts>
          <short_desc>librdkafka-0.11.6-alt0.3 builds and provides its own old bundled copy of liblz4</short_desc>
          <delta_ts>2019-03-27 02:21:48 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>librdkafka</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Pavel Vainerman">pv</assigned_to>
          <cc>pv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>179955</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-03-26 02:12:34 +0300</bug_when>
    <thetext>This is especially bad because an application that does -lrdkafka -llz4 will
not be linked with liblz4 and will use liblz4 implementation from librdkafka
instead.

$ LC_ALL=C comm -12 &lt;(/usr/lib/rpm/provided_symbols /lib64/liblz4.so.1) \
&lt;(/usr/lib/rpm/provided_symbols /usr/lib64/librdkafka.so)
LZ4F_compressBegin
LZ4F_compressBound
LZ4F_compressEnd
LZ4F_compressFrame
LZ4F_compressFrameBound
LZ4F_compressUpdate
LZ4F_createCompressionContext
LZ4F_createDecompressionContext
LZ4F_decompress
LZ4F_flush
LZ4F_freeCompressionContext
LZ4F_freeDecompressionContext
LZ4F_getErrorName
LZ4F_getFrameInfo
LZ4F_getVersion
LZ4F_isError
LZ4F_resetDecompressionContext
LZ4_compress
LZ4_compressBound
LZ4_compressHC
LZ4_compressHC2
LZ4_compressHC2_continue
LZ4_compressHC2_limitedOutput
LZ4_compressHC2_limitedOutput_continue
LZ4_compressHC2_limitedOutput_withStateHC
LZ4_compressHC2_withStateHC
LZ4_compressHC_continue
LZ4_compressHC_limitedOutput
LZ4_compressHC_limitedOutput_continue
LZ4_compressHC_limitedOutput_withStateHC
LZ4_compressHC_withStateHC
LZ4_compress_HC
LZ4_compress_HC_continue
LZ4_compress_HC_extStateHC
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_createHC
LZ4_createStream
LZ4_createStreamDecode
LZ4_createStreamHC
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_freeHC
LZ4_freeStream
LZ4_freeStreamDecode
LZ4_freeStreamHC
LZ4_loadDict
LZ4_loadDictHC
LZ4_resetStream
LZ4_resetStreamHC
LZ4_resetStreamState
LZ4_resetStreamStateHC
LZ4_saveDict
LZ4_saveDictHC
LZ4_setStreamDecode
LZ4_sizeofState
LZ4_sizeofStateHC
LZ4_sizeofStreamState
LZ4_sizeofStreamStateHC
LZ4_slideInputBuffer
LZ4_slideInputBufferHC
LZ4_uncompress
LZ4_uncompress_unknownOutputSize
LZ4_versionNumber
LZ4_versionString</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179984</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Vainerman">pv</who>
    <bug_when>2019-03-26 10:46:40 +0300</bug_when>
    <thetext>Это даже несколько неожиданно, потому-что по умолчанию она собирается
с внешней libz.

Feature options:
   --enable-lz4                         Enable external LZ4 library support [y]
   --disable-lz4                        Disable external LZ4 library support

Буду мотреть.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179997</commentid>
    <comment_count>2</comment_count>
    <who name="Pavel Vainerman">pv</who>
    <bug_when>2019-03-26 12:49:16 +0300</bug_when>
    <thetext>Вроде исправил в задании 
http://git.altlinux.org/tasks/225666/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180005</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-03-26 13:55:55 +0300</bug_when>
    <thetext>Да, lz4 там больше нет.
Правда, libxxhash по-прежнему экспортируется, но это уже другая история.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180057</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-03-26 23:29:12 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Правда, libxxhash по-прежнему экспортируется, но это уже другая история.

Аналогичная история про libxxhash:

$ LC_ALL=C comm -12 \
&lt;(/usr/lib/rpm/provided_symbols /usr/lib64/libxxhash.so.0.6.5) \
&lt;(/usr/lib/rpm/provided_symbols /usr/lib64/librdkafka.so)
XXH32
XXH32_canonicalFromHash
XXH32_copyState
XXH32_createState
XXH32_digest
XXH32_freeState
XXH32_hashFromCanonical
XXH32_reset
XXH32_update
XXH64
XXH64_canonicalFromHash
XXH64_copyState
XXH64_createState
XXH64_digest
XXH64_freeState
XXH64_hashFromCanonical
XXH64_reset
XXH64_update
XXH_versionNumber</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180062</commentid>
    <comment_count>5</comment_count>
    <who name="Pavel Vainerman">pv</who>
    <bug_when>2019-03-27 02:21:48 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Правда, libxxhash по-прежнему экспортируется, но это уже другая история.
&gt; 
&gt; Аналогичная история про libxxhash:
Оторвал и это.
http://git.altlinux.org/tasks/225724/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>