• Bug#1064492: libdemeter-perl: Use of wxTB_3DBUTTONS crashes the Artemis

    From Carlo Segre@21:1/5 to All on Fri Feb 23 07:00:01 2024
    Package: libdemeter-perl
    Version: 0.9.27
    Severity: grave
    Tags: patch upstream
    Justification: renders package unusable

    when invoking the "dartemis" executable, it fails when trying to use wxTB_3DBUTTONS from Wx::ToolBar. This is in line 174 of the GDS.pm script. Removal of wxTB_3DBUTTONS from line 174 allows dartemis to run correctly.

    I think there is a more serious problem. The most recent official release
    is
    0.9.26, not 0.9.27. The fix suggested above reverts to the code in 0.9.26. Perhaps, 0.9.26 should be the version used in the Debian package.

    There is also an error in executing "dhephaestus". It crashes with the following error:

    $ dhephaestus
    Can't use an undefined value as an ARRAY reference at /usr/share/perl5/Demeter/UI/Hephaestus/LineFinder.pm line 46.
    Compilation failed in require at /usr/share/perl5/Demeter/UI/Hephaestus.pm
    line
    298.

    As far as I can tell, there is no difference in either Hephaestus.pm or LineFinder.pm in the two versions so the problem is more subtle. In any
    case,
    version 0.9.26 runs without errors in trixie with the same version of libwx- perl.

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.6.13-amd64 (SMP w/2 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_WARN
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
    not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages libdemeter-perl depends on:
    ii libarchive-zip-perl 1.68-1
    ii libcapture-tiny-perl 0.48-2
    ii libchemistry-elements-perl 1.077-1
    ii libchemistry-formula-perl 3.0.1-1.3
    ii libconfig-ini-perl 1:0.029-1
    ii libconst-fast-perl 0.014-2
    ii libdatetime-perl 2:1.59-1+b1
    ii libdigest-sha-perl 6.04-1+b1
    ii libencoding-fixlatin-perl 1.04-3
    ii libfile-copy-recursive-perl 0.45-4
    ii libfile-countlines-perl 0.0.3-4
    ii libfile-touch-perl 0.12-2
    ii libfile-which-perl 1.27-2
    ii libgraph-perl 1:0.9727-1
    ii libgraphics-gnuplotif-perl 1.8-2
    ii libheap-perl 0.80-5
    ii libifeffit-perl 2:1.2.11d-12.5+b1
    ii libjson-perl 4.10000-1
    ii liblist-moreutils-perl 0.430-2
    ii libmath-combinatorics-perl 0.09-6
    ii libmath-derivative-perl 1.01-3
    ii libmath-random-free-perl 0.2.0-2
    ii libmath-random-perl 0.72-2+b3
    ii libmath-round-perl 0.08-1
    ii libmath-spline-perl 0.02-4
    ii libmoose-perl 2.2207-1
    ii libmoosex-aliases-perl 0.11-2
    ii libmoosex-types-laxnum-perl 0.04-2
    ii libmoosex-types-perl 0.50-2
    ii libpdl-stats-perl 0.83-1+b1
    ii libpod-pom-perl 2.01-4
    ii libregexp-assemble-perl 0.38-2
    ii libregexp-common-perl 2017060201-3
    ii librpc-xml-perl 0.82-1
    ii libspreadsheet-writeexcel-perl 2.40-4
    ii libstar-parser-perl 0.59-4
    ii libstatistics-descriptive-perl 3.0801-1
    ii libtext-template-perl 1.61-1
    ii libtext-unidecode-perl 1.30-3
    ii libtree-simple-perl 1.34-2
    ii libwant-perl 0.29-2+b2
    ii libxmlrpc-lite-perl 0.717-5
    ii libxray-absorption-perl 3.0.1-4
    ii libxray-scattering-perl 3.0.1-3
    ii libyaml-tiny-perl 1.74-1
    ii pdl 1:2.085-1
    ii perl [libdigest-sha-perl] 5.38.2-3

    libdemeter-perl recommends no packages.

    libdemeter-perl suggests no packages.

    -- no debconf information


    --
    Carlo U. Segre (he/him) -- Duchossois Leadership Professor of Physics
    Professor of Materials Science & Engineering
    Director, Center for Synchrotron Radiation Research and Instrumentation Illinois Institute of Technology
    Phone: 312.567.3498
    segre@iit.edu http://phys.iit.edu/~segre segre@debian.org

    <div dir="ltr">Package: libdemeter-perl<br>Version: 0.9.27<br>Severity: grave<br>Tags: patch upstream<br>Justification: renders package unusable<br><br>when invoking the &quot;dartemis&quot; executable, it fails when trying to use<br>wxTB_3DBUTTONS from
    Wx::ToolBar.  This is in line 174 of the GDS.pm script.<br>Removal of wxTB_3DBUTTONS from line 174 allows dartemis to run correctly.<br><br>I think there is a more serious problem.  The most recent official release is<br>0.9.26, not 0.9.27.  The fix
    suggested above reverts to the code in 0.9.26.<br>Perhaps, 0.9.26 should be the version used in the Debian package.<br><br>There is also an error in executing &quot;dhephaestus&quot;.  It crashes with the<br>following error:<br><br>$ dhephaestus<br>Can&#
    39;t use an undefined value as an ARRAY reference at<br>/usr/share/perl5/Demeter/UI/Hephaestus/LineFinder.pm line 46.<br>Compilation failed in require at /usr/share/perl5/Demeter/UI/Hephaestus.pm line<br>298.<br><br>As far as I can tell, there is no
    difference in either Hephaestus.pm or<br>LineFinder.pm in the two versions so the problem is more subtle.  In any case,<br>version 0.9.26 runs without errors in trixie with the same version of libwx-<br>perl.<br><br><div><div>-- System Information:<br>
    Debian Release: trixie/sid<br>  APT prefers unstable<br>  APT policy: (500, &#39;unstable&#39;)<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 6.6.13-amd64 (SMP w/2 CPU threads; PREEMPT)<br>Kernel taint flags: TAINT_WARN<br>Locale: LANG=en_US.UTF-
    8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>Shell: /bin/sh linked to /usr/bin/dash<br>Init: systemd (via /run/systemd/system)<br>LSM: AppArmor: enabled<br><br>Versions of packages libdemeter-perl depends on:<br>ii  libarchive-zip-perl  
              1.68-1<br>ii  libcapture-tiny-perl            0.48-2<br>ii  libchemistry-elements-perl      1.077-1<br>ii  libchemistry-formula-perl       3.0.1-1.3<br>ii  libconfig-ini-perl              1:0.029-1<br>ii  libconst-
    fast-perl              0.014-2<br>ii  libdatetime-perl                2:1.59-1+b1<br>ii  libdigest-sha-perl              6.04-1+b1<br>ii  libencoding-fixlatin-perl       1.04-3<br>ii  libfile-copy-recursive-perl     0.45-4<
    ii  libfile-countlines-perl         0.0.3-4<br>ii  libfile-touch-perl              0.12-2<br>ii  libfile-which-perl              1.27-2<br>ii  libgraph-perl                   1:0.9727-1<br>ii  libgraphics-gnuplotif-perl
         1.8-2<br>ii  libheap-perl                    0.80-5<br>ii  libifeffit-perl                 2:1.2.11d-12.5+b1<br>ii  libjson-perl                    4.10000-1<br>ii  liblist-moreutils-perl          0.430-2<br>
    ii  libmath-combinatorics-perl      0.09-6<br>ii  libmath-derivative-perl         1.01-3<br>ii  libmath-random-free-perl        0.2.0-2<br>ii  libmath-random-perl             0.72-2+b3<br>ii  libmath-round-perl              0.
    08-1<br>ii  libmath-spline-perl             0.02-4<br>ii  libmoose-perl                   2.2207-1<br>ii  libmoosex-aliases-perl          0.11-2<br>ii  libmoosex-types-laxnum-perl     0.04-2<br>ii  libmoosex-types-perl      
         0.50-2<br></div><div>ii  libpdl-stats-perl               0.83-1+b1<br>ii  libpod-pom-perl                 2.01-4<br>ii  libregexp-assemble-perl         0.38-2<br>ii  libregexp-common-perl           2017060201-3<br>ii  
    librpc-xml-perl                 0.82-1<br>ii  libspreadsheet-writeexcel-perl  2.40-4<br>ii  libstar-parser-perl             0.59-4<br>ii  libstatistics-descriptive-perl  3.0801-1<br>ii  libtext-template-perl           1.61-1<br>
    ii  libtext-unidecode-perl          1.30-3<br>ii  libtree-simple-perl             1.34-2<br>ii  libwant-perl                    0.29-2+b2<br>ii  libxmlrpc-lite-perl             0.717-5<br>ii  libxray-absorption-perl     Â
        3.0.1-4<br>ii  libxray-scattering-perl         3.0.1-3<br>ii  libyaml-tiny-perl               1.74-1<br>ii  pdl                             1:2.085-1<br>ii  perl [libdigest-sha-perl]       5.38.2-3<br><br>libdemeter-
    perl recommends no packages.<br><br>libdemeter-perl suggests no packages.<br><br>-- no debconf information<br><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_
    signature"><div dir="ltr"><div><div dir="ltr"><div>Carlo U. Segre (he/him) -- Duchossois Leadership Professor of Physics</div><div>Professor of Materials Science &amp; Engineering</div><div>Director, Center for Synchrotron Radiation Research and
    Instrumentation</div><div>Illinois Institute of Technology</div><div>Phone: 312.567.3498</div><div><a href="mailto:segre@iit.edu" target="_blank">segre@iit.edu</a>   <a href="http://phys.iit.edu/~segre" target="_blank">http://phys.iit.edu/~segre</a>   <
    a href="mailto:segre@debian.org" target="_blank">segre@debian.org</a></div><div><br></div></div></div></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)