[Pkg-gpm-devel] Bug#259485: marked as done (FTBFS: Documentation fails to build because of mismatched parentheses)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 19 Sep 2004 06:03:14 -0700


Your message dated Sun, 19 Sep 2004 08:47:11 -0400
with message-id <E1C915z-0006OX-00@newraff.debian.org>
and subject line Bug#259485: fixed in gpm 1.19.6-13
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jul 2004 01:05:41 +0000
>From kraai@ftbfs.org Wed Jul 14 18:05:41 2004
Return-path: <kraai@ftbfs.org>
Received: from zoon.lafn.org [206.117.18.9] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bkugv-00040K-00; Wed, 14 Jul 2004 18:05:41 -0700
Received: from localhost (host-66-81-179-231.rev.o1.com [66.81.179.231])
	by zoon.lafn.org (8.12.3p3/8.11.3) with ESMTP id i6F154jx011398
	for <submit@bugs.debian.org>; Wed, 14 Jul 2004 18:05:34 -0700 (PDT)
	(envelope-from kraai@ftbfs.org)
Received: from kraai by localhost with local (Exim 4.32)
	id 1BkpvS-0000IM-3j
	for submit@bugs.debian.org; Wed, 14 Jul 2004 13:00:22 -0700
Date: Wed, 14 Jul 2004 13:00:21 -0700
From: Matt Kraai <kraai@ftbfs.org>
To: submit@bugs.debian.org
Subject: FTBFS: Documentation fails to build because of mismatched parentheses
Message-ID: <20040714200021.GB1101@catalunya>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040523i
Sender: Matt Kraai <kraai@ftbfs.org>
X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: gpm
Version: 1.19.6-12.1
Severity: important
Tags: patch

This package fails to build from source:

 ...
 if [ -n "`ls gpm.?? gpm.aux 2>/dev/null`" ]; then \
 	for i in `ls gpm.?? gpm.aux 2>/dev/null`; do cp $i $i~; done; \
 	tex gpm.texinfo \
 	old="`ls gpm.??~ gpm.aux~ 2>/dev/null | sed 's/~//g'`"; \
 	new="`ls gpm.?? gpm.aux 2>/dev/null`"; \
 	need="n"; \
 	if test "$old" != "$new"; then need="y"; \
 	else \
 	  for i in  `ls gpm.?? gpm.aux 2>/dev/null`; do \
 	    cmp -s $i $i~; if test $? -ne 0; then need="y" break; fi; \
 	  done; \
 	fi; \
 	if test "$need" = "y"; then \
 	  texindex gpm.?? && tex gpm.texinfo; \
 	fi; \
 fi   
 This is TeX, Version 3.14159 (Web2C 7.4.5)
 (./gpm.texinfo (/usr/share/texmf/tex/texinfo/texinfo.tex
 Loading texinfo [version 2004-04-07.08]: Basics, pdf, fonts, page headings,
 tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
 cross references, insertions, (/usr/share/texmf/tex/generic/dvips/epsf.tex)
 localization, and turning on texinfo input format.) [1] Chapter 1
 Cross reference values unknown; you must run TeX again. Chapter 2 [1] [2]
 [3] [4] [5] [6]
 Underfull \hbox (badness 3333) in paragraph at lines 775--780
  @texttt mtouch[]@textrm A de-coder for the Mi-cro-Touch touch screen. Please r
 e-fer to the file
 Chapter 3 [7] [8] [9] [10] Chapter 4 [11] [12] [13] [14] [15]
 ! Unbalanced parentheses in @def.
 @badparencount ...{Unbalanced parentheses in @def}
                                                   @global @parencount =0 
 @checkparencounts ...ount =0 @else @badparencount 
                                                   @fi @ifnum @brackcount =0 ...
 
 @printdefunline ...enalty 10002 @checkparencounts 
                                                   @endgroup 
 l.1629 ...r{ymin}, int @var{xmax}, int @var{ymax},
                                                   
 ? 
 ! Emergency stop.
 @badparencount ...{Unbalanced parentheses in @def}
                                                   @global @parencount =0 
 @checkparencounts ...ount =0 @else @badparencount 
                                                   @fi @ifnum @brackcount =0 ...
 
 @printdefunline ...enalty 10002 @checkparencounts 
                                                   @endgroup 
 l.1629 ...r{ymin}, int @var{xmax}, int @var{ymax},
                                                   
 Output written on gpm.dvi (16 pages, 61668 bytes).
 Transcript written on gpm.log.
 This is TeX, Version 3.14159 (Web2C 7.4.5)
 (./gpm.texinfo (/usr/share/texmf/tex/texinfo/texinfo.tex
 Loading texinfo [version 2004-04-07.08]: Basics, pdf, fonts, page headings,
 tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
 cross references, insertions, (/usr/share/texmf/tex/generic/dvips/epsf.tex)
 localization, and turning on texinfo input format.) (./gpm.aux) [1] Chapter 1
 l.134: Undefined cross reference `Emacs Support-snt'.
 l.134: Undefined cross reference `Emacs Support-snt'.
 l.134: Undefined cross reference `Emacs Support-pg'.
 l.139: Undefined cross reference `gpm-root-snt'.
 l.139: Undefined cross reference `gpm-root-snt'.
 l.139: Undefined cross reference `gpm-root-pg'. Chapter 2 [1] [2] [3]
 l.450: Undefined cross reference `Program Arguments-snt'.
 l.450: Undefined cross reference `Program Arguments-snt'.
 l.450: Undefined cross reference `Program Arguments-pg'. [4] [5] [6]
 Underfull \hbox (badness 3333) in paragraph at lines 775--780
  @texttt mtouch[]@textrm A de-coder for the Mi-cro-Touch touch screen. Please r
 e-fer to the file
 Chapter 3 [7] [8] [9] [10] l.1147: Undefined cross reference `gpm-root-snt'.
 l.1147: Undefined cross reference `gpm-root-snt'.
 l.1147: Undefined cross reference `gpm-root-pg'. Chapter 4 [11]
 l.1244: Undefined cross reference `Xterm-snt'.
 l.1244: Undefined cross reference `Xterm-snt'.
 l.1244: Undefined cross reference `Xterm-pg'. [12] [13] [14]
 l.1540: Undefined cross reference `hltest-snt'.
 l.1540: Undefined cross reference `hltest-snt'.
 l.1540: Undefined cross reference `hltest-pg'. [15]
 ! Unbalanced parentheses in @def.
 @badparencount ...{Unbalanced parentheses in @def}
                                                   @global @parencount =0 
 @checkparencounts ...ount =0 @else @badparencount 
                                                   @fi @ifnum @brackcount =0 ...
 
 @printdefunline ...enalty 10002 @checkparencounts 
                                                   @endgroup 
 l.1629 ...r{ymin}, int @var{xmax}, int @var{ymax},
                                                   
 ? 
 ! Emergency stop.
 @badparencount ...{Unbalanced parentheses in @def}
                                                   @global @parencount =0 
 @checkparencounts ...ount =0 @else @badparencount 
                                                   @fi @ifnum @brackcount =0 ...
 
 @printdefunline ...enalty 10002 @checkparencounts 
                                                   @endgroup 
 l.1629 ...r{ymin}, int @var{xmax}, int @var{ymax},
                                                   
 Output written on gpm.dvi (16 pages, 61320 bytes).
 Transcript written on gpm.log.
 make[2]: *** [gpm.dvi] Error 1
 rm gpm.dvi gpm.texinfo
 make[2]: Leaving directory `/tmp/buildd/gpm-1.19.6/build-tree/gpm-1.19.6/doc'
 make[1]: *** [do-all] Error 1
 make[1]: Leaving directory `/tmp/buildd/gpm-1.19.6/build-tree/gpm-1.19.6'
 make: *** [build-stamp] Error 2
 pbuilder: Failed autobuilding of package
 ...

The arguments to a @deftypefun command are wrapped, which it
cannot handle.  The attached patch fixes the problem.

-- 
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff -Nru gpm-1.19.6-old/debian/patches/007_doc_fix_002 gpm-1.19.6/debian/patches/007_doc_fix_002
--- gpm-1.19.6-old/debian/patches/007_doc_fix_002	1969-12-31 16:00:00.000000000 -0800
+++ gpm-1.19.6/debian/patches/007_doc_fix_002	2004-07-14 08:53:51.000000000 -0700
@@ -0,0 +1,12 @@
+--- gpm-1.19.6/doc/doc.gpm.in.orig	2004-07-14 08:52:56.000000000 -0700
++++ gpm-1.19.6/doc/doc.gpm.in	2004-07-14 08:53:08.000000000 -0700
+@@ -1626,8 +1626,7 @@
+ 
+ 
+ %.........................................................................
+-@deftypefun Gpm_Roi* Gpm_PushRoi (int @var{xmin}, int @var{ymin}, int @var{xmax}, int @var{ymax},
+-        int @var{mask}, Gpm_Handler *@var{fun}, void *@var{xtradata});
++@deftypefun Gpm_Roi* Gpm_PushRoi (int @var{xmin}, int @var{ymin}, int @var{xmax}, int @var{ymax}, int @var{mask}, Gpm_Handler *@var{fun}, void *@var{xtradata});
+ 
+ 
+ This function pushes a Region of Interest on top of the stack, after

--nFreZHaLTZJo0R7j--

---------------------------------------
Received: (at 259485-close) by bugs.debian.org; 19 Sep 2004 12:53:04 +0000
>From katie@ftp-master.debian.org Sun Sep 19 05:53:04 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C91Bg-00006B-00; Sun, 19 Sep 2004 05:53:04 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C915z-0006OX-00; Sun, 19 Sep 2004 08:47:11 -0400
From: Guillem Jover <guillem@debian.org>
To: 259485-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#259485: fixed in gpm 1.19.6-13
Message-Id: <E1C915z-0006OX-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 19 Sep 2004 08:47:11 -0400
Delivered-To: 259485-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 15

Source: gpm
Source-Version: 1.19.6-13

We believe that the bug you reported is fixed in the latest version of
gpm, which is due to be installed in the Debian FTP archive:

gpm_1.19.6-13.diff.gz
  to pool/main/g/gpm/gpm_1.19.6-13.diff.gz
gpm_1.19.6-13.dsc
  to pool/main/g/gpm/gpm_1.19.6-13.dsc
gpm_1.19.6-13_i386.deb
  to pool/main/g/gpm/gpm_1.19.6-13_i386.deb
libgpmg1-dev_1.19.6-13_i386.deb
  to pool/main/g/gpm/libgpmg1-dev_1.19.6-13_i386.deb
libgpmg1_1.19.6-13_i386.deb
  to pool/main/g/gpm/libgpmg1_1.19.6-13_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 259485@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated gpm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 19 Sep 2004 06:01:26 +0200
Source: gpm
Binary: libgpmg1 gpm libgpmg1-dev
Architecture: source i386
Version: 1.19.6-13
Distribution: testing
Urgency: high
Maintainer: Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description: 
 gpm        - General Purpose Mouse Interface
 libgpmg1   - General Purpose Mouse Library [libc6]
 libgpmg1-dev - General Purpose Mouse Library, development files [libc6]
Closes: 57023 60841 61998 63779 72337 98051 104143 117900 121657 121657 133653 133654 170339 170886 177175 185053 195176 196879 213825 234624 234624 258749 259485 264287 266937
Changes: 
 gpm (1.19.6-13) testing; urgency=high
 .
   * New maintainer team.
 .
   [ Joshua Kwan ]
   * Change Section for libgpmg1-dev to libdevel.
   * Removed unused Build-Depends on automake and libtool. (Closes: #177175)
 .
   [ Guillem Jover]
   * Fixed build failure due to mismatched parentheses on documentation.
     - debian/patches/007_doc_fix_000: Added fix. (Closes: #259485)
       Thanks to Matt Kraai <kraai@ftbfs.org>.
   * Fixed build failure when /bin/sh != /bin/bash.
     (Closes: #195176, #213825, #264287)
     Thanks to Matthew Bell <m.bell@bvrh.co.uk>.
   * Fixed segfault when trying to FD_SET gpm_fd with a negative number.
     - debian/patches/030_fd_set_negative_int.patch: New file. (Closes: #104143)
   * Fixed build failure when using gcc-3.4. (Closes: #258749)
     Thanks to Andreas Jochens <aj@andaco.de>.
   * Move gpm_has_mouse_control.c and Makefile to
     debian/patches/014_has_mouse_control.patch.
   * Change Priority for libgpmg1 to standard.
   * Fixed wrong use of hyhpens on gpmconfig manpage.
   * Remove config file on purge. (Closes: #57023, #117900)
     Thanks Josip Rodin <joy@cibalia.gkvk.hr>.
   * Fixed documentation having additional spaces after -A and -V options.
     (Closes: #60841, #61998)
     Thanks to Robert Woodcock <rcw@debian.org>.
   * Fixed a spelling error in the info documentation. (Closes: #63779)
   * Fixed missleading -t option information in the documentation.
     (Closes: #196879)
   * Removed references to non-existent man pages. (Closes: #133653)
   * Clarify the -r option usage in the info documentation. (Closes: #170886)
     Thanks to Peter Jay Salzman <p@dirac.org>.
   * Include missing documentation. (Closes: #121657, #234624)
   * Fixed gpm-mouse-test section so it matches the path where it's installed.
   * Do not list /etc/init.d/gpm twice as a conffile.
     - debian/conffiles: Remove redundant file. (Closes: #133654)
   * Use debhelper compatibility version 4.
   * Include missing documentation. (Closes: #121657, #234624)
   * Give error message when gpm fails to start or stop from init and proper
     exit code. (Closes: #72337, #170339)
     Thanks to Yotam Rubin <yotamr@bezeqint.net>.
   * Use invoke-rc.d instead of directly calling the init script.
     (Closes: #185053)
   * Use sensible-pager instead of more in gpmconfig. (Closes: #98051)
   * Cleaned debian/copyright.
   * Added a watch file.
   * Reinclude mev binary, supposedly lost while removing gpm-root.
   * Converted debian/changelog and debian/copyright to UTF-8.
   * Use dh_md5sums.
   * Do not create /usr/doc symlink.
   * Honour DEB_BUILD_OPTIONS.
   * Do not be DH_VERBOSE.
   * Make libgpmg1-dev depend on the virtual package libc-dev as well.
   * Conditionalize install-info invokation in maintainer scripts.
 .
   [ Peter Samuelson ]
   * gpm.init: minor UI issues:
     - print newlines after errors on start / stop targets
     - if stop failed on restart, do not bother to 'sleep 3'
     - propagate start failure on restart
   * gpm.prerm: rewrite stop_gpm() to fix 3 bugs and improve readability:
     - space after \ line continuation char
     - 'gpm -x' should be 'gpm -k'
     - return success, not failure, if the daemon wasn't running
     (Closes: #266937)
   * remove random extra file debian/read (an earlier version of a feature
     patch)
Files: 
 2a3d22d4d07b41999ffc6e26b8ea6b20 766 misc optional gpm_1.19.6-13.dsc
 b1ad5a00d2fb08f0a8a42e2b1b13e8f0 44017 misc optional gpm_1.19.6-13.diff.gz
 f1186cb732fb87a5eb766d6cfa4fdb81 179314 misc optional gpm_1.19.6-13_i386.deb
 ffbc68606ddf0a1283adc841ade9b23d 47432 libs standard libgpmg1_1.19.6-13_i386.deb
 0edfc73ecae55757be5a766e00beadd3 49716 libdevel optional libgpmg1-dev_1.19.6-13_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBTXlDuW9ciZ2SjJsRAgUdAKDYPp4WIuRMvIZBh+PBMRzKzq5DwQCgpHyB
w3gPGczY98Qvx5DP0RJH0ZU=
=iW2P
-----END PGP SIGNATURE-----