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

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

    <bug>
          <bug_id>57040</bug_id>
          
          <creation_ts>2025-11-27 13:23:47 +0300</creation_ts>
          <short_desc>Нет пакета, предоставляющего perl(JSON/Create.pm), для работы опции `--json`</short_desc>
          <delta_ts>2025-12-25 20:24:47 +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>perl-Image-PNG-Libpng-scripts</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="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>277981</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-11-27 13:23:47 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y perl-Image-PNG-Libpng-scripts &apos;perl(Data/Validate/URI.pm)&apos; &apos;perl(LWP/Simple.pm)&apos;

2. # apt-get install -y &apos;perl(JSON/Create.pm)&apos;

3. # pnginspect --json &lt;путь или url к png-файлу&gt;


Фактический результат
=====================

2. E: Невозможно найти пакет perl(JSON/Create.pm)

3. Install JSON::Create to use the --json option at /usr/bin/pnginspect line 44.


Ожидаемый результат
===================

Корректная работа опции, наличие необходимого пакета, предоставляющего perl(JSON/Create.pm).


Дополнительно
=============

Пакеты для работы скачивания изображений по URL, также не являющиеся обязательными, есть:

# apt-get install -y \
    &apos;perl(Data/Validate/URI.pm)&apos; \
    &apos;perl(LWP/Simple.pm)&apos;


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p11] ALT Server 11.0 x86_64
perl-Image-PNG-Libpng-scripts-0.58-alt1.noarch

[sisyphus] ALT Server 11.0 x86_64
perl-Image-PNG-Libpng-scripts-0.59-alt1.noarch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279623</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2025-12-25 20:18:12 +0300</bug_when>
    <thetext>
$ pnginspect --json dd
Install JSON::Create to use the --json option at /bin/pnginspect line 44.

Поставил perl-JSON-Create


$ pnginspect --json logo.png
JSON output is not implemented at /bin/pnginspect line 96.

Раньше падало с &quot;Install JSON::Create to use the --json option&quot;, теперь проходит дальше до &quot;JSON output is not implemented&quot; — это уже проблема pnginspect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279624</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-12-25 20:24:47 +0300</bug_when>
    <thetext>perl-JSON-Create-0.35-alt1 -&gt; sisyphus:

* Thu Dec 25 2025 Vitaly Lipatov &lt;lav@altlinux&gt; 0.35-alt1
- initial build for ALT Sisyphus (Closes: #57040)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>