Your message dated Tue, 22 Feb 2005 18:47:13 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#291314: fixed in cxref 1.6-6
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; 20 Jan 2005 00:20:17 +0000
>From [EMAIL PROTECTED] Wed Jan 19 16:20:16 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-104-thursday.nerim.net (kraid.nerim.net) [62.4.16.104] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CrQ3c-0007mM-00; Wed, 19 Jan 2005 16:20:16 -0800
Received: from jekyll (giersch.net1.nerim.net [62.212.101.48])
        by kraid.nerim.net (Postfix) with ESMTP id E526341A37
        for <[EMAIL PROTECTED]>; Thu, 20 Jan 2005 01:19:50 +0100 (CET)
Received: from arnaud by jekyll with local (Exim 4.34)
        id 1CrQ3E-0007uL-7R
        for [EMAIL PROTECTED]; Thu, 20 Jan 2005 01:19:52 +0100
From: Arnaud Giersch <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: cxref: broken cxref-cpp wrapper
X-Debbugs-CC: Arnaud Giersch <[EMAIL PROTECTED]>
X-Face: &yL?ZRfSIk3zaRm*dlb3R4f.8RM"~b/h|\wI]>pL)}]l$H>.Q3Qd3[<h!`K6mI=+cWpg-El
 B(FEm\EEdLdS{2l7,8\!RQ5aL0ZXlzzPKLxV/OQfrg/<t!FG>i.K[5isyT&2oBNdnvk`~y}vwPYL;R
 y)NYo"]T8NlX{nmIUEi\a$hozWm#0GCT'e'[EMAIL 
PROTECTED]"[g|I8<{By=R8R>bDe>W7)S0-8:b;ZKo~9K?'
 wq!G,MQ\eSt8g`)jeITEuig89NGmN^%1j>!*F8~kW(yfF7W[:bl>RT[`w3x-C
Date: Thu, 20 Jan 2005 01:19:50 +0100
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Corporate Culture,
        linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: cxref
Version: 1.6-5
Severity: normal
Tags: patch

Hello,

There are several problems with the cxref-cpp wrapper:

* warning messages should be sent to stderr;

* version verification fails with different messages from gcc 
  (e.g. with a localized version);

* arguments containing spaces are not correctly passed to the real
  cxref-cpp.


Try for example : 
    
$ true > foo.c
$ export LANG=fr_FR
$ cxref -DX='"A B"' foo.c
(null):0: cxref: syntax error, unexpected ':', expecting '('

The previous 10, current and next 10 symbols are:
 -1 | 258 :       IDENTIFIER : Warning
  0 |  58 :              ':' : :
  1 | 258 :       IDENTIFIER : cxref
  2 |  45 :              '-' : -
  3 | 258 :       IDENTIFIER : cpp
  4 | 258 :       IDENTIFIER : needs
  5 | 258 :       IDENTIFIER : to
  6 | 258 :       IDENTIFIER : be
  7 | 258 :       IDENTIFIER : reconfigured
  8 | 258 :       IDENTIFIER : against
  9 | 258 :       IDENTIFIER : your
 10 | 258 :       IDENTIFIER : latest

B":0: unterminated string or character constant
B":0: possible real start of unterminated constant
cxref-cpp.upstream: B": No such file or directory
cxref: The preprocessor exited abnormally on 'foo.c'


I suggests the following replacement for cxref-cpp:

========================================================================
#!/bin/sh

set -e

DEF=/etc/cxref/cxref-cpp.defines
TMP=`tempfile -p cxref -m 600`

(
    LC_ALL=C
    export LC_ALL
    /usr/bin/cxref-cpp-configure -o "$TMP"
)

. /etc/cxref/config

CCD=""
CCDF=""

if ! cmp -s "$DEF" "$TMP" ; then

        echo "Warning: cxref-cpp needs to be reconfigured against your latest 
gcc/cpp" >&2
        echo "   Please run 'dpkg-reconfigure cxref' as root." >&2

        if [ "$AUTOCONF" = "true" ] ; then
            #
            # Assumes that only the *last* -cxref-cpp-defines is taken into 
account
            # by cxref-cpp.upstream
            #
            CCD=-cxref-cpp-defines 
            CCDF=$TMP
        else
            exit 1
        fi
fi

exec /usr/bin/cxref-cpp.upstream "$@" "$CCD" "$CCDF"
========================================================================



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages cxref depends on:
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  gcc                         4:3.3.5-1    The GNU C compiler
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- debconf information:
* cxref/cxref-cpp-autoconf:

-- 
Arnaud

---------------------------------------
Received: (at 291314-close) by bugs.debian.org; 22 Feb 2005 23:53:01 +0000
>From [EMAIL PROTECTED] Tue Feb 22 15:53:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D3jpt-0002Ir-00; Tue, 22 Feb 2005 15:53:01 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D3jkH-00061U-00; Tue, 22 Feb 2005 18:47:13 -0500
From: Camm Maguire <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#291314: fixed in cxref 1.6-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 22 Feb 2005 18:47:13 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (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_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: cxref
Source-Version: 1.6-6

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

cxref-doc_1.6-6_all.deb
  to pool/main/c/cxref/cxref-doc_1.6-6_all.deb
cxref-emacs_1.6-6_all.deb
  to pool/main/c/cxref/cxref-emacs_1.6-6_all.deb
cxref_1.6-6.diff.gz
  to pool/main/c/cxref/cxref_1.6-6.diff.gz
cxref_1.6-6.dsc
  to pool/main/c/cxref/cxref_1.6-6.dsc
cxref_1.6-6_i386.deb
  to pool/main/c/cxref/cxref_1.6-6_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Camm Maguire <[EMAIL PROTECTED]> (supplier of updated cxref 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Tue, 22 Feb 2005 21:56:10 +0000
Source: cxref
Binary: cxref-emacs cxref-doc cxref
Architecture: source i386 all
Version: 1.6-6
Distribution: unstable
Urgency: high
Maintainer: Camm Maguire <[EMAIL PROTECTED]>
Changed-By: Camm Maguire <[EMAIL PROTECTED]>
Description: 
 cxref      - Generates latex and HTML documentation for C programs
 cxref-doc  - Generates latex and HTML documentation for C programs
 cxref-emacs - Generates latex and HTML documentation for C programs
Closes: 281991 283635 285676 286410 291314
Changes: 
 cxref (1.6-6) unstable; urgency=high
 .
   * Bug fix: "cxref: broken cxref-cpp wrapper", thanks to Arnaud Giersch
     (Closes: #291314). Apply cxref-cpp.wrap patch.
   * Bug fix: "cxref-doc: error in doc-base file", thanks to Laurent
     Bonnaud (Closes: #285676). flatten cxref-doc/examples/example path
   * Bug fix: "dangling symlink due to splitting of cxref-doc", thanks to
     Ian Zimmerman (Closes: #286410).  Move upper level doc/* files into
     cxref-doc.docs, doc/example/* files into cxref-doc.examples, and only
     TODO and contrib/*el into cxref.docs
   * Bug fix: "cxref: Please switch to gettext-based debconf templates",
     thanks to Martin Quinson (Closes: #283635). Apply 110n patch.
   * Bug fix: "cxref: inappropriate use of debconf", thanks to Steve
     Greenland (Closes: #281991).  Reduce AUTOCONF question priority to
     low.  The AUTOCONF debconf variable is in my mind a warranted use of
     debconf, as setting it implies automatic overwriting of a
     configuration file on dpkg-reconfigure.  In this manner, it is quite
     similar to the xfree use of debconf, where the user is asked if they
     desire manual or automatic configuration file generation.
Files: 
 3a8a5a20c6bda3cc34df5d48846d2078 706 devel optional cxref_1.6-6.dsc
 202bfcc29bb16a74efa3f28dd2014677 17651 devel optional cxref_1.6-6.diff.gz
 34f0f4534d693d459e100e8ec99b352b 778988 doc optional cxref-doc_1.6-6_all.deb
 e13fe5b9ee9fd94771dbd45cb36b0118 13358 editors optional 
cxref-emacs_1.6-6_all.deb
 62017246e428e0d167a8d2806de7da53 382738 devel optional cxref_1.6-6_i386.deb

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

iD8DBQFCG78SczG1wFfwRdwRAsNYAJ4uB3Y6PIUtiKfx1TNqpUo7e0i5pACguq0B
NFXTQvfWZxDTNLFqDXOKNVc=
=broP
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to