bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65936] [grohtml] litters working directory with 0-length image fil


From: G. Branden Robinson
Subject: [bug #65936] [grohtml] litters working directory with 0-length image files
Date: Fri, 5 Jul 2024 04:26:37 -0400 (EDT)

Update of bug #65936 (group groff):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #3:

I can't reproduce this with stock _groff_ 1.23.0 or Git HEAD.


$ ~/groff-stable/bin/groff --version | head -n 1
GNU groff version 1.23.0
$ ~/groff-stable/bin/groff -p -e -t -ms -Thtml ms.ms >| ms.html
troff:./ms.ms:213: error: suppression limit registers span more than a page;
grohtml-info for image 1 will be wrong
troff:./ms.ms:360: error: suppression limit registers span more than a page;
grohtml-info for image 5 will be wrong
troff:./ms.ms:1783: error: suppression limit registers span more than a page;
grohtml-info for image 20 will be wrong
troff:./ms.ms:2079: error: suppression limit registers span more than a page;
grohtml-info for image 24 will be wrong
troff:./ms.ms:2648: error: suppression limit registers span more than a page;
grohtml-info for image 35 will be wrong
troff:./ms.ms:2795: error: suppression limit registers span more than a page;
grohtml-info for image 40 will be wrong
troff:./ms.ms:3628: error: suppression limit registers span more than a page;
grohtml-info for image 51 will be wrong
troff:./ms.ms:4453: error: suppression limit registers span more than a page;
grohtml-info for image 60 will be wrong
$ ls -1s
total 784
 20 grohtml-3349-1.png
  4 grohtml-3349-10.png
 16 grohtml-3349-11.png
 16 grohtml-3349-12.png
 16 grohtml-3349-13.png
  8 grohtml-3349-14.png
  4 grohtml-3349-15.png
  8 grohtml-3349-16.png
  4 grohtml-3349-17.png
  4 grohtml-3349-18.png
 32 grohtml-3349-19.png
  8 grohtml-3349-2.png
 16 grohtml-3349-20.png
  8 grohtml-3349-21.png
  4 grohtml-3349-22.png
 16 grohtml-3349-23.png
  8 grohtml-3349-24.png
  4 grohtml-3349-25.png
  4 grohtml-3349-26.png
  8 grohtml-3349-27.png
  4 grohtml-3349-28.png
  4 grohtml-3349-29.png
  8 grohtml-3349-3.png
  4 grohtml-3349-30.png
  8 grohtml-3349-31.png
  8 grohtml-3349-32.png
 20 grohtml-3349-33.png
  4 grohtml-3349-34.png
  4 grohtml-3349-35.png
  4 grohtml-3349-36.png
  4 grohtml-3349-37.png
  4 grohtml-3349-38.png
  8 grohtml-3349-39.png
  4 grohtml-3349-4.png
 16 grohtml-3349-40.png
  8 grohtml-3349-41.png
  8 grohtml-3349-42.png
  4 grohtml-3349-43.png
  4 grohtml-3349-44.png
  8 grohtml-3349-45.png
  8 grohtml-3349-46.png
  8 grohtml-3349-47.png
  8 grohtml-3349-48.png
  4 grohtml-3349-49.png
  8 grohtml-3349-5.png
  8 grohtml-3349-50.png
 16 grohtml-3349-51.png
  8 grohtml-3349-52.png
  8 grohtml-3349-53.png
 12 grohtml-3349-54.png
  4 grohtml-3349-56.png
  4 grohtml-3349-57.png
  8 grohtml-3349-58.png
  4 grohtml-3349-59.png
  4 grohtml-3349-6.png
 16 grohtml-3349-60.png
 32 grohtml-3349-7.png
 32 grohtml-3349-8.png
 16 grohtml-3349-9.png
156 ms.html
 76 ms.ms


Given that, I suspect the problem to be with netpbm.


$ type -p pnmcrop
/usr/bin/pnmcrop
$ dpkg -S $(!!)
dpkg -S $(type -p pnmcrop)
netpbm: /usr/bin/pnmcrop
$ dpkg -l netpbm
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-===============================================
ii  netpbm         2:10.0-15.4  amd64        Graphics conversion tools between
image formats


Is there any way you can get your hands on a different version of netpbm to
try it?

We do have the following recent note in our "PROBLEMS" file (unfortunately, I
think most distributors don't ship it, and to be fair we don't install it).


[groff next]

* When I run "groff -Thtml", I get complaints from pnmcrop.

  pnmcrop: The image is entirely background; there is nothing to crop.

This appears to be two bugs in Netpbm 11.01.00 through 11.3.5 at least;
the diagnostic is spurious, and pnmcrop is ignoring or overriding the
"-quiet" option that the pre-grohtml(1) program passes to it.  We see
this in groff builds when generating the "pic.html" and "webpage.html"
documents, but the images are correctly created nonetheless.


Possibly the problem is worse than I thought, or there are even more than I
thought.

Feedback desired.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65936>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]