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

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

    <bug>
          <bug_id>58482</bug_id>
          
          <creation_ts>2026-04-02 14:33:42 +0300</creation_ts>
          <short_desc>Несоотвествие версий pngcrush</short_desc>
          <delta_ts>2026-10-24 22:49:41 +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>libpng</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Красовский Доминик Олегович">krasovskijdo</reporter>
          <assigned_to name="Денис Назаров">nenderus</assigned_to>
          <cc>arbars</cc>
    
    <cc>nenderus</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>284985</commentid>
    <comment_count>0</comment_count>
    <who name="Красовский Доминик Олегович">krasovskijdo</who>
    <bug_when>2026-04-02 14:33:42 +0300</bug_when>
    <thetext>pngcrush-1.8.13-alt4.x86_64

Стенды (Обновленные до Sisyphus):
Alt Education kde 11.1 x86-64
Alt Education xfce 11.1 x86-64
Alt Workstation K 11.2 x86-64
Alt Workstation 11.1 x86-64
Alt Server 11.0-x86-64

Шаги для воспроизведения:

1. # apt-get install -y pngcrush

2. $ rpm -q pngcrush libpng16 zlib &amp;&amp; \
    pngcrush -version

Фактический результат:
pngcrush-1.8.13-alt4.x86_64
libpng16-1.6.56-alt2.x86_64
zlib-1.3.1-alt1.x86_64
Warning: versions are different between png.h and png.c
  png.h version: 1.6.54
  png.c version: 1.6.56

 pngcrush 1.8.13, uses libpng 1.6.54 and zlib 1.3.1

Ожидаемый результат: одинаковые версии


Дополнительно:
В p11 разница между версиями такая:
pngcrush-1.8.13-alt4.x86_64
libpng16-1.6.56-alt0.p11.1.x86_64
zlib-1.3.1-alt1.x86_64
Warning: versions are different between png.h and png.c
  png.h version: 1.6.55
  png.c version: 1.6.56

 pngcrush 1.8.13, uses libpng 1.6.55 and zlib 1.3.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284991</commentid>
    <comment_count>1</comment_count>
    <who name="arbars@altlinux.org">arbars</who>
    <bug_when>2026-04-02 15:20:51 +0300</bug_when>
    <thetext>&gt; Warning: versions are different between png.h and png.c
&gt;   png.h version: 1.6.54
&gt;   png.c version: 1.6.56

Данная инормация относится к пакету libpng
Доанных файлов в пакете pngcrush нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303338</commentid>
    <comment_count>2</comment_count>
    <who name="Денис Назаров">nenderus</who>
    <bug_when>2026-10-24 22:49:41 +0300</bug_when>
    <thetext>pngcrush линкуется с системной libpng, но запекает версию png.h на момент сборки: 1.8.13-alt4 был собран при libpng16 1.6.54. Пересобрал (задание https://packages.altlinux.org/tasks/438444/):
pngcrush -version теперь выводит «uses libpng 1.6.56» без предупреждения.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>