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

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

    <bug>
          <bug_id>36402</bug_id>
          
          <creation_ts>2019-03-26 02:41:03 +0300</creation_ts>
          <short_desc>opencpn-4.4.0-alt2 builds and uses its own very old bundled copy of liblz4</short_desc>
          <delta_ts>2019-04-01 01:17:46 +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>opencpn</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>asy</cc>
    
    <cc>grenka</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>179960</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-03-26 02:41:03 +0300</bug_when>
    <thetext>$ LC_ALL=C comm -12 &lt;(/usr/lib/rpm/provided_symbols /lib64/liblz4.so.1) \
&lt;(/usr/lib/rpm/provided_symbols /usr/bin/opencpn)
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_continue
LZ4_compress_limitedOutput
LZ4_compress_limitedOutput_continue
LZ4_compress_limitedOutput_withState
LZ4_compress_withState
LZ4_create
LZ4_createHC
LZ4_decompress_fast
LZ4_decompress_fast_withPrefix64k
LZ4_decompress_safe
LZ4_decompress_safe_partial
LZ4_decompress_safe_withPrefix64k
LZ4_freeHC
LZ4_resetStreamState
LZ4_resetStreamStateHC
LZ4_sizeofState
LZ4_sizeofStateHC
LZ4_sizeofStreamState
LZ4_sizeofStreamStateHC
LZ4_slideInputBuffer
LZ4_slideInputBufferHC
LZ4_uncompress
LZ4_uncompress_unknownOutputSize</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180038</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-03-26 19:38:21 +0300</bug_when>
    <thetext>Не думаю, что тут будет сильно просто перевести на системную библиотеку. Надо с разработчиками общаться (по крайней мере, я не увидел выбора для сборки). А приложение мультиплатформенное, потому и таскает какие-то компоненты с собой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180042</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2019-03-26 20:04:56 +0300</bug_when>
    <thetext>Я перевёл багу на себя, потому что не теряю надежды обновить пакет до версии 4.8.8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180044</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-03-26 20:16:35 +0300</bug_when>
    <thetext>(In reply to comment #1)

&gt; (по крайней мере, я не увидел выбора для сборки)

Наврал, есть в CMakeLists.txt

  IF (LZ4_FOUND AND USE_BUNDLED_LIBS MATCHES &quot;OFF&quot;)
    message (STATUS &quot;Building with system lz4&quot;)
    INCLUDE_DIRECTORIES(${LZ4_INCLUDE_DIR})
    SET(EXTRA_LIBS ${EXTRA_LIBS} ${LZ4_LIBRARIES})</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180045</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-03-26 20:17:03 +0300</bug_when>
    <thetext>(In reply to comment #2)

&gt; Я перевёл багу на себя, потому что не теряю надежды обновить пакет до версии
&gt; 4.8.8.

Уже надо до 5.0.0. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180049</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-03-26 21:35:25 +0300</bug_when>
    <thetext>Чуть-чуть посмотрел 5.0.0. Один файл надо поправить, вероятно примерно так:

sed -i &apos;s/wxLogWarning.&quot;snprint overrun&quot;./wxLogWarning(_T(&quot;snprint overrun&quot;))/&apos; src/s52cnsy.cpp

Вот это надо добавить:

BuildRequires: liblz4-devel liblzma-devel libsndfile-devel libarchive-devel libelf-devel libexif-devel libwxsvg-devel

А дальше пока встал:
https://lists.altlinux.org/pipermail/devel/2019-March/207371.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180244</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-04-01 01:10:16 +0300</bug_when>
    <thetext>opencpn-5.0.0-alt1 -&gt; sisyphus:

Thu Mar 28 2019 Sergey Y. Afonin &lt;asy@altlinux.ru&gt; 5.0.0-alt1
- New version (thanx to TEAM)
- Built with wxGTK3.1
- Added some system libraries for building (ALT #36402)
- Disabled opencpn-4.4.0-fix_library_path.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180245</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-04-01 01:17:46 +0300</bug_when>
    <thetext>Остались встроенные wxcurl и unarr - нет в репозитории.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>