Bug#711221: heimdal: FTBFS: texinfo errors

2013-06-05 Thread Daniel Schepler
Source: heimdal
Version: 1.6~git20120403+dfsg1-2
Severity: serious

>From my pbuilder build log:

...
Making all in doc
make[2]: Entering directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1/doc'
sed -e 's,[@]dbdir[@],/var/heimdal,g' -e 's,[@]PACKAGE_VERSION[@],1.5.99,g' < 
./vars.tin > vars.texi.tmp
chmod +x vars.texi.tmp
mv vars.texi.tmp vars.texi
  MAKEINFO heimdal.info
./whatis.texi:39: unknown command `def'
./whatis.texi:39: unknown command `xsub'
./whatis.texi:40: unknown command `global'
./whatis.texi:40: unknown command `let'
./whatis.texi:40: unknown command `xsub' (possibly involving @sub)
./win2k.texi:314: warning: @end should only appear at a line beginning
make[2]: *** [heimdal.info] Error 1
make[2]: Leaving directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#711221: heimdal: FTBFS: texinfo errors

2013-06-05 Thread Brian May
On 6 June 2013 02:14, Daniel Schepler  wrote:

> ...
> Making all in doc
> make[2]: Entering directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1/doc'
> sed -e 's,[@]dbdir[@],/var/heimdal,g' -e
> 's,[@]PACKAGE_VERSION[@],1.5.99,g' < ./vars.tin > vars.texi.tmp
> chmod +x vars.texi.tmp
> mv vars.texi.tmp vars.texi
>   MAKEINFO heimdal.info
> ./whatis.texi:39: unknown command `def'
> ./whatis.texi:39: unknown command `xsub'
> ./whatis.texi:40: unknown command `global'
> ./whatis.texi:40: unknown command `let'
> ./whatis.texi:40: unknown command `xsub' (possibly involving @sub)
> ./win2k.texi:314: warning: @end should only appear at a line beginning
> make[2]: *** [heimdal.info] Error 1
> make[2]: Leaving directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/buildd/heimdal-1.6~git20120403+dfsg1'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>


I think both these files are fixed upstream:

https://github.com/heimdal/heimdal/commit/1846c7a35d1091d3b6140c56befd7fee0a91dcbb
https://github.com/heimdal/heimdal/commit/0e0351776a48a69ec704085e554a0653d8179452

However I haven't uploaded a fixed version in Debian because I still can't
get hx509.texi to build under sid.

make[2]: Leaving directory
`/home/brian/tree/debian/heimdal/heimdal.upstream/po'
Making all in doc
make[2]: Entering directory
`/home/brian/tree/debian/heimdal/heimdal.upstream/doc'
sed -e 's,[@]dbdir[@],/var/heimdal,g' -e 's,[@]PACKAGE_VERSION[@],1.5.99,g'
< ./vars.tin > vars.texi.tmp
chmod +x vars.texi.tmp
mv vars.texi.tmp vars.texi
  MAKEINFO heimdal.info
  MAKEINFO hx509.info
hx509.texi:37: unknown command `def'
hx509.texi:37: unknown command `copynext'
hx509.texi:37: misplaced {
hx509.texi:38: unknown command `def'
hx509.texi:38: unknown command `copyrightstart'
hx509.texi:38: misplaced {
hx509.texi:38: misplaced }
hx509.texi:39: unknown command `def'
hx509.texi:39: unknown command `copyrightend'
hx509.texi:39: misplaced {
hx509.texi:39: misplaced }
hx509.texi:41: unknown command `copyrightstart'
hx509.texi:73: unknown command `copynext'
hx509.texi:105: unknown command `copynext'
hx509.texi:129: unknown command `copynext'
hx509.texi:153: unknown command `copyrightend'
hx509.texi:364: warning: unreferenced node `Creating a CA certificate'
hx509.texi:173: node `Top' lacks menu item for `Creating a CA certificate'
despite being its Up target
hx509.texi:432: warning: unreferenced node `Issuing certificates'
hx509.texi:173: node `Top' lacks menu item for `Issuing certificates'
despite being its Up target
hx509.texi:507: warning: unreferenced node `Issuing CRLs'
hx509.texi:173: node `Top' lacks menu item for `Issuing CRLs' despite being
its Up target
hx509.texi:531: warning: unreferenced node `Application requirements'
hx509.texi:173: node `Top' lacks menu item for `Application requirements'
despite being its Up target
hx509.texi:694: warning: unreferenced node `CMS background'
hx509.texi:173: node `Top' lacks menu item for `CMS background' despite
being its Up target
hx509.texi:704: warning: unreferenced node `Matching syntax'
hx509.texi:173: node `Top' lacks menu item for `Matching syntax' despite
being its Up target
hx509.texi:742: warning: unreferenced node `How to use the PKCS11 module'
hx509.texi:173: node `Top' lacks menu item for `How to use the PKCS11
module' despite being its Up target
make[2]: *** [hx509.info] Error 1
make[2]: Leaving directory
`/home/brian/tree/debian/heimdal/heimdal.upstream/doc'
-- 
Brian May 


Bug#711221: heimdal: FTBFS: texinfo errors

2013-06-12 Thread Daniel Schepler
On Thursday, June 06, 2013 09:02:04 AM Brian May wrote:


I think both these files are fixed upstream:


https://github.com/heimdal/heimdal/commit/1846c7a35d1091d3b6140c56b
efd7fee0a91dcbb[1]

https://github.com/heimdal/heimdal/commit/0e0351776a48a69ec704085e
554a0653d8179452[2]



However I haven't uploaded a fixed version in Debian because I still can't 
get hx509.texi to build under sid.

Here's a patch with which I'm able to build the package.
-- 
Daniel Schepler




[1] 
https://github.com/heimdal/heimdal/commit/1846c7a35d1091d3b6140c56b
efd7fee0a91dcbb
[2] 
https://github.com/heimdal/heimdal/commit/0e0351776a48a69ec704085e
554a0653d8179452
diff -urN heimdal-1.6~git20120403+dfsg1.old/doc/hx509.texi heimdal-1.6~git20120403+dfsg1/doc/hx509.texi
--- heimdal-1.6~git20120403+dfsg1.old/doc/hx509.texi	2012-05-03 15:39:09.0 +
+++ heimdal-1.6~git20120403+dfsg1/doc/hx509.texi	2013-06-12 19:23:31.342744883 +
@@ -34,9 +34,20 @@
 @subtitle 2008
 @author Love Hörnquist Åstrand
 
+@iftex
 @def@copynext{@vskip 20pt plus 1fil}
 @def@copyrightstart{}
 @def@copyrightend{}
+@end iftex
+@ifinfo
+@macro copynext
+@end macro
+@macro copyrightstart
+@end macro
+@macro copyrightend
+@end macro
+@end ifinfo
+
 @page
 @copyrightstart
 Copyright (c) 1994-2008 Kungliga Tekniska Högskolan
@@ -183,6 +194,13 @@
 * CMS signing and encryption::
 * Certificate matching::
 * Software PKCS 11 module::
+* Creating a CA certificate::
+* Issuing certificates::
+* Issuing CRLs::
+* Application requirements::
+* CMS background::
+* Matching syntax::
+* How to use the PKCS11 module::
 
 @detailmenu
  --- The Detailed Node Listing ---
diff -urN heimdal-1.6~git20120403+dfsg1.old/doc/whatis.texi heimdal-1.6~git20120403+dfsg1/doc/whatis.texi
--- heimdal-1.6~git20120403+dfsg1.old/doc/whatis.texi	2012-05-03 15:39:10.0 +
+++ heimdal-1.6~git20120403+dfsg1/doc/whatis.texi	2013-06-12 19:12:32.130262662 +
@@ -35,10 +35,10 @@
 @end macro
 @end ifinfo
 
-@tex
+@iftex
 @def@xsub#1{$_{#1}$}
 @global@let@sub=@xsub
-@end tex
+@end iftex
 
 @ifhtml
 @macro sub{arg}