[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66504] [gropdf] build failure on Solaris 10
From: |
G. Branden Robinson |
Subject: |
[bug #66504] [gropdf] build failure on Solaris 10 |
Date: |
Tue, 3 Dec 2024 17:38:16 -0500 (EST) |
Follow-up Comment #6, bug #66504 (group groff):
Hi Deri,
At 2024-12-03T11:50:50-0500, Deri James wrote:
> Follow-up Comment #4, bug #66504 (group groff):
>
> Hi Branden,
>
> Please can you test this patch on your Solaris.
With this patch, we can complete a build on Solaris 10! :D
Now for the less good news.
I get repeated sequences of warnings from Perl when gropdf is used.
GROFF contrib/mom/examples/mom-pdf.pdf
gropdf: warning: Perl module 'Compress::Zlib' not available; cannot compress
this PDF
Use of uninitialized value in length at
/home/gbranden/groff-1.23.0.2583-0f0e1/gropdf line 2028, <> line 97.
Use of uninitialized value in length at
/home/gbranden/groff-1.23.0.2583-0f0e1/gropdf line 2030, <> line 97.
Use of uninitialized value in length at
/home/gbranden/groff-1.23.0.2583-0f0e1/gropdf line 2046, <> line 97.
It's basically these, over and over again.
I'm not bothered about the 'Compress::Zlib' thing; it explains itself.
Here's the relevant code for the others:
$ nl -ba ./gropdf | sed -n '2028,2046p'
2028 $St=$xprm[4] if length($xprm[4]);
2029
2030 if (!defined($S) and !length($P))
2031 {
2032 $P=' ';
2033 }
2034
2035 if ($St and $St!~m/^-?\d+$/)
2036 {
2037 Warn("Page numbering start '$St' must be
numeric");
2038 return;
2039 }
2040
2041 $cat->{PageLabels}={Nums => []} if
!exists($cat->{PageLabels});
2042
2043 my $label={};
2044 $label->{S} = "/$S" if $S;
2045 $label->{P} = "($P)" if length($P);
2046 $label->{St} = $St if length($St);
The second problem is that some tests fail. One of these looks related
to this ticket:
$ ./tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
Sequence (?<w...) not recognized in regex; marked by <-- HERE in
m/Page\s+size:\s+(?<w <-- HERE >[\d.]+)\sx\s(?<h>[\d.]+)/ at -e line 1.
Sequence (?<w...) not recognized in regex; marked by <-- HERE in
m/(?:(?:[,=A-Z]|JP2) (?<w <-- HERE
>\d+)\s*x\s*(?<h>\d+))|(?:height=(?<h>\d+).+width=(?<w>\d+))/ at -e line 1.
pdfpic.tmac:<standard input>:5: error: retrieval of
'./doc/gnu-no-choke-on-pdfinfo.pdf' image dimensions failed; skipping
Maybe pdfpic.tmac needs regex backporting as well?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66504>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/01
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/01
- [bug #66504] [gropdf] build failure on Solaris 10, Deri James, 2024/12/02
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/02
- [bug #66504] [gropdf] build failure on Solaris 10, Deri James, 2024/12/03
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/03
- [bug #66504] [gropdf] build failure on Solaris 10,
G. Branden Robinson <=
- [bug #66504] [gropdf] build failure on Solaris 10, Deri James, 2024/12/03
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/04
- [bug #66504] [patch][gropdf] build failure on Solaris 10, Deri James, 2024/12/05
- [bug #66504] [PATCH] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/06
- [bug #66504] [PATCH] [gropdf] build failure on Solaris 10, G. Branden Robinson, 2024/12/06