Your message dated Mon, 1 Aug 2005 17:59:36 +0100 with message-id <[EMAIL PROTECTED]> and subject line Removed 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; 6 Jan 2005 16:55:21 +0000 >From [EMAIL PROTECTED] Thu Jan 06 08:55:21 2005 Return-path: <[EMAIL PROTECTED]> Received: from c158183.adsl.hansenet.de (localhost.localdomain) [213.39.158.183] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Cmauu-0007RT-00; Thu, 06 Jan 2005 08:55:20 -0800 Received: from aj by localhost.localdomain with local (Exim 4.34) id 1Cmb0a-0006ji-CB; Thu, 06 Jan 2005 18:01:12 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: ferite: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment Message-Id: <[EMAIL PROTECTED]> Date: Thu, 06 Jan 2005 18:01:12 +0100 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: Package: ferite Severity: normal Tags: patch When building 'ferite' on amd64 with gcc-4.0, I get the following error: cc -DAUTOLOAD_CORE -D_REENTRANT -DUSE_PTHREAD -DTHREAD_SAFE -I. -I. -I.. -I../libs/aphex/include -I../libs/triton/include/ -I../include -I/usr/include -I/usr/include -I../include/ferite/ -g -Wall -O2 -MT ferite_execute.lo -MD -MP -MF .deps/ferite_execute.Tpo -c ferite_execute.c -fPIC -DPIC -o .libs/ferite_execute.o ferite_execute.c: In function 'ferite_script_function_execute': ferite_execute.c:204: error: invalid lvalue in assignment ferite_execute.c:215: error: invalid lvalue in assignment ferite_execute.c:226: error: invalid lvalue in assignment ferite_execute.c:237: error: invalid lvalue in assignment make[3]: *** [ferite_execute.lo] Error 1 make[3]: Leaving directory `/ferite-1.0.0.1+rc2/src' With the attached patch 'ferite' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/ipc/ipc.fec ./modules/ipc/ipc.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/ipc/ipc.fec 2004-11-23 16:11:50.000000000 +0100 +++ ./modules/ipc/ipc.fec 2005-01-06 17:22:44.000000000 +0100 @@ -102,7 +102,7 @@ */ native function constructor() { - SelfObj = fmalloc (sizeof(IpcData)); + self->odata = fmalloc (sizeof(IpcData)); SelfObj->key = 0; SelfObj->size = DEFAULT_SEGMENT_SIZE; SelfObj->perm = DEFAULT_PERMISSION; @@ -140,7 +140,7 @@ } } - ffree (SelfObj); + ffree (self->odata); } /** diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/ipc/ipc_IpcObject.c ./modules/ipc/ipc_IpcObject.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/ipc/ipc_IpcObject.c 2004-11-23 16:11:51.000000000 +0100 +++ ./modules/ipc/ipc_IpcObject.c 2005-01-06 17:22:49.000000000 +0100 @@ -127,7 +127,7 @@ } } - ffree (SelfObj); + ffree (self->odata); } FE_RETURN_VOID; @@ -249,7 +249,7 @@ #line 103 "ipc.fec" - SelfObj = fmalloc (sizeof(IpcData)); + self->odata = fmalloc (sizeof(IpcData)); SelfObj->key = 0; SelfObj->size = DEFAULT_SEGMENT_SIZE; SelfObj->perm = DEFAULT_PERMISSION; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection.fec ./modules/reflection/reflection.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection.fec 2004-09-09 15:43:53.000000000 +0200 +++ ./modules/reflection/reflection.fec 2005-01-06 17:31:01.000000000 +0100 @@ -79,7 +79,7 @@ { FE_RETURN_NULL_OBJECT; } - ClassObj = VAC(klass); + self->odata = VAC(klass); } /** @@ -166,7 +166,7 @@ plist[0] = ferite_create_void_variable( script, "classWithName", FE_STATIC ); plist[0]->type = F_VAR_CLASS; - VAC(plist[0]) = nsb->data; + plist[0]->data.pval = nsb->data; rval = ferite_new_object( script, classnsb->data, plist ); ferite_delete_parameter_list( script, plist ); @@ -257,7 +257,7 @@ { if(obj != NULL) { - ObjectObj = obj; + self->odata = obj; obj->refcount++; } else @@ -533,7 +533,7 @@ { FeriteNamespaceBucket *nsb = NULL; - FunctionObj = fmalloc( sizeof( FunctionHolder ) ); + self->odata = fmalloc( sizeof( FunctionHolder ) ); FunctionObj->obj = NULL; nsb = ferite_find_namespace(script,script->mainns,f->data,FENS_FNC); @@ -541,27 +541,27 @@ FunctionObj->func = nsb->data; else { - ffree( FunctionObj ); + ffree( self->odata ); FE_RETURN_NULL_OBJECT; } } native function constructor( object o, string f ) { - FunctionObj = fmalloc( sizeof( FunctionHolder ) ); + self->odata = fmalloc( sizeof( FunctionHolder ) ); FunctionObj->func = ferite_object_get_function(script,o,f->data); FunctionObj->obj = o; if( FunctionObj->func == NULL ) { - ffree( FunctionObj ); + ffree( self->odata ); FE_RETURN_NULL_OBJECT; } } native function destructor() { - if( FunctionObj != NULL ) - ffree(FunctionObj); + if( self->odata != NULL ) + ffree(self->odata); } /** diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Class.c ./modules/reflection/reflection_Class.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Class.c 2004-09-09 15:44:08.000000000 +0200 +++ ./modules/reflection/reflection_Class.c 2005-01-06 17:31:03.000000000 +0100 @@ -84,7 +84,7 @@ { FE_RETURN_NULL_OBJECT; } - ClassObj = VAC(klass); + self->odata = VAC(klass); } FE_RETURN_VOID; @@ -166,7 +166,7 @@ plist[0] = ferite_create_void_variable( script, "classWithName", FE_STATIC ); plist[0]->type = F_VAR_CLASS; - VAC(plist[0]) = nsb->data; + plist[0]->data.pval = nsb->data; rval = ferite_new_object( script, classnsb->data, plist ); ferite_delete_parameter_list( script, plist ); diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Function.c ./modules/reflection/reflection_Function.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Function.c 2004-09-09 15:44:08.000000000 +0200 +++ ./modules/reflection/reflection_Function.c 2005-01-06 17:31:03.000000000 +0100 @@ -93,8 +93,8 @@ #line 561 "reflection.fec" - if( FunctionObj != NULL ) - ffree(FunctionObj); + if( self->odata != NULL ) + ffree(self->odata); } FE_RETURN_VOID; @@ -115,13 +115,13 @@ #line 548 "reflection.fec" - FunctionObj = fmalloc( sizeof( FunctionHolder ) ); + self->odata = fmalloc( sizeof( FunctionHolder ) ); FunctionObj->func = ferite_object_get_function(script,o,f->data); FunctionObj->obj = o; if( FunctionObj->func == NULL ) { - ffree( FunctionObj ); + ffree( self->odata ); FE_RETURN_NULL_OBJECT; } @@ -145,7 +145,7 @@ FeriteNamespaceBucket *nsb = NULL; - FunctionObj = fmalloc( sizeof( FunctionHolder ) ); + self->odata = fmalloc( sizeof( FunctionHolder ) ); FunctionObj->obj = NULL; nsb = ferite_find_namespace(script,script->mainns,f->data,FENS_FNC); @@ -153,7 +153,7 @@ FunctionObj->func = nsb->data; else { - ffree( FunctionObj ); + ffree( self->odata ); FE_RETURN_NULL_OBJECT; } diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Object.c ./modules/reflection/reflection_Object.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/reflection/reflection_Object.c 2004-09-09 15:44:08.000000000 +0200 +++ ./modules/reflection/reflection_Object.c 2005-01-06 17:31:03.000000000 +0100 @@ -172,7 +172,7 @@ if(obj != NULL) { - ObjectObj = obj; + self->odata = obj; obj->refcount++; } else diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/regexp/regexp.fec ./modules/regexp/regexp.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/regexp/regexp.fec 2004-12-01 16:59:38.000000000 +0100 +++ ./modules/regexp/regexp.fec 2005-01-06 17:32:09.000000000 +0100 @@ -333,7 +333,7 @@ if( SelfObj != NULL ) { ferite_delete_regex( SelfObj ); - SelfObj = NULL; + self->odata = NULL; } } @@ -350,7 +350,7 @@ { FeriteVariable *regexp = ferite_object_get_var( script, self, "regexp" ); FeriteVariable *flags = ferite_object_get_var( script, self, "flags" ); - SelfObj = ferite_generate_regex( script, VAS(regexp)->data, VAS(flags)->data ); + self->odata = ferite_generate_regex( script, VAS(regexp)->data, VAS(flags)->data ); } private native function __regexp( string match, string replace, number all, number replacing ) diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/regexp/regexp_Regexp.c ./modules/regexp/regexp_Regexp.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/regexp/regexp_Regexp.c 2004-12-01 16:59:44.000000000 +0100 +++ ./modules/regexp/regexp_Regexp.c 2005-01-06 17:32:10.000000000 +0100 @@ -16,7 +16,7 @@ FeriteVariable *regexp = ferite_object_get_var( script, self, "regexp" ); FeriteVariable *flags = ferite_object_get_var( script, self, "flags" ); - SelfObj = ferite_generate_regex( script, VAS(regexp)->data, VAS(flags)->data ); + self->odata = ferite_generate_regex( script, VAS(regexp)->data, VAS(flags)->data ); } FE_RETURN_VOID; @@ -327,7 +327,7 @@ if( SelfObj != NULL ) { ferite_delete_regex( SelfObj ); - SelfObj = NULL; + self->odata = NULL; } } diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/network.fec ./modules/sys/network.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/network.fec 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/sys/network.fec 2005-01-06 17:35:34.000000000 +0100 @@ -115,7 +115,7 @@ if((int)SelfObj->filedata != -1) { close((int)SelfObj->filedata); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } } @@ -277,7 +277,7 @@ if((int)SelfObj->filedata != -1) { close((int)SelfObj->filedata); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } } diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/posix.fec ./modules/sys/posix.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/posix.fec 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/sys/posix.fec 2005-01-06 17:36:34.312922448 +0100 @@ -1414,7 +1414,7 @@ { if( (int)SelfObj->filedata != -1 ) close( (int)SelfObj->filedata ); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } /** * !function toString diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_FileStream.c ./modules/sys/sys_Sys_FileStream.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_FileStream.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/sys/sys_Sys_FileStream.c 2005-01-06 17:36:38.791241640 +0100 @@ -243,7 +243,7 @@ if( (int)SelfObj->filedata != -1 ) close( (int)SelfObj->filedata ); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } FE_RETURN_VOID; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_TcpStream.c ./modules/sys/sys_Sys_TcpStream.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_TcpStream.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/sys/sys_Sys_TcpStream.c 2005-01-06 17:36:38.737249848 +0100 @@ -140,7 +140,7 @@ if((int)SelfObj->filedata != -1) { close((int)SelfObj->filedata); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } } diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_UnixStream.c ./modules/sys/sys_Sys_UnixStream.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/sys/sys_Sys_UnixStream.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/sys/sys_Sys_UnixStream.c 2005-01-06 17:36:38.737249848 +0100 @@ -132,7 +132,7 @@ if((int)SelfObj->filedata != -1) { close((int)SelfObj->filedata); - (int)SelfObj->filedata = -1; + SelfObj->filedata = -1; } } diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread.fec ./modules/thread/thread.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread.fec 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/thread/thread.fec 2005-01-06 17:42:35.334038896 +0100 @@ -65,7 +65,7 @@ native function constructor() { /* create new script for this thread */ - SelfThread = fmalloc( sizeof(FeriteThread) ); + self->odata = fmalloc( sizeof(FeriteThread) ); SelfThread->ctxt = aphex_thread_create(); SelfThread->script = ferite_thread_create_script( script ); SelfThread->obj = self; @@ -79,7 +79,7 @@ { ferite_thread_destroy_script( script, SelfThread ); aphex_thread_destroy( SelfThread->ctxt ); - ffree( SelfThread ); + ffree( self->odata ); } } @@ -185,14 +185,14 @@ native function constructor() { if( SelfMutex != NULL ) - SelfMutex = aphex_mutex_create(); + self->odata = aphex_mutex_create(); } native function destructor() { if( SelfMutex != NULL ) aphex_mutex_destroy( SelfMutex ); - SelfMutex = NULL; + self->odata = NULL; } /** @@ -236,14 +236,14 @@ */ native function constructor() { - SelfEvent = aphex_event_create(); + self->odata = aphex_event_create(); } native function destructor() { if( SelfEvent != NULL ) aphex_event_destroy( SelfEvent ); - SelfEvent = NULL; + self->odata = NULL; } /** diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Event.c ./modules/thread/thread_Event.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Event.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/thread/thread_Event.c 2005-01-06 17:42:42.185997240 +0100 @@ -52,7 +52,7 @@ if( SelfEvent != NULL ) aphex_event_destroy( SelfEvent ); - SelfEvent = NULL; + self->odata = NULL; } FE_RETURN_VOID; @@ -69,7 +69,7 @@ #line 237 "thread.fec" - SelfEvent = aphex_event_create(); + self->odata = aphex_event_create(); } FE_RETURN_VOID; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Mutex.c ./modules/thread/thread_Mutex.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Mutex.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/thread/thread_Mutex.c 2005-01-06 17:42:42.185997240 +0100 @@ -34,7 +34,7 @@ if( SelfMutex != NULL ) aphex_mutex_destroy( SelfMutex ); - SelfMutex = NULL; + self->odata = NULL; } FE_RETURN_VOID; @@ -52,7 +52,7 @@ if( SelfMutex != NULL ) - SelfMutex = aphex_mutex_create(); + self->odata = aphex_mutex_create(); } FE_RETURN_VOID; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Thread.c ./modules/thread/thread_Thread.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/thread/thread_Thread.c 2004-09-01 19:29:15.000000000 +0200 +++ ./modules/thread/thread_Thread.c 2005-01-06 17:42:42.185997240 +0100 @@ -105,7 +105,7 @@ { ferite_thread_destroy_script( script, SelfThread ); aphex_thread_destroy( SelfThread->ctxt ); - ffree( SelfThread ); + ffree( self->odata ); } } @@ -124,7 +124,7 @@ /* create new script for this thread */ - SelfThread = fmalloc( sizeof(FeriteThread) ); + self->odata = fmalloc( sizeof(FeriteThread) ); SelfThread->ctxt = aphex_thread_create(); SelfThread->script = ferite_thread_create_script( script ); SelfThread->obj = self; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/xml/xml.fec ./modules/xml/xml.fec --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/xml/xml.fec 2004-10-29 12:08:47.000000000 +0200 +++ ./modules/xml/xml.fec 2005-01-06 17:43:26.357282184 +0100 @@ -63,7 +63,7 @@ native function constructor() { /* quickly nullify stuff */ - SAXObj = fmalloc( sizeof( xmlSAXHandler ) ); + self->odata = fmalloc( sizeof( xmlSAXHandler ) ); memset( SAXObj, '\0', sizeof( xmlSAXHandler ) ); SAXObj->internalSubset = sax_internalSubset; SAXObj->isStandalone = sax_isStandalone; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/modules/xml/xml_XML_SAXParser.c ./modules/xml/xml_XML_SAXParser.c --- ../tmp-orig/ferite-1.0.0.1+rc2/modules/xml/xml_XML_SAXParser.c 2004-11-15 09:55:57.000000000 +0100 +++ ./modules/xml/xml_XML_SAXParser.c 2005-01-06 17:43:33.165247216 +0100 @@ -60,7 +60,7 @@ /* quickly nullify stuff */ - SAXObj = fmalloc( sizeof( xmlSAXHandler ) ); + self->odata = fmalloc( sizeof( xmlSAXHandler ) ); memset( SAXObj, '\0', sizeof( xmlSAXHandler ) ); SAXObj->internalSubset = sax_internalSubset; SAXObj->isStandalone = sax_isStandalone; diff -urN ../tmp-orig/ferite-1.0.0.1+rc2/src/ferite_execute.c ./src/ferite_execute.c --- ../tmp-orig/ferite-1.0.0.1+rc2/src/ferite_execute.c 2004-12-01 16:56:16.000000000 +0100 +++ ./src/ferite_execute.c 2005-01-06 17:15:03.000000000 +0100 @@ -201,7 +201,7 @@ if( function->is_static ) { targetvar->type = F_VAR_CLASS; - VAC(targetvar) = ((FeriteClass*)__container__)->parent; + targetvar->data.pval = ((FeriteClass*)__container__)->parent; } else if( function->klass != NULL ) { @@ -212,7 +212,7 @@ else { targetvar->type = F_VAR_NS; - VAN(targetvar) = ((FeriteNamespace*)__container__)->container; + targetvar->data.pval = ((FeriteNamespace*)__container__)->container; } } @@ -223,7 +223,7 @@ if( function->is_static ) { targetvar->type = F_VAR_CLASS; - VAC(targetvar) = __container__; + targetvar->data.pval = __container__; } else if( function->klass != NULL ) { @@ -234,7 +234,7 @@ else { targetvar->type = F_VAR_NS; - VAN(targetvar) = __container__; + targetvar->data.pval = __container__; } } } --------------------------------------- Received: (at 288989-done) by bugs.debian.org; 1 Aug 2005 16:59:50 +0000 >From [EMAIL PROTECTED] Mon Aug 01 09:59:50 2005 Return-path: <[EMAIL PROTECTED]> Received: from sorrow.cyrius.com [65.19.161.204] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1Dzddm-000069-00; Mon, 01 Aug 2005 09:59:50 -0700 Received: by sorrow.cyrius.com (Postfix, from userid 10) id 4884264D54; Mon, 1 Aug 2005 16:59:44 +0000 (UTC) Received: by deprecation.cyrius.com (Postfix, from userid 1000) id 6BCC4802A; Mon, 1 Aug 2005 17:59:36 +0100 (BST) Date: Mon, 1 Aug 2005 17:59:36 +0100 From: Martin Michlmayr <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Removed Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i 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=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 2 This package has been removed because it is "buggy and hardly used". -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]