----- Mail original -----
> De: "Werner LEMBERG" <[email protected]>
> À: "g esp" <[email protected]>
> Cc: [email protected]
> Envoyé: Jeudi 31 Janvier 2013 12:44:30
> Objet: Re: groff-current fail to compile
> 
> 
> >> You need more programs for compiling from the CVS than from the
> >> tarball.  In particular, you need a bunch of netpbm programs which
> >> you obviously don't have on your machine.
> >
> > That may explain why I encounter different issues patching 1.22.1
> > using groff-1.22.1-current.diff.gz.  I am unsure all the issues new
> > from 1.22.x were fixed by current cvs code.  But that's hard to
> > test
> > when you have other issues compiling the sources.
> 
> :-)
> 
that was better with 1.22.1 patched with diff.gz. I could compile again.
I could confirm some of the warnings new in 1.22.1 remain in cvs code.
See attached log

Looking at font/devpdf/util/BuildFoundries were the warnings come from,
I see 2 unimportant typo.
Here is a patch with more typo fixed (with partial help from misspellings)

Gilles
Index: contrib/chem/examples/122/ch4y_reserpine.chem
===================================================================
RCS file: /sources/groff/groff/contrib/chem/examples/122/ch4y_reserpine.chem,v
retrieving revision 1.4
diff -u -r1.4 ch4y_reserpine.chem
--- contrib/chem/examples/122/ch4y_reserpine.chem	5 Jan 2009 20:10:35 -0000	1.4
+++ contrib/chem/examples/122/ch4y_reserpine.chem	31 Jan 2013 22:01:27 -0000
@@ -48,7 +48,7 @@
     back bond down from R5.V4 ; O
     CH3 right of O
     bond 120 from R5.V3 ; O
-    bond right lenght .1 from O ; C
+    bond right length .1 from O ; C
     double bond down ; O
     bond right length .1 from C
 B:  benzene pointing right
Index: contrib/groffer/perl/groffer.man
===================================================================
RCS file: /sources/groff/groff/contrib/groffer/perl/groffer.man,v
retrieving revision 1.18
diff -u -r1.18 groffer.man
--- contrib/groffer/perl/groffer.man	22 Jan 2013 00:29:40 -0000	1.18
+++ contrib/groffer/perl/groffer.man	31 Jan 2013 22:01:27 -0000
@@ -2543,7 +2543,7 @@
 can be chosen by several methods.
 .
 .Topic
-Enviroment variable
+Environment variable
 .Env_var $LANG .
 .
 .Topic
Index: contrib/groffer/perl/man.pl
===================================================================
RCS file: /sources/groff/groff/contrib/groffer/perl/man.pl,v
retrieving revision 1.6
diff -u -r1.6 man.pl
--- contrib/groffer/perl/man.pl	22 Jan 2013 00:29:40 -0000	1.6
+++ contrib/groffer/perl/man.pl	31 Jan 2013 22:01:27 -0000
@@ -142,7 +142,7 @@
 #              $main::Man{EXT}, $tmpdir
 #         out: $main::Manspec
 #
-# Arguments: 1, a hash refernce with keys 'name', 'sec', 'ext', where
+# Arguments: 1, a hash reference with keys 'name', 'sec', 'ext', where
 #               'sec' is a string of one or several section characters
 #
 sub is_man {
@@ -201,7 +201,7 @@
 # Globals in: $main::Manspec, $main::Man{MANSPEC}, $main::Man{SEC_CHARS},
 #             $main::Man{EXT}, $main::Man{ALL}
 #
-# Arguments: 1, a hash refernce with keys 'name', 'sec', 'ext', where
+# Arguments: 1, a hash reference with keys 'name', 'sec', 'ext', where
 #               'sec' is a string of one or several section characters
 #
 sub man_get {
Index: contrib/groffer/shell/README_SH
===================================================================
RCS file: /sources/groff/groff/contrib/groffer/shell/README_SH,v
retrieving revision 1.6
diff -u -r1.6 README_SH
--- contrib/groffer/shell/README_SH	22 Jan 2013 00:29:41 -0000	1.6
+++ contrib/groffer/shell/README_SH	31 Jan 2013 22:01:28 -0000
@@ -62,7 +62,7 @@
 
 Function Definitions in `groffer2.sh'
 
-Each funtion in groffer2.sh has a description that starts with the
+Each function in groffer2.sh has a description that starts with the
 function name and symbols for its arguments in parentheses `()'.  Each
 `<>' construction gives an argument name that just gives a hint on
 what the argument is meant to be; these argument names are otherwise
@@ -156,7 +156,7 @@
 name.  These quasi-local variables are unset before each return of the
 function.
 
-For shell compatiblity, see also Autobook, chapter 22.
+For shell compatibility, see also Autobook, chapter 22.
 
 The `groffer' scripts were tested under the shells `ash', `bash',
 `bash-minimal', `dash', 'ksh', `mksh', `pdksh', 'posh', and `zsh'
Index: contrib/groffer/shell/groffer.man
===================================================================
RCS file: /sources/groff/groff/contrib/groffer/shell/groffer.man,v
retrieving revision 1.17
diff -u -r1.17 groffer.man
--- contrib/groffer/shell/groffer.man	22 Jan 2013 00:29:41 -0000	1.17
+++ contrib/groffer/shell/groffer.man	31 Jan 2013 22:01:28 -0000
@@ -2616,7 +2616,7 @@
 can be chosen by several methods.
 .
 .Topic
-Enviroment variable
+Environment variable
 .Env_var $LANG .
 .
 .Topic
Index: contrib/mom/om.tmac
===================================================================
RCS file: /sources/groff/groff/contrib/mom/om.tmac,v
retrieving revision 1.69
diff -u -r1.69 om.tmac
--- contrib/mom/om.tmac	29 Jan 2013 05:02:45 -0000	1.69
+++ contrib/mom/om.tmac	31 Jan 2013 22:01:34 -0000
@@ -1088,7 +1088,7 @@
 \# ---------------
 \# The strings \*[ALD.25]...\*[ALD12.75] and their corresponding
 \# \*[RLD] forms have been left in for backward compatibility with
-\# documents created using mom-1.1.3c or earlier.  The prefered methods
+\# documents created using mom-1.1.3c or earlier.  The preferred methods
 \# of advancing and reversing on the page inline are \*[UP <n><unit>]
 \# and \*[DOWN <n><unit>].
 \#
@@ -4172,7 +4172,7 @@
 \# *Arguments:
 \#   <none> | <anything>
 \# *Function:
-\#   Instructs TYPEWRITE to underline occurences of \*[SLANT], or
+\#   Instructs TYPEWRITE to underline occurrences of \*[SLANT], or
 \#   turns feature off.
 \# *Notes:
 \#   Users may want \*[SLANT] to mean slant in TYPEWRITE, although
@@ -8669,7 +8669,7 @@
 \#
 \# Typically, the author string appears at the left of header/footers,
 \# and the title string appears at the right.  This switches the
-\# location of the two.  Useful in conjuction with RECTO_VERSO to tweak
+\# location of the two.  Useful in conjunction with RECTO_VERSO to tweak
 \# switches on alternate pages to come out as the user wishes.  The
 \# assumption of RECTO_VERSO is that the first page of the document
 \# (recto) is odd, and even though it has no header/footer, if it did
@@ -17015,7 +17015,7 @@
 \# Output collected refs
 \#
 .de ref*end-print
-.\" 10 is abritrary
+.\" 10 is arbitrary
 .nn 10
 .nr #REF_BIB_INDENT (u;\\*[$REF_BIB_INDENT])
 .ie \\n[#BIB_LIST]=0 \{\
Index: contrib/mom/momdoc/docprocessing.html
===================================================================
RCS file: /sources/groff/groff/contrib/mom/momdoc/docprocessing.html,v
retrieving revision 1.42
diff -u -r1.42 docprocessing.html
--- contrib/mom/momdoc/docprocessing.html	29 Jan 2013 05:02:46 -0000	1.42
+++ contrib/mom/momdoc/docprocessing.html	31 Jan 2013 22:01:35 -0000
@@ -3360,7 +3360,7 @@
 
 <p>
 If you need the space, you must use the macro, ADD_SPACE, in
-conjuction with
+conjunction with
 <a href="typesetting.html#newpage">NEWPAGE</a>.
 </p>
 
@@ -3708,7 +3708,7 @@
 </p>
 
 <p>
-The situation is rare, generally occuring only when some additional
+The situation is rare, generally occurring only when some additional
 macro is required after the input text, eg to exit a
 <a href="docelement.html#list-intro">list</a>
 or terminate a
Index: contrib/mom/momdoc/macrolist.html
===================================================================
RCS file: /sources/groff/groff/contrib/mom/momdoc/macrolist.html,v
retrieving revision 1.21
diff -u -r1.21 macrolist.html
--- contrib/mom/momdoc/macrolist.html	29 Jan 2013 05:02:46 -0000	1.21
+++ contrib/mom/momdoc/macrolist.html	31 Jan 2013 22:01:36 -0000
@@ -1121,7 +1121,7 @@
 <td><a href="headfootpage.html#hdrftr-style-part">Part-by-part</a></td><td>-- part-by-part style changes</td>
 </tr>
 <tr>
-<td><a href="headfootpage.html#vertical-spacing">Vertical placement</a></td><td>-- adjust postion of headers and/or footers</td>
+<td><a href="headfootpage.html#vertical-spacing">Vertical placement</a></td><td>-- adjust position of headers and/or footers</td>
 </tr>
 <tr>
 <td><a href="headfootpage.html#hdrftr-separator">Separator rule</a></td><td>-- manage the header/footer separator rule</td>
Index: contrib/pdfmark/pdfmark.tmac
===================================================================
RCS file: /sources/groff/groff/contrib/pdfmark/pdfmark.tmac,v
retrieving revision 1.13
diff -u -r1.13 pdfmark.tmac
--- contrib/pdfmark/pdfmark.tmac	28 Jan 2013 10:41:31 -0000	1.13
+++ contrib/pdfmark/pdfmark.tmac	31 Jan 2013 22:01:36 -0000
@@ -1113,7 +1113,7 @@
 .pdf*href.set \\*[pdf:href-N] \\*[pdf:href-D] \\$1
 .\"
 .\" If we specified a cross reference, with the "-X" option, and the
-.\" reference mark has been sucessfully created, then we now need to
+.\" reference mark has been successfully created, then we now need to
 .\" write the cross reference info to the STDERR stream
 .\"
 .if \\n[pdf:href-X] .pdf*href.export \\*[PDFHREF.INFO]
@@ -1649,7 +1649,7 @@
 .      \"
 .      nr pdf:llx \\n(.o+\\n[.in]
 .      \"
-.      \" If the current page can accomodate more than the current line,
+.      \" If the current page can accommodate more than the current line,
 .      \" then it will include a second active region for this link; this
 .      \" will extend from just below the current line to the end of page
 .      \" trap, if any, or the bottom of the page otherwise, and occupy
Index: contrib/pdfmark/pdfroff.sh
===================================================================
RCS file: /sources/groff/groff/contrib/pdfmark/pdfroff.sh,v
retrieving revision 1.18
diff -u -r1.18 pdfroff.sh
--- contrib/pdfmark/pdfroff.sh	23 Dec 2010 21:24:53 -0000	1.18
+++ contrib/pdfmark/pdfroff.sh	31 Jan 2013 22:01:36 -0000
@@ -545,7 +545,7 @@
   test "$PDF_OUTPUT" = "$NULLDEV" && exit 0
 #
 # We are now ready to start preparing the intermediate PostScript files,
-# from which the PDF output will be compiled -- but before proceding further ...
+# from which the PDF output will be compiled -- but before proceeding further ...
 # let's make sure we have a GhostScript interpreter to convert them!
 #
   if test -n "$GROFF_GHOSTSCRIPT_INTERPRETER"
Index: tmac/e.tmac
===================================================================
RCS file: /sources/groff/groff/tmac/e.tmac,v
retrieving revision 1.13
diff -u -r1.13 e.tmac
--- tmac/e.tmac	25 Jan 2012 07:10:10 -0000	1.13
+++ tmac/e.tmac	31 Jan 2013 22:01:37 -0000
@@ -865,7 +865,7 @@
 ..
 .
 .
-.\"		*** COLUMNNED OUTPUT ***
+.\"		*** COLUMNED OUTPUT ***
 .
 .
 .de 2c			\" *** double columned output
@@ -877,7 +877,7 @@
 .if \\n(.$>1 \
 .	nr $m \\$2
 .if \\n(.$>0 \
-.	nr $s \\$1n		\" param 1: column seperation
+.	nr $s \\$1n		\" param 1: column separation
 .nr $l (\\n(.l-((\\n($m-1)*\\n($s))/\\n($m
 .xl \\n($lu
 .mk _k
echo "# foundry	ps name	psfile" > /usr/src/groff-1.22.1/font/devpdf/download
PATH="/usr/src/groff-1.22.1/src/utils/afmtodit:/tools_i486/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools_i486/bin" \
  util/BuildFoundries /usr/src/groff-1.22.1/font/devpdf \
    '/usr/src/groff-1.22.1/font/devps : /usr/src/groff-1.22.1/font/devps' \
  >> /usr/src/groff-1.22.1/font/devpdf/download
Warning: line 28: Unable to locate font(s) URWGothicL-Demi,a010015l.pfb on the given path(s)
Warning: line 29: Unable to locate font(s) URWGothicL-DemiObli,a010035l.pfb on the given path(s)
Warning: line 30: Unable to locate font(s) URWGothicL-BookObli,a010033l.pfb on the given path(s)
Warning: line 31: Unable to locate font(s) URWGothicL-Book,a010013l.pfb on the given path(s)
Warning: line 32: Unable to locate font(s) URWBookmanL-DemiBold,b018015l.pfb on the given path(s)
Warning: line 33: Unable to locate font(s) URWBookmanL-DemiBoldItal,b018035l.pfb on the given path(s)
Warning: line 34: Unable to locate font(s) URWBookmanL-LighItal,b018032l.pfb on the given path(s)
Warning: line 35: Unable to locate font(s) URWBookmanL-Ligh,b018012l.pfb on the given path(s)
Copied grops font CB...
Copied grops font CBI...
Copied grops font CI...
Copied grops font CR...
Copied grops font EURO...
Copied grops font HB...
Copied grops font HBI...
Copied grops font HI...
Warning: line 44: Unable to locate font(s) NimbusSanL-BoldCond,n019044l.pfb on the given path(s)
Warning: line 45: Unable to locate font(s) NimbusSanL-BoldCondItal,n019064l.pfb on the given path(s)
Warning: line 46: Unable to locate font(s) NimbusSanL-ReguCondItal,n019063l.pfb on the given path(s)
Warning: line 47: Unable to locate font(s) NimbusSanL-ReguCond,n019043l.pfb on the given path(s)
Copied grops font HR...
Warning: line 49: Unable to locate font(s) CenturySchL-Bold,c059016l.pfb on the given path(s)
Warning: line 50: Unable to locate font(s) CenturySchL-BoldItal,c059036l.pfb on the given path(s)
Warning: line 51: Unable to locate font(s) CenturySchL-Ital,c059033l.pfb on the given path(s)
Warning: line 52: Unable to locate font(s) CenturySchL-Roma,c059013l.pfb on the given path(s)
Warning: line 53: Unable to locate font(s) URWPalladioL-Bold,p052004l.pfb on the given path(s)
Warning: line 54: Unable to locate font(s) URWPalladioL-BoldItal,p052024l.pfb on the given path(s)
Warning: line 55: Unable to locate font(s) URWPalladioL-Ital,p052023l.pfb on the given path(s)
Warning: line 56: Unable to locate font(s) URWPalladioL-Roma,p052003l.pfb on the given path(s)
Copied grops font S...
Copied grops font TB...
Copied grops font TBI...
Copied grops font TI...
Copied grops font TR...
Warning: line 62: Unable to locate font(s) URWChanceryL-MediItal,z003034l.pfb on the given path(s)
Copied grops font ZD...
Warning: line 77: Failed to create groff font 'U-AB' by running afmtodit
Warning: line 78: Failed to create groff font 'U-ABI' by running afmtodit
Warning: line 79: Failed to create groff font 'U-AI' by running afmtodit
Warning: line 80: Failed to create groff font 'U-AR' by running afmtodit
Warning: line 81: Failed to create groff font 'U-BMB' by running afmtodit
Warning: line 82: Failed to create groff font 'U-BMBI' by running afmtodit
Warning: line 83: Failed to create groff font 'U-BMI' by running afmtodit
Warning: line 84: Failed to create groff font 'U-BMR' by running afmtodit
Warning: line 85: Failed to create groff font 'U-CB' by running afmtodit
Warning: line 86: Failed to create groff font 'U-CBI' by running afmtodit
Warning: line 87: Failed to create groff font 'U-CI' by running afmtodit
Warning: line 88: Failed to create groff font 'U-CR' by running afmtodit
Warning: line 89: Failed to create groff font 'U-HB' by running afmtodit
Warning: line 90: Failed to create groff font 'U-HBI' by running afmtodit
Warning: line 91: Failed to create groff font 'U-HI' by running afmtodit
Warning: line 92: Failed to create groff font 'U-HNB' by running afmtodit
Warning: line 93: Failed to create groff font 'U-HNBI' by running afmtodit
Warning: line 94: Failed to create groff font 'U-HNI' by running afmtodit
Warning: line 95: Failed to create groff font 'U-HNR' by running afmtodit
Warning: line 96: Failed to create groff font 'U-HR' by running afmtodit
Warning: line 97: Failed to create groff font 'U-NB' by running afmtodit
Warning: line 98: Failed to create groff font 'U-NBI' by running afmtodit
Warning: line 99: Failed to create groff font 'U-NI' by running afmtodit
Warning: line 100: Failed to create groff font 'U-NR' by running afmtodit
Warning: line 101: Failed to create groff font 'U-PB' by running afmtodit
Warning: line 102: Failed to create groff font 'U-PBI' by running afmtodit
Warning: line 103: Failed to create groff font 'U-PI' by running afmtodit
Warning: line 104: Failed to create groff font 'U-PR' by running afmtodit
Warning: line 105: Failed to create groff font 'U-S' by running afmtodit
Warning: line 106: Failed to create groff font 'U-TB' by running afmtodit
Warning: line 107: Failed to create groff font 'U-TBI' by running afmtodit
Warning: line 108: Failed to create groff font 'U-TI' by running afmtodit
Warning: line 109: Failed to create groff font 'U-TR' by running afmtodit
Warning: line 110: Failed to create groff font 'U-ZCMI' by running afmtodit
Warning: line 111: Failed to create groff font 'U-ZD' by running afmtodit
make[2]: Leaving directory `/usr/src/groff-1.22.1/font/devpdf'
make[2]: Entering directory `/usr/src/groff-1.22.1/contrib/mom'
for f in om.tmac; do \
  rm -f $f-s; \
  sed -f /usr/src/groff-1.22.1/tmac/strip.sed ./$f >$f-s; \
done
touch stamp-strip
cp ./examples/penguin.ps .
cp ./examples/penguin.pdf .
test -d examples || /bin/sh /usr/src/groff-1.22.1/mkinstalldirs examples
touch examples/stamp
GROFF_COMMAND_PREFIX= GROFF_BIN_PATH="`echo /usr/src/groff-1.22.1/src/roff/groff /usr/src/groff-1.22.1/src/roff/troff /usr/src/groff-1.22.1/src/devices/grops /usr/src/groff-1.22.1/src/devices/gropdf | sed -e 's|  *|:|g'`" PDFMOM_BIN_PATH="/usr/src/groff-1.22.1/src/devices/gropdf" /usr/src/groff-1.22.1/src/devices/gropdf/pdfmom -F/usr/src/groff-1.22.1/font -F/usr/src/groff-1.22.1/font -M/usr/src/groff-1.22.1/tmac -M/usr/src/groff-1.22.1/tmac -M. examples/letter.mom >examples/letter.pdf
GROFF_COMMAND_PREFIX= GROFF_BIN_PATH="`echo /usr/src/groff-1.22.1/src/roff/groff /usr/src/groff-1.22.1/src/roff/troff /usr/src/groff-1.22.1/src/devices/grops /usr/src/groff-1.22.1/src/devices/gropdf | sed -e 's|  *|:|g'`" PDFMOM_BIN_PATH="/usr/src/groff-1.22.1/src/devices/gropdf" /usr/src/groff-1.22.1/src/devices/gropdf/pdfmom -F/usr/src/groff-1.22.1/font -F/usr/src/groff-1.22.1/font -M/usr/src/groff-1.22.1/tmac -M/usr/src/groff-1.22.1/tmac -M. examples/mom-pdf.mom >examples/mom-pdf.pdf
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:6: can't transparently output node at top level
examples/mom-pdf.mom:542: can't transparently output node at top level
examples/mom-pdf.mom:542: can't transparently output node at top level
examples/mom-pdf.mom:542: can't transparently output node at top level
examples/mom-pdf.mom:542: can't transparently output node at top level
GROFF_COMMAND_PREFIX= GROFF_BIN_PATH="`echo /usr/src/groff-1.22.1/src/roff/groff /usr/src/groff-1.22.1/src/roff/troff /usr/src/groff-1.22.1/src/devices/grops /usr/src/groff-1.22.1/src/devices/gropdf | sed -e 's|  *|:|g'`" PDFMOM_BIN_PATH="/usr/src/groff-1.22.1/src/devices/gropdf" /usr/src/groff-1.22.1/src/devices/gropdf/pdfmom -F/usr/src/groff-1.22.1/font -F/usr/src/groff-1.22.1/font -M/usr/src/groff-1.22.1/tmac -M/usr/src/groff-1.22.1/tmac -M. examples/sample_docs.mom >examples/sample_docs.pdf
examples/sample_docs.mom:376: can't transparently output node at top level
GROFF_COMMAND_PREFIX= GROFF_BIN_PATH="`echo /usr/src/groff-1.22.1/src/roff/groff /usr/src/groff-1.22.1/src/roff/troff /usr/src/groff-1.22.1/src/devices/grops /usr/src/groff-1.22.1/src/devices/gropdf | sed -e 's|  *|:|g'`" PDFMOM_BIN_PATH="/usr/src/groff-1.22.1/src/devices/gropdf" /usr/src/groff-1.22.1/src/devices/gropdf/pdfmom -F/usr/src/groff-1.22.1/font -F/usr/src/groff-1.22.1/font -M/usr/src/groff-1.22.1/tmac -M/usr/src/groff-1.22.1/tmac -M. examples/typesetting.mom >examples/typesetting.pdf
examples/typesetting.mom:302: warning: can't find font `NB'
examples/typesetting.mom:303: warning: can't find font `NR'
[mom]: Either font style "R" at line 303 does not exist in family "N",
       or family "N" has not been installed.
Aborting 'examples/typesetting.mom' at FT, line 303.
Making groff_mom.n from groff_mom.man
make[2]: Leaving directory `/usr/src/groff-1.22.1/contrib/mom'
make[2]: Entering directory `/usr/src/groff-1.22.1/contrib/gdiffmk'
rm -f gdiffmk;						\
sed -e "s|@BINDIR@|/usr/bin|g"				\
    -e "s|@VERSION@|1.22.1|g"		\
    -e 1s/a/a/  ./gdiffmk.sh  >gdiffmk;	\
chmod +x gdiffmk
Making gdiffmk.n from gdiffmk.man
make[2]: Leaving directory `/usr/src/groff-1.22.1/contrib/gdiffmk'
make[2]: Entering directory `/usr/src/groff-1.22.1'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/groff-1.22.1'
make[1]: Leaving directory `/usr/src/groff-1.22.1'

Reply via email to