Your message dated Sun, 31 Jul 2005 22:10:17 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #298674,
regarding bayonne: ftbfs [sparc] cannot find -lccscript
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(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 298674-forwarded) by bugs.debian.org; 31 Jul 2005 21:11:25 +0000
>From [EMAIL PROTECTED] Sun Jul 31 14:11:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from (bristol.purcell.id.au) [212.139.8.15] (Debian-exim)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DzL5g-0008Nz-00; Sun, 31 Jul 2005 14:11:24 -0700
Received: from [192.168.3.150] (helo=dell.purcell.id.au)
        by bristol.purcell.id.au with esmtp (Exim 4.52)
        id 1DzL5T-0006im-KV; Sun, 31 Jul 2005 22:11:22 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.52)
        id 1DzL4c-0001wI-B2; Sun, 31 Jul 2005 22:10:18 +0100
Content-Length: 8536
From: Mark Purcell <[EMAIL PROTECTED]>
Organization: Debian GNU Linux
To: [EMAIL PROTECTED]
Date: Sun, 31 Jul 2005 22:10:17 +0100
User-Agent: KMail/1.8.1
Cc: [EMAIL PROTECTED],
 =?iso-8859-1?q?R=E9gis_Boudin?= <[EMAIL PROTECTED]>
Disposition-Notification-To: Mark Purcell <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_54T7CLIormORIRI"
Message-Id: <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: 192.168.3.150
X-SA-Exim-Rcpt-To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
Subject: Fwd: Bug#298674: Bug seems to be fixed with gcc 4.0
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--Boundary-00=_54T7CLIormORIRI
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Bayonne-bugs,

Please find enclosed a patch to fix building bayonne 1.2.14 with gcc4.

These patches have been applied to the Debian GNU/LInux version of bayonne.

Mark

=2D---------  Forwarded Message  ----------

Subject: Bug#298674: Bug seems to be fixed with gcc 4.0
Date: Saturday 30 July 2005 16:18
=46rom: R=E9gis Boudin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hi,

Apparently, the bug with the libccscript disappeared with the transition
to g++ 4.0, so it should be ok to close this bug when the gcc-4.0 build
package will be uploaded.

However, bayonne FTBFS with g++ 4.0. If you didn't already have them,
patches are attached :
=2D Fix 1 is for friend classes which must be declared.
=2D Fix 2 replaces calls to IXDR_*_LONG by IXDR_*_INT32. Calls to
IXDR_GET_INT32 and IXDR_GET_U_INT32 could be cast to long and u_long,
but I suppose it wouldn't change much (most values are not assigned to
'long' variables anyway).

HTH
Regis
=2D-
"While a monkey can be a manager, it takes a human to be an engineer"
                        Erik Zapletal

=2D------------------------------------------------------

--Boundary-00=_54T7CLIormORIRI
Content-Type: text/x-patch;
  charset="utf-8";
  name="gcc-4_fix1.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=gcc-4_fix1.patch

diff -urN bayonne-1.2.14.original/drivers/phonedev/driver.h 
bayonne-1.2.14/drivers/phonedev/driver.h
--- bayonne-1.2.14.original/drivers/phonedev/driver.h   2002-12-12 
03:43:41.000000000 +0000
+++ bayonne-1.2.14/drivers/phonedev/driver.h    2005-07-28 19:26:25.636920624 
+0100
@@ -51,6 +51,7 @@
 } cpatone_t;
 
 class PhonedevTrunk;
+class PhonedevService;
 
 typedef union
 {
diff -urN bayonne-1.2.14.original/drivers/zapata/driver.h 
bayonne-1.2.14/drivers/zapata/driver.h
--- bayonne-1.2.14.original/drivers/zapata/driver.h     2002-12-12 
03:48:32.000000000 +0000
+++ bayonne-1.2.14/drivers/zapata/driver.h      2005-07-28 19:27:48.575312072 
+0100
@@ -23,6 +23,7 @@
 #endif
 
 class ZapataTrunk;
+class ZapataService;
 
 typedef bool (ZapataTrunk::*trunkhandler_t)(TrunkEvent *event);
 
diff -urN bayonne-1.2.14.original/modules/auditing/tcpmon.cpp 
bayonne-1.2.14/modules/auditing/tcpmon.cpp
--- bayonne-1.2.14.original/modules/auditing/tcpmon.cpp 2002-12-11 
03:52:24.000000000 +0000
+++ bayonne-1.2.14/modules/auditing/tcpmon.cpp  2005-07-28 19:19:20.122608632 
+0100
@@ -80,6 +80,8 @@
 
 #endif
 
+class MonSession;
+
 class TcpMonitor : public TCPSocket, public Monitor, public Server
 {
 private:
iff -urN bayonne-1.2.14.original/server/bayonne.h 
bayonne-1.2.14/server/bayonne.h
--- bayonne-1.2.14.original/server/bayonne.h    2004-11-02 16:03:30.000000000 
+0000
+++ bayonne-1.2.14/server/bayonne.h     2005-07-28 19:16:52.704019664 +0100
@@ -2052,6 +2052,8 @@
        aaImage(aaScript *script);
 };
 
+class Conference;
+
 /**
  * The mixer object is a resource for conferences.
  *
@@ -2270,6 +2272,8 @@
 };
 #endif
 
+class ScriptInterface;
+
 /**
  * We derive a Bayonne server version of ScriptInterp, "Trunk",
  * which holds most common elements of the script engine for Bayonne

--Boundary-00=_54T7CLIormORIRI
Content-Type: text/x-patch;
  charset="utf-8";
  name="gcc-4_fix2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=gcc-4_fix2.patch

diff -urN bayonne-1.2.14.original/modules/sunrpc/bayonne_xdr.c 
bayonne-1.2.14/modules/sunrpc/bayonne_xdr.c
--- bayonne-1.2.14.original/modules/sunrpc/bayonne_xdr.c        2004-11-11 
11:27:49.000000000 +0000
+++ bayonne-1.2.14/modules/sunrpc/bayonne_xdr.c 2005-07-28 19:24:58.418179888 
+0100
@@ -66,12 +66,12 @@
                                 return FALSE;
 
                } else {
-               IXDR_PUT_LONG(buf, objp->pol_active);
-               IXDR_PUT_LONG(buf, objp->max_incoming);
-               IXDR_PUT_LONG(buf, objp->max_outgoing);
-               IXDR_PUT_LONG(buf, objp->tot_incoming);
-               IXDR_PUT_LONG(buf, objp->tot_outgoing);
-               IXDR_PUT_LONG(buf, objp->pol_members);
+               IXDR_PUT_INT32(buf, objp->pol_active);
+               IXDR_PUT_INT32(buf, objp->max_incoming);
+               IXDR_PUT_INT32(buf, objp->max_outgoing);
+               IXDR_PUT_INT32(buf, objp->tot_incoming);
+               IXDR_PUT_INT32(buf, objp->tot_outgoing);
+               IXDR_PUT_INT32(buf, objp->pol_members);
                }
                 if (!xdr_array (xdrs, (char **)&objp->pol_ports.pol_ports_val, 
(u_int *) &objp->pol_ports.pol_ports_len, ~0,
                        sizeof (int), (xdrproc_t) xdr_int))
@@ -100,12 +100,12 @@
                                 return FALSE;
 
                } else {
-               objp->pol_active = IXDR_GET_LONG(buf);
-               objp->max_incoming = IXDR_GET_LONG(buf);
-               objp->max_outgoing = IXDR_GET_LONG(buf);
-               objp->tot_incoming = IXDR_GET_LONG(buf);
-               objp->tot_outgoing = IXDR_GET_LONG(buf);
-               objp->pol_members = IXDR_GET_LONG(buf);
+               objp->pol_active = IXDR_GET_INT32(buf);
+               objp->max_incoming = IXDR_GET_INT32(buf);
+               objp->max_outgoing = IXDR_GET_INT32(buf);
+               objp->tot_incoming = IXDR_GET_INT32(buf);
+               objp->tot_outgoing = IXDR_GET_INT32(buf);
+               objp->pol_members = IXDR_GET_INT32(buf);
                }
                 if (!xdr_array (xdrs, (char **)&objp->pol_ports.pol_ports_val, 
(u_int *) &objp->pol_ports.pol_ports_len, ~0,
                        sizeof (int), (xdrproc_t) xdr_int))
@@ -154,9 +154,9 @@
                                 return FALSE;
 
                } else {
-               IXDR_PUT_LONG(buf, objp->mixer_avail);
-               IXDR_PUT_LONG(buf, objp->mixer_used);
-               IXDR_PUT_LONG(buf, objp->mixer_groups);
+               IXDR_PUT_INT32(buf, objp->mixer_avail);
+               IXDR_PUT_INT32(buf, objp->mixer_used);
+               IXDR_PUT_INT32(buf, objp->mixer_groups);
                }
                 if (!xdr_array (xdrs, (char 
**)&objp->mixer_conf.mixer_conf_val, (u_int *) 
&objp->mixer_conf.mixer_conf_len, ~0,
                        sizeof (bayonne_conf), (xdrproc_t) xdr_bayonne_conf))
@@ -173,9 +173,9 @@
                                 return FALSE;
 
                } else {
-               objp->mixer_avail = IXDR_GET_LONG(buf);
-               objp->mixer_used = IXDR_GET_LONG(buf);
-               objp->mixer_groups = IXDR_GET_LONG(buf);
+               objp->mixer_avail = IXDR_GET_INT32(buf);
+               objp->mixer_used = IXDR_GET_INT32(buf);
+               objp->mixer_groups = IXDR_GET_INT32(buf);
                }
                 if (!xdr_array (xdrs, (char 
**)&objp->mixer_conf.mixer_conf_val, (u_int *) 
&objp->mixer_conf.mixer_conf_len, ~0,
                        sizeof (bayonne_conf), (xdrproc_t) xdr_bayonne_conf))
@@ -286,9 +286,9 @@
                                 return FALSE;
 
                } else {
-               IXDR_PUT_LONG(buf, objp->conf_mixer);
-               IXDR_PUT_LONG(buf, objp->conf_alloc);
-               IXDR_PUT_LONG(buf, objp->conf_groups);
+               IXDR_PUT_INT32(buf, objp->conf_mixer);
+               IXDR_PUT_INT32(buf, objp->conf_alloc);
+               IXDR_PUT_INT32(buf, objp->conf_groups);
                }
                 if (!xdr_array (xdrs, (char 
**)&objp->conf_limits.conf_limits_val, (u_int *) 
&objp->conf_limits.conf_limits_len, ~0,
                        sizeof (int), (xdrproc_t) xdr_int))
@@ -305,9 +305,9 @@
                                 return FALSE;
 
                } else {
-               objp->conf_mixer = IXDR_GET_LONG(buf);
-               objp->conf_alloc = IXDR_GET_LONG(buf);
-               objp->conf_groups = IXDR_GET_LONG(buf);
+               objp->conf_mixer = IXDR_GET_INT32(buf);
+               objp->conf_alloc = IXDR_GET_INT32(buf);
+               objp->conf_groups = IXDR_GET_INT32(buf);
                }
                 if (!xdr_array (xdrs, (char 
**)&objp->conf_limits.conf_limits_val, (u_int *) 
&objp->conf_limits.conf_limits_len, ~0,
                        sizeof (int), (xdrproc_t) xdr_int))
@@ -416,13 +416,13 @@
                         if (!xdr_long (xdrs, &objp->gid))
                                 return FALSE;
                } else {
-                       IXDR_PUT_U_LONG(buf, objp->nodes);
-                       IXDR_PUT_U_LONG(buf, objp->ports);
-                       IXDR_PUT_U_LONG(buf, objp->used);
-                       IXDR_PUT_U_LONG(buf, objp->mixers);
-                       IXDR_PUT_U_LONG(buf, objp->conferences);
-                       IXDR_PUT_LONG(buf, objp->uid);
-                       IXDR_PUT_LONG(buf, objp->gid);
+                       IXDR_PUT_U_INT32(buf, objp->nodes);
+                       IXDR_PUT_U_INT32(buf, objp->ports);
+                       IXDR_PUT_U_INT32(buf, objp->used);
+                       IXDR_PUT_U_INT32(buf, objp->mixers);
+                       IXDR_PUT_U_INT32(buf, objp->conferences);
+                       IXDR_PUT_INT32(buf, objp->uid);
+                       IXDR_PUT_INT32(buf, objp->gid);
                }
                return TRUE;
        } else if (xdrs->x_op == XDR_DECODE) {
@@ -455,13 +455,13 @@
                         if (!xdr_long (xdrs, &objp->gid))
                                 return FALSE;
                } else {
-                       objp->nodes = IXDR_GET_U_LONG(buf);
-                       objp->ports = IXDR_GET_U_LONG(buf);
-                       objp->used = IXDR_GET_U_LONG(buf);
-                       objp->mixers = IXDR_GET_U_LONG(buf);
-                       objp->conferences = IXDR_GET_U_LONG(buf);
-                       objp->uid = IXDR_GET_LONG(buf);
-                       objp->gid = IXDR_GET_LONG(buf);
+                       objp->nodes = IXDR_GET_U_INT32(buf);
+                       objp->ports = IXDR_GET_U_INT32(buf);
+                       objp->used = IXDR_GET_U_INT32(buf);
+                       objp->mixers = IXDR_GET_U_INT32(buf);
+                       objp->conferences = IXDR_GET_U_INT32(buf);
+                       objp->uid = IXDR_GET_INT32(buf);
+                       objp->gid = IXDR_GET_INT32(buf);
                }
         return TRUE;
        }

--Boundary-00=_54T7CLIormORIRI--



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

Reply via email to