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

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

    <bug>
          <bug_id>38140</bug_id>
          
          <creation_ts>2020-02-23 17:05:35 +0300</creation_ts>
          <short_desc>kumir2 builds and uses bundled zlib</short_desc>
          <delta_ts>2026-10-24 00:39:24 +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>kumir2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>dd</cc>
    
    <cc>rauty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188113</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2020-02-23 17:05:35 +0300</bug_when>
    <thetext>$ comm -12 &lt;(/usr/lib/rpm/provided_symbols /lib64/libz.so.1 |sort) &lt;(rpmpeek kumir2-2.1.0-alt7.gita3631abb.x86_64.rpm /usr/lib/rpm/provided_symbols ./usr/bin/pictomir2course |sort)
adler32
adler32_combine
crc32
crc32_combine
get_crc_table
inflate
inflateCopy
inflateEnd
inflateGetHeader
inflateInit2_
inflateInit_
inflatePrime
inflateReset
inflateSetDictionary
inflateSync
inflateSyncPoint
uncompress
zError
zlibCompileFlags
zlibVersion</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303268</commentid>
    <comment_count>1</comment_count>
    <who name="Ajrat Makhmutov">rauty</who>
    <bug_when>2026-10-23 17:01:25 +0300</bug_when>
    <thetext>Причина: в src/tools/pictomir2course/CMakeLists.txt выбор встроенной копии zlib (версии 1.2.3) был жёстко включён условием if(1), поэтому на всех платформах pictomir2course статически собирался с ней, а системная zlib не использовалась. Проверка из описания бага сейчас ничего не показывает только из-за LTO (символы стали локальными), но копия по-прежнему внутри: ldd /usr/bin/pictomir2course не показывает libz.
Исправление: на не-Windows платформах ищется системная zlib через find_package(ZLIB) и pictomir2course линкуется с libz.so.1; встроенная копия остаётся только для Windows и как запасной вариант, если системной zlib нет.
В пакете дополнительно будет BuildRequires: zlib-devel, а встроенная копия удаляется в %prep.
Исправление предложено в апстрим: https://github.com/a-a-maly/kumir2/pull/41
Войдёт в следующую сборку пакета.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303299</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-24 00:39:24 +0300</bug_when>
    <thetext>kumir2-2.1.0-alt14.gita1a0c7da -&gt; sisyphus:

Fri Oct 23 2026 Ajrat Makhmutov &lt;rauty@altlinux&gt; 2.1.0-alt14.gita1a0c7da
- Add version 2 to the menu entry names (Closes: 37683).
- Link pictomir2course against the system zlib (Closes: 38140).
- Fix the editor crash on Wayland and on layout switch (Closes: 45176).
- Show the real last modified date instead of 1970 (Closes: 53337).
- Apply the Grasshopper color settings (Closes: 53386).
- Show the Turtle and its trail after the first run (Closes: 61178).
- Keep the Draw picture inside the field after the first run (Closes: 61179).
- Drop the deprecated Packager tag.
- Point URL at the upstream GitHub repository, use the clonable VCS URL.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>