[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#307760: marked as done (snacc: FTBFS (gcc-4.0): 'EOC' was not declared in this scope)

Your message dated Tue, 02 Aug 2005 03:58:19 -0700
with message-id <E1DzuTT-0004EK-00@spohr.debian.org>
and subject line Bug#307760: fixed in snacc 1.3bbn-8
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; 5 May 2005 09:55:55 +0000
>From aj@andaco.de Thu May 05 02:55:55 2005
Return-path: <aj@andaco.de>
Received: from d028074.adsl.hansenet.de (localhost.localdomain) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DTd5G-00026y-00; Thu, 05 May 2005 02:55:55 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
	id 1DTd5p-0001NT-9V; Thu, 05 May 2005 11:56:29 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: snacc: FTBFS (amd64/gcc-4.0): 'EOC' was not declared in this scope
Message-Id: <E1DTd5p-0001NT-9V@localhost.localdomain>
Date: Thu, 05 May 2005 11:56:29 +0200
Delivered-To: submit@bugs.debian.org
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: snacc
Version: 1.3bbn-7
Severity: normal
Tags: patch

When building 'snacc' on amd64/unstable with gcc-4.0,
I get the following error:

asn-list.C: In member function 'void AsnList<T>::BDecContent(AsnBuf&, AsnTag, AsnLen, AsnLen&, __jmp_buf_tag*)':
asn-list.C:244: error: 'EOC' was not declared in this scope
make[5]: *** [asn-list.lo] Error 1
make[5]: Leaving directory `/srv/dbuild/tmp/snacc-1.3bbn/c++-lib/c++'

With the attached patch 'snacc' can be compiled
on amd64 using gcc-4.0.

Andreas Jochens

diff -urN ../tmp-orig/snacc-1.3bbn/c++-lib/src/asn-list.C ./c++-lib/src/asn-list.C
--- ../tmp-orig/snacc-1.3bbn/c++-lib/src/asn-list.C	2001-01-27 02:03:00.000000000 +0100
+++ ./c++-lib/src/asn-list.C	2005-05-05 11:41:49.784926702 +0200
@@ -241,7 +241,7 @@
          listElmtTagId = BDecTag (b, bytesDecoded, env);
-         if ((listElmtTagId == EOC) && (elmtLen == INDEFINITE_LEN))
+         if ((listElmtTagId == EOC_TAG_ID) && (elmtLen == INDEFINITE_LEN))
diff -urN ../tmp-orig/snacc-1.3bbn/compiler/back-ends/c-gen/gen-code.c ./compiler/back-ends/c-gen/gen-code.c
--- ../tmp-orig/snacc-1.3bbn/compiler/back-ends/c-gen/gen-code.c	2001-01-27 02:02:52.000000000 +0100
+++ ./compiler/back-ends/c-gen/gen-code.c	2005-05-05 11:36:04.127474622 +0200
@@ -33,6 +33,7 @@
 #include <stdio.h>
+#include <time.h>
 #include "asn-incl.h"
 #include "asn1module.h"

Received: (at 307760-close) by bugs.debian.org; 2 Aug 2005 11:00:36 +0000
>From joerg@spohr.debian.org Tue Aug 02 04:00:36 2005
Return-path: <joerg@spohr.debian.org>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1DzuTT-0004EK-00; Tue, 02 Aug 2005 03:58:19 -0700
From: debacle@debian.org (W. Borgert)
To: 307760-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#307760: fixed in snacc 1.3bbn-8
Message-Id: <E1DzuTT-0004EK-00@spohr.debian.org>
Sender: Joerg Jaspert <joerg@spohr.debian.org>
Date: Tue, 02 Aug 2005 03:58:19 -0700
Delivered-To: 307760-close@bugs.debian.org
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-CrossAssassin-Score: 3

Source: snacc
Source-Version: 1.3bbn-8

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

  to pool/main/s/snacc/libsnacc-dev_1.3bbn-8_i386.deb
  to pool/main/s/snacc/libsnacc0c2_1.3bbn-8_i386.deb
  to pool/main/s/snacc/snacc-doc_1.3bbn-8_all.deb
  to pool/main/s/snacc/snacc_1.3bbn-8.diff.gz
  to pool/main/s/snacc/snacc_1.3bbn-8.dsc
  to pool/main/s/snacc/snacc_1.3bbn-8_i386.deb

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

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

Debian distribution maintenance software
W. Borgert <debacle@debian.org> (supplier of updated snacc 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)

Hash: SHA1

Format: 1.7
Date: Sat, 30 Jul 2005 17:32:55 +0000
Source: snacc
Binary: libsnacc0c2 snacc-doc snacc libsnacc-dev
Architecture: source all i386
Version: 1.3bbn-8
Distribution: unstable
Urgency: low
Maintainer: Debian FDT tools team <pkg-fdt-tools-team@lists.alioth.debian.org>
Changed-By: W. Borgert <debacle@debian.org>
 libsnacc-dev - ASN.1 to C or C++ or IDL compiler, development files
 libsnacc0c2 - ASN.1 to C or C++ or IDL compiler, shared libraries
 snacc      - ASN.1 to C or C++ or IDL compiler
 snacc-doc  - ASN.1 to C or C++ or IDL compiler, documentation
Closes: 204807 277690 307760
 snacc (1.3bbn-8) unstable; urgency=low
   * New maintainer:
     Debian FDT tool team <pkg-fdt-tools-team@lists.alioth.debian.org>,
     mainly Martin v. Löwis <martin@v.loewis.de>.
     (Closes: #204807).
     FDT = Formal Description Technique (e.g. ASN.1, MSC, SDL, TTCN-3)
   * Port to standard C++ library (Martin).
   * Rebuild for new C++ ABI (Martin).
   * Replace EOC with EOC_TAG_ID (Martin) (Closes: #307760).
   * Build uses CDBS, divided earlier changes in clean patches (me).
   * Removed -dbg package temporarily (me).
   * Fixes FTBFS on amd64 (Closes: #277690), thanks to Kurt Roeckx
     <Q@ping.be> for reporting and Larry Doolittle
     <ldoolitt@recycle.lbl.gov> for the patch.
 cc933f199718553298eedc5c5a9f49d8 795 devel optional snacc_1.3bbn-8.dsc
 1792aa4a4c60a5d2e758619a35d75d40 49561 devel optional snacc_1.3bbn-8.diff.gz
 a1366a6aa8c6027c4ce0bc7e68ee3481 423408 doc optional snacc-doc_1.3bbn-8_all.deb
 6839691d30119e3e0a51a7afdcf42f49 190454 devel optional snacc_1.3bbn-8_i386.deb
 cb09b5af58c640a130a5f34b4a704359 233218 devel optional libsnacc-dev_1.3bbn-8_i386.deb
 8cf1a498664cca8e32cb50d9844af06f 139818 libs optional libsnacc0c2_1.3bbn-8_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)


Reply to: