unnumberedsec within enumerate in doc/gpl.texi ?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Jan 21 01:17:31 CET 2014


I'm trying to replicate a minimalist build pattern on a debian testing
machine.

I take the following steps:

 git clone --branch STABLE-BRANCH-1-4 git://git.gnupg.org/gnupg.git
 cd gnupg/
 ./autogen.sh
 ./configure --enable-maintainer-mode && make

and, i get the following error message when trying to compile the
documentation.  i find this weird, because i can't imagine that gpl.texi
has changed much:

 [...]
make[2]: Entering directory `/tmp/cdtemp.4EuYnI/gnupg/doc'
Updating ./version.texi
restore=: && backupdir=".am$$" && \
	am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (makeinfo --version) >/dev/null 2>&1; then \
	  for f in gnupg1.info gnupg1.info-[0-9] gnupg1.info-[0-9][0-9] gnupg1.i[0-9] gnupg1.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	cd "$am__cwd"; \
	if makeinfo -I . --css-include=./texi.css -D gpgone  -I . \
	 -o gnupg1.info gnupg1.texi; \
	then \
	  rc=0; \
	  CDPATH="${ZSH_VERSION+.}:" && cd .; \
	else \
	  rc=$?; \
	  CDPATH="${ZSH_VERSION+.}:" && cd . && \
	  $restore $backupdir/* `echo "./gnupg1.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
./gpl.texi:668: @unnumberedsec seen before @end enumerate
./gpl.texi:725: unmatched `@end enumerate'
make[2]: *** [gnupg1.info] Error 1
make[2]: Leaving directory `/tmp/cdtemp.4EuYnI/gnupg/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/cdtemp.4EuYnI/gnupg'
make: *** [all] Error 2
2 dkg at alice:/tmp/cdtemp.4EuYnI/gnupg$ 


the following diff seems to resolve the error message:

--------------------------
diff --git a/doc/gpl.texi b/doc/gpl.texi
index 7f9a48a..855ef18 100644
--- a/doc/gpl.texi
+++ b/doc/gpl.texi
@@ -665,6 +665,7 @@ copy of the Program in return for a fee.
 @ifinfo
 @center END OF TERMS AND CONDITIONS
 @end ifinfo
+ at end enumerate
 @unnumberedsec How to Apply These Terms to Your New Programs
 
 If you develop a new program, and you want it to be of the greatest
@@ -722,4 +723,3 @@ applications with the library.  If this is what you want to do, use
 the GNU Lesser General Public License instead of this License.  But
 first, please read @url{http://www.gnu.org/philosophy/why-not-lgpl.html}.
 
- at end enumerate
--------------------------

Is there something wrong with my initial build invocation, or with my
build environment?  i'm having a hard time believing that doc/gpl.texi
is likely to have a bug after all these years.

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20140120/28371956/attachment-0001.sig>


More information about the Gnupg-devel mailing list