Your message dated Fri, 22 Jul 2005 18:37:42 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug #262980: freeswan: FTBFS with gcc-3.4: label at end of 
compound statement
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; 2 Aug 2004 14:48:56 +0000
>From [EMAIL PROTECTED] Mon Aug 02 07:48:56 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c204112.adsl.hansenet.de (localhost) [213.39.204.112] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bre7U-0007dq-00; Mon, 02 Aug 2004 07:48:56 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bre7S-00055v-Pr; Mon, 02 Aug 2004 16:48:54 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: freeswan: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 02 Aug 2004 16:48:54 +0200
Delivered-To: [EMAIL PROTECTED]
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: 

Package: freeswan
Severity: normal
Tags: patch

When building 'freeswan' with gcc-3.4 I get the following error:

cc  -I../../linux/include -I../../programs/pluto/linux26    -DUSE_KEYRR   
-DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES  -DPLUTO -DKLIPS 
-DX509=\"X.509-1.5.3\" -DDEBUG -DGCC_LINT -DNAT_TRAVERSAL -DVIRTUAL_IP  
-DLIBCURL -DLDAP_VER=3 -DSMARTCARD -DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\" 
-DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" 
-DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W -Wmissing-prototypes 
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations 
-Wwrite-strings -Wstrict-prototypes  -c connections.c
connections.c: In function `load_end_certificate':
connections.c:791: error: label at end of compound statement
make[3]: *** [connections.o] Error 1
make[3]: Leaving directory `/freeswan-2.04/programs/pluto'

With the attached patch 'freeswan' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN 
../tmp-orig/freeswan-2.04/debian/pre-build-patches/99-gcc-3.4-fix.diff 
./debian/pre-build-patches/99-gcc-3.4-fix.diff
--- ../tmp-orig/freeswan-2.04/debian/pre-build-patches/99-gcc-3.4-fix.diff      
1970-01-01 01:00:00.000000000 +0100
+++ ./debian/pre-build-patches/99-gcc-3.4-fix.diff      2004-08-02 
16:41:00.346541966 +0200
@@ -0,0 +1,22 @@
+--- connections.c      2004-08-02 16:21:33.289349000 +0200
++++ freeswan/programs/pluto/connections.c      2004-08-02 16:24:44.376377494 
+0200
+@@ -787,7 +787,7 @@
+                   dst->ca = dst->cert.u.x509->issuer;
+           }
+           break;
+-      default:
++
+       }
+ 
+       /* cache the certificate that was last retrieved from the smartcard */
+--- x509.c     2004-08-02 16:21:33.324343000 +0200
++++ freeswan/programs/pluto/x509.c     2004-08-02 16:39:27.245555605 +0200
+@@ -819,7 +819,7 @@
+               state = SEARCH_OID;
+           }
+           break;
+-      case UNKNOWN_OID:
++      case UNKNOWN_OID: break;
+       }
+     } while (*src++ != '\0');
+ 
diff -urN ../tmp-orig/freeswan-2.04/debian/fswcert/fswcert.c 
./debian/fswcert/fswcert.c
--- ../tmp-orig/freeswan-2.04/debian/fswcert/fswcert.c  2004-08-02 
16:42:01.027801056 +0200
+++ ./debian/fswcert/fswcert.c  2004-08-02 16:15:55.626682596 +0200
@@ -246,7 +246,7 @@
                        break;
 
                default:
-                       /* other bag entry */
+                       break; /* other bag entry */
        }
        return error;
 }

---------------------------------------
Received: (at 262980-done) by bugs.debian.org; 22 Jul 2005 17:37:46 +0000
>From [EMAIL PROTECTED] Fri Jul 22 10:37:46 2005
Return-path: <[EMAIL PROTECTED]>
Received: from s2.ukfsn.org (mail.ukfsn.org) [217.158.120.143] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1Dw1T0-0005VL-00; Fri, 22 Jul 2005 10:37:46 -0700
Received: from localhost (lucy.ukfsn.org [127.0.0.1])
        by mail.ukfsn.org (Postfix) with ESMTP
        id F12F2E6EFF; Fri, 22 Jul 2005 18:36:41 +0100 (BST)
Received: from mail.ukfsn.org ([127.0.0.1])
 by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 19847-20; Fri, 22 Jul 2005 18:36:41 +0100 (BST)
Received: from hardknott.home.whinlatter.ukfsn.org 
(dsl-80-41-1-92.access.as9105.com [80.41.1.92])
        by mail.ukfsn.org (Postfix) with ESMTP
        id AD547E6EFB; Fri, 22 Jul 2005 18:36:41 +0100 (BST)
Received: from rleigh by hardknott.home.whinlatter.ukfsn.org with local (Exim 
4.52)
        id 1Dw1Sw-0002uC-Uh; Fri, 22 Jul 2005 18:37:42 +0100
From: Roger Leigh <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: Rene Mayrhofer <[EMAIL PROTECTED]>
Subject: Re: Bug #262980: freeswan: FTBFS with gcc-3.4: label at end of 
compound statement
Date: Fri, 22 Jul 2005 18:37:42 +0100
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/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-Level: 
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_00,RCVD_IN_DSBL 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Version: 2.04-12

freeswan no longer contains source, being a transitional package.
This RC bug is therefore no longer applicable.

BTW, the remaining bugs should probably either be closed or reassigned
to openswan.


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


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

Reply via email to