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

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

    <bug>
          <bug_id>53016</bug_id>
          
          <creation_ts>2025-02-10 15:20:05 +0300</creation_ts>
          <short_desc>PHP Fatal error: Failed opening required &apos;Console/Getopt.php&apos; (Install APD)</short_desc>
          <delta_ts>2025-02-10 15:20:05 +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>kcachegrind</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="dfpl">lubyagin</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>258980</commentid>
    <comment_count>0</comment_count>
    <who name="dfpl">lubyagin</who>
    <bug_when>2025-02-10 15:20:05 +0300</bug_when>
    <thetext>Установил kcachegrind.
Запустил /usr/bin/pprof2calltree без аргументов.
Получил run-time ошибку:

$ pprof2calltree 2&gt;&amp;1 | tee pprof2calltree.err

[ ... ]

# This script is designed to convert the pprof output from 
# APD (https://pecl.php.net/apd/) to one readable by kcachegrind. To use
# this script:
#
# 1) Install APD.
# 2) Profile your script with APD accordingto the directions in it&apos;s
#    README file.
# 3) Take the pprof trace file for your script (pprof.XXXXX.Y) and run it 
#    through this script as follows:
#    &gt; pprof2calltree -f pprof.12345.1 
#    This creates a new file cachegrind.out.12345.1
# 4) View your trace with pprof2calltree cachegrind.out.12345.1

PHP Warning:  require(Console/Getopt.php): Failed to open stream: No such file or directory in /usr/bin/pprof2calltree on line 51
PHP Fatal error:  Uncaught Error: Failed opening required &apos;Console/Getopt.php&apos; (include_path=&apos;./:/usr/lib64/php/:/usr/lib64/php/8.2.27/:/usr/share/php/pear/:/usr/share/php/modules/:/usr/share/php/8.2.27/modules/&apos;) in /usr/bin/pprof2calltree:51
Stack trace:
#0 {main}
  thrown in /usr/bin/pprof2calltree on line 51

Видимо, какой-то компонент, необходимый для работы pprof2calltree, не подтягивается в зависимостях.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>