Your message dated Mon, 16 May 2005 10:57:29 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #280402,
regarding libccscript: FTBFS with g++-3.4: access errors
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 280402-forwarded) by bugs.debian.org; 16 May 2005 09:57:31 +0000
>From [EMAIL PROTECTED] Mon May 16 02:57:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl-80-45-128-171.access.as9105.com (bristol.purcell.id.au) 
[80.45.128.171] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DXcLr-000539-00; Mon, 16 May 2005 02:57:31 -0700
Received: from msp by bristol.purcell.id.au with local (Exim 4.50)
        id 1DXcLp-00088G-Ou; Mon, 16 May 2005 10:57:29 +0100
Date: Mon, 16 May 2005 10:57:29 +0100
From: Mark Purcell <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: libccscript: FTBFS with g++-3.4: access errors]
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Rcpt-To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
X-SA-Exim-Scanned: No (on bristol.purcell.id.au); SAEximRunCond expanded to 
false
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

David,

Find enclosed a patch for libccscript to build with g++-3.4

Mark
http://bugs.debian.org/libccscript

----- Forwarded message from Daniel Schepler <[EMAIL PROTECTED]> -----

To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libccscript: FTBFS with g++-3.4: access errors
From: Daniel Schepler <[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: libccscript
Severity: normal
Version: 2.5.6-3
Tags: patch

>From my build log:

g++ -DHAVE_CONFIG_H -I. -I. -I.  -DSCRIPT_MODULE_PATH=\"/usr/lib/ccscript2\" 
-fPIC  -g -O2 -I/usr/include/cc++2 -D_GNU_SOURCE -DUSE_REGEX -c shell.cpp
script.h: In constructor `shScript::shScript()':
script.h:607: error: `char* ost::ScriptCommand::chkHasArgs(ost::Script::Line*, 
ost::ScriptImage*)' is protected
shell.cpp:196: error: within this context
script.h:607: error: `char* ost::ScriptCommand::chkHasArgs(ost::Script::Line*, 
ost::ScriptImage*)' is protected
shell.cpp:198: error: within this context
script.h:607: error: `char* ost::ScriptCommand::chkHasArgs(ost::Script::Line*, 
ost::ScriptImage*)' is protected
shell.cpp:200: error: within this context
script.h:555: error: `char* ost::ScriptCommand::chkIgnore(ost::Script::Line*, 
ost::ScriptImage*)' is protected
shell.cpp:202: error: within this context
make[2]: *** [shell.o] Error 1
make[2]: Leaving directory `/tmp/buildd/libccscript-2.5.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/libccscript-2.5.6'
make: *** [build-stamp] Error 2

I've attached a patch which makes the package compile with g++-3.4.
-- 
Daniel Schepler              "Please don't disillusion me.  I
[EMAIL PROTECTED]    haven't had breakfast yet."
                                 -- Orson Scott Card

Content-Description: libccscript g++-3.4 patch
--- libccscript-2.5.6.old/src/shell.cpp 2003-06-12 21:07:53.000000000 +0000
+++ libccscript-2.5.6/src/shell.cpp     2004-11-09 07:40:46.879524998 +0000
@@ -193,13 +193,13 @@
 {
        static Script::Define interp[] = {
                {"echo", (Method)&shInterp::scrEcho, 
-                       &ScriptCommand::chkHasArgs},
+                       &shScript::chkHasArgs},
                {"sys", (Method)&shInterp::scrSystem, 
-                       &ScriptCommand::chkHasArgs},
+                       &shScript::chkHasArgs},
                {"alarm", (Method)&shInterp::scrAlarm, 
-                       &ScriptCommand::chkHasArgs},
+                       &shScript::chkHasArgs},
                {"token", (Method)&shInterp::scrToken,
-                       &ScriptCommand::chkIgnore},
+                       &shScript::chkIgnore},
                {NULL, NULL, NULL}};
 
        trap("alarm");


----- End forwarded message -----


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

Reply via email to