[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63808] configure gives incorrect information regarding pdf generat
From: |
G. Branden Robinson |
Subject: |
[bug #63808] configure gives incorrect information regarding pdf generation |
Date: |
Fri, 24 Feb 2023 09:27:46 -0500 (EST) |
Follow-up Comment #61, bug #63808 (project groff):
[comment #58 comment #58:]
> A message from configure the URW fonts are not found.
> No warnings from BuildFoundries.
> Only the default foundry groff fonts (base-35 plus EURO).
> check-default-foundry has passed.
> check-urw-foundry is not run/skipped.
> All pdf docs produced with no unexpected warnings.
>
> If all the above then it is a successful run,
What this means is that comment #54 doesn't look so good after all.
>From my re-contrived build, with urw-base35 installed but moved aside, and
Ghostscript's Resource/Font also moved aside, but replaced with your font
archive from comment #41, I have the following.
$ ls -l /usr/share/ghostscript/9.53.3/Resource/Font~
total 24
lrwxrwxrwx 1 root root 48 Jan 4 2022 C059-BdIta ->
../../../../fonts/type1/urw-base35/C059-BdIta.t1
lrwxrwxrwx 1 root root 47 Jan 4 2022 C059-Bold ->
../../../../fonts/type1/urw-base35/C059-Bold.t1
lrwxrwxrwx 1 root root 49 Jan 4 2022 C059-Italic ->
../../../../fonts/type1/urw-base35/C059-Italic.t1
lrwxrwxrwx 1 root root 48 Jan 4 2022 C059-Roman ->
../../../../fonts/type1/urw-base35/C059-Roman.t1
lrwxrwxrwx 1 root root 46 Jan 4 2022 D050000L ->
../../../../fonts/type1/urw-base35/D050000L.t1
...
$ ls -l /usr/share/ghostscript/9.53.3/Resource/Font
total 4448
-rw-r--r-- 1 root root 152585 May 10 2022 C059-BdIta
-rw-r--r-- 1 root root 146014 May 10 2022 C059-Bold
-rw-r--r-- 1 root root 148928 May 10 2022 C059-Italic
-rw-r--r-- 1 root root 145084 May 10 2022 C059-Roman
-rw-r--r-- 1 root root 43343 May 10 2022 D050000L
...
$ ls -dl /usr/share/fonts/type1/urw-base35{~,}
ls: cannot access '/usr/share/fonts/type1/urw-base35': No such file or
directory
drwxr-xr-x 2 root root 4096 Feb 24 14:15 /usr/share/fonts/type1/urw-base35~
$ ./configure --prefix=$HOME
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
...
checking for gs... gs
checking for pnmcrop... found
checking for pnmcut... found
checking for pnmtopng... found
checking for pnmtops... found
checking for psselect... missing
checking for URW fonts in Type 1/PFB format... found in
/usr/share/ghostscript/9.53.3/Resource/Font
checking whether pnmtops accepts the '-nosetpage' option... yes
checking whether make defines 'RM'... yes
checking for a diff program that supports option -D... yes
checking whether test supports option -ef... yes
checking for bash... /usr/bin/bash
checking for gs version with good left sidebearing handling... got 9.53.3
(buggy)
checking whether we are using the GNU C Library >= 2.1 or uClibc... (cached)
yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test-groff
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
GNU roff version 1.23.0.rc3.25-fc35
----------------------------------------------------------------------
installation directory prefix : /home/branden
C++ compiler and options : g++ -g -O2
use libgroff's memory allocator : no
C compiler and options : gcc -g -O2
Perl interpreter version : 5.32.1
X11 support : disabled
'groff -l' uses print spooler : no
use URW fonts for PDF output : yes
URW fonts directory :
/usr/share/ghostscript/9.53.3/Resource/Font
preconv can use uchardet library : no
can build groff.dvi, groff.pdf : no
tests can use poppler PDF tools : no
----------------------------------------------------------------------
configure: Buggy version of Ghostscript detected.
Ghostscript versions 9.00 <= x < 9.54 suffer from a rendering glitch
that affects the AT&T troff (and groff) special character '\(lh'; see
<https://bugs.ghostscript.com/show_bug.cgi?id=703187>. If your
version of Ghostscript has not been patched to fix this problem, you
may need to work around it in groff documents you render for the
PostScript (and, for tbl(1) tables, HTML) output devices.
configure: The uchardet library was not found.
The 'preconv' preprocessor program will be unable to attempt automatic
inference of an input file's character encoding. See the preconv(1)
man page.
configure: The program 'psselect' was not found in $PATH.
Consequently, groff's HTML output driver, 'grohtml', will not work
properly. It will not be possible to prepare or install
groff-generated documentation in HTML format.
$
And the build goes wrong.
$ make
GEN lib/alloca.h
GEN lib/inttypes.h
GEN lib/limits.h
GEN lib/math.h
GEN lib/stdio.h
GEN lib/stdlib.h
GEN lib/string.h
GEN lib/sys/types.h
GEN lib/unistd.h
GEN lib/unitypes.h
GEN lib/uniwidth.h
GEN lib/wchar.h
GEN lib/wctype.h
GEN contrib/chem/README
GEN font/devpdf/DESC
GEN font/devpdf/Foundry
GEN shdeps.sed
GEN afmtodit
GEN font/devpdf/util/BuildFoundries
GEN font/devpdf/download
BuildFoundries: notice: copied grops font AB
BuildFoundries: notice: copied grops font ABI
BuildFoundries: notice: copied grops font AI
BuildFoundries: notice: copied grops font AR
BuildFoundries: notice: copied grops font BMB
BuildFoundries: notice: copied grops font BMBI
BuildFoundries: notice: copied grops font BMI
BuildFoundries: notice: copied grops font BMR
BuildFoundries: notice: copied grops font CB
BuildFoundries: notice: copied grops font CBI
BuildFoundries: notice: copied grops font CI
BuildFoundries: notice: copied grops font CR
BuildFoundries: notice: copied grops font HB
BuildFoundries: notice: copied grops font HBI
BuildFoundries: notice: copied grops font HI
BuildFoundries: notice: copied grops font HNB
BuildFoundries: notice: copied grops font HNBI
BuildFoundries: notice: copied grops font HNI
BuildFoundries: notice: copied grops font HNR
BuildFoundries: notice: copied grops font HR
BuildFoundries: notice: copied grops font NB
BuildFoundries: notice: copied grops font NBI
BuildFoundries: notice: copied grops font NI
BuildFoundries: notice: copied grops font NR
BuildFoundries: notice: copied grops font PB
BuildFoundries: notice: copied grops font PBI
BuildFoundries: notice: copied grops font PI
BuildFoundries: notice: copied grops font PR
BuildFoundries: notice: copied grops font S
BuildFoundries: notice: copied grops font TB
BuildFoundries: notice: copied grops font TBI
BuildFoundries: notice: copied grops font TI
BuildFoundries: notice: copied grops font TR
BuildFoundries: notice: copied grops font ZCMI
BuildFoundries: notice: copied grops font ZD
BuildFoundries: notice: copied grops font EURO
BuildFoundries: error: cannot locate AFM file for font 'U-AB'
make: *** [Makefile:14915: font/devpdf/download] Error 2
> A message from configure the URW fonts are not found.
FAIL
> No warnings from BuildFoundries.
FAIL
> Only the default foundry groff fonts (base-35 plus EURO).
Success, but only because BuildFoundries bombed when it tried to generate the
URW font descriptions, which it should not have tried to do.
$ ls font/devpdf/
AB AR BMI CBI DESC Foundry HBI HNBI HR NI PBI S TI
ZD enc util
ABI BMB BMR CI DESC.in Foundry.in HI HNI NB NR PI TB TR
devpdf.am map
AI BMBI CB CR EURO HB HNB HNR NBI PB PR TBI ZCMI
download.tmp tests
> check-default-foundry has passed.
Didn't get that far.
> check-urw-foundry is not run/skipped.
Didn't get that far.
> All pdf docs produced with no unexpected warnings.
Didn't get that far.
So what I will do is drop the "gs -h" scraping from our Autoconf macro
GROFF_URW_FONTS_CHECK, and see what happens then.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63808>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63808] configure gives incorrect information regarding pdf generation, (continued)
- [bug #63808] configure gives incorrect information regarding pdf generation, Deri James, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, Deri James, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, Deri James, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation,
G. Branden Robinson <=
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/24
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/25
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/25
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/25
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/25
- [bug #63808] configure gives incorrect information regarding pdf generation, Deri James, 2023/02/26
- [bug #63808] configure gives incorrect information regarding pdf generation, Deri James, 2023/02/26
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/28
- [bug #63808] configure gives incorrect information regarding pdf generation, G. Branden Robinson, 2023/02/28