Your message dated Fri, 06 Sep 2024 09:40:31 +0000
with message-id <[email protected]>
and subject line Bug#1078536: fixed in latex2html 2024-debian1-3
has caused the Debian Bug report #1078536,
regarding latex2html: pstoimg error with pnmcolormap/pnmquant makes it 
non-functional in bookworm
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1078536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: latex2html
Version: 2023-debian1-1
Severity: normal
X-Debbugs-Cc: [email protected]


Hi,

The pstoimg program distributed with latex2html does not work in Bookworm
due to a conversion error during netpbm processing.

This happens with both PNG and GIF outputs selected. The default SVG
output doesn't even try to process, see companion bug.


Here is an example using a PostScript file taken from the texlive-latex-extra 
package:

PSFILE=/usr/share/texlive/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps

$ pstoimg -type png -o test.png $PSFILE
pstoimg V2023
pstoimg: Processing 
/usr/share/texlive/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps
pstoimg: Error: "/usr/bin/pnmquant 256 < /tmp/p1477055.pnm | /usr/bin/pnmtopng  
> test.png" failed: 

$ echo $?
1


Again in debug mode:

$ pstoimg -debug -type png -o test.png $PSFILE
pstoimg V2023
pstoimg: Temporary directory is /tmp
pstoimg: Processing 
/usr/share/texlive/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps
pstoimg: EPSF dimensions are 302x172
pstoimg: Running /usr/bin/gs  -dNOSAFER -sDEVICE=pnmraw -g302x172    
-sOutputFile=/tmp/p1477104.pnm 
GS>0 0 translate
GS>(/usr/share/texlive/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps)
 run
GS>showpage
GS>quit

GPL Ghostscript 10.0.0 (2022-09-21)
Copyright (C) 2022 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>GS>>>showpage, press <return> to continue<<
GS>>>showpage, press <return> to continue<<
GS>Image "/tmp/p1477104.pnm" is PPM, 302x172
Running "/usr/bin/pnmquant 256 < /tmp/p1477104.pnm | /usr/bin/pnmtopng  > 
test.png"
pnmcolormap: making histogram...
pnmcolormap: Scanning image 0
pnmcolormap: 4 colors so far
pnmcolormap: Scanning image 1
pnmcolormap: Image 1 depth (1) is not the same as Image 0 (3)
pnmquant: pnmcolormap failed, rc=256
pnmtopng: Error reading first byte of what is expected to be a Netpbm magic 
number.  Most often, this means your input file is empty
pstoimg: Error: "/usr/bin/pnmquant 256 < /tmp/p1477104.pnm | /usr/bin/pnmtopng  
> test.png" failed: 


Selecting GIF output is essentially the same.

Perhaps this is actually a netpbm bug?


thanks,
Hamish


-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-23-amd64 (SMP w/24 CPU threads; PREEMPT)
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 latex2html depends on:
ii  ghostscript-x              10.0.0~dfsg-11+deb12u4
ii  netpbm                     2:11.01.00-2
ii  perl                       5.36.0-7+deb12u1
ii  perl-doc                   5.36.0-7+deb12u1
ii  poppler-utils              22.12.0-2+b1
ii  tex-common                 6.18
ii  texlive-binaries           2022.20220321.62855-5.1+deb12u1
ii  texlive-fonts-recommended  2022.20230122-3
ii  texlive-latex-extra        2022.20230122-4
ii  texlive-latex-recommended  2022.20230122-3

Versions of packages latex2html recommends:
ii  dvipng  1.15-1.1+b1

latex2html suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: latex2html
Source-Version: 2024-debian1-3
Done: Carsten Leonhardt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
latex2html, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Carsten Leonhardt <[email protected]> (supplier of updated latex2html package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 06 Sep 2024 11:08:01 +0200
Source: latex2html
Architecture: source
Version: 2024-debian1-3
Distribution: unstable
Urgency: medium
Maintainer: Carsten Leonhardt <[email protected]>
Changed-By: Carsten Leonhardt <[email protected]>
Closes: 1078535 1078536
Changes:
 latex2html (2024-debian1-3) unstable; urgency=medium
 .
   * Backport fix to remove svg from config for pstoimg from
     upstream. (Closes: #1078535)
   * Backport from upstream: remove extra "showpage" from pstoimg.
     (Closes: #1078536)
   * Add autopkgtest for pstoimg.
   * debian/control: Standards-Version: 4.7.0
   * A bug reported to Ubuntu about \color entries was already fixed in
     2018.2-debian1-1 (LP: #1798041)
Checksums-Sha1:
 1fb1d51ec8bc8f9db14f61f7e27097e3d987b00a 2252 latex2html_2024-debian1-3.dsc
 ecd98fbcdfdfea6a83aec7740087bc8b7094fae6 18272 
latex2html_2024-debian1-3.debian.tar.xz
Checksums-Sha256:
 3295e84203b6a7585303420ecba0234280865f546cdd978640ba4d1c67419e14 2252 
latex2html_2024-debian1-3.dsc
 360a5227d4e703c30d58368ff06f5acc0e1accea252941abb40651f49ea4c71e 18272 
latex2html_2024-debian1-3.debian.tar.xz
Files:
 5c1096c122e69f2ac979cb9f3a798411 2252 tex optional 
latex2html_2024-debian1-3.dsc
 33e29a1aad17846c7201291f47435e97 18272 tex optional 
latex2html_2024-debian1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEETxO/995XSygF6EUmKrIctfbulV4FAmbayikPHGxlb0BkZWJp
YW4ub3JnAAoJECqyHLX27pVet0EP/1BrTXblWQvs9ndO463YXxj1qQLjwlOtaegG
NwVdu/0k1RywbLygV86u9EnwXr2noTO7wZUwzXmsRLXgioOKgXy5paNDN04GNfTc
XeuktFhE+Xsn//lAaQ19MA39xI6VOLIWe7Q+etoAE6LTP3NLpFqcF560+bOtkYSt
LFIqNMNMDQJGk1+hvZhj+Z7CiXrm8awO09/oHpz9K82dx/RYP3COF3W2bF03nhW7
9MEU85Sl6m7mRqeZepe9Ui+uNr+nVd7HpYS59q101mPv4Q1MmdsxX2+p6NQqAFuL
6EpKJ5mz8z4nkgdYoVQSnAI7qIMgIoRxG2eB5PcQzZy5jL6IdeiTqlX6gQcrI5ri
SA6WqzTwMTeQlsKSp+f6nyUtIrSu+Mgpf8DvD4KZkGjAFbi0NECpDx4Ea/j03tQZ
l26wjSBPXuPVW77WKetG/4JbTbVzfbej97hufgcGKSf+augKkeK+OyqfLhXQ8Exi
Q93cL9rOT1Mkkf39g6dtEP43Ou2c88veCyyFteS76BCVSXhTLvWvOv/buVnpN29V
qNL3ruYit1XqmOV5mpjF84vqtiQPd8Qf/ry0wW+y/EweukCXeuS3WFX7lyN7FwxP
dP1Agggpa7+b093oAE7mmc+pTZie7U6VyjlkWAZNeAGXWE4V2/csHARTXdXVMtLj
fZ5mrvCl
=Re2O
-----END PGP SIGNATURE-----

Attachment: pgp7urKRxlrWS.pgp
Description: PGP signature


--- End Message ---

Reply via email to