Issue 32408 - wizards build fails with Error: "GroupId > 255 chars" in line 3485: ""
Summary: wizards build fails with Error: "GroupId > 255 chars" in line 3485: ""
Status: CLOSED DUPLICATE of issue 31314
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680
Hardware: Sun Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
: 36355 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-08-01 23:42 UTC by sparcmoz
Modified: 2004-12-18 06:53 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
tail of the build log (24.01 KB, text/plain)
2004-08-01 23:44 UTC, sparcmoz
no flags Details
vcl similar errors (11.92 KB, text/plain)
2004-08-01 23:48 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2004-08-01 23:42:59 UTC
Building wizards fails, appears that it does not see the end of file and also
some kind of loop, so there is 4mb of repeated error messages, i will just
attach the tail of the build log messages, plus here is the src with line 3484=};

jim@sun:~/680/wizards/source/formwizard$ tail dbwizres.src
{
        Text [ en-US ] = "This is not an FTP folder";
        Text [ de ] = "Dies ist kein FTP-Ordner";
};

String RID_WEBWIZARDDIALOG_FTP +18
{
        Text [ en-US ] = "Connecting...";
        Text [ de ] = "Die Verbindung wird hergestellt...";
};
jim@sun:~/680/wizards/source/formwizard$
Comment 1 sparcmoz 2004-08-01 23:44:01 UTC
Created attachment 16874 [details]
tail of the build log
Comment 2 sparcmoz 2004-08-01 23:47:23 UTC
So I just keep on building 
cd instsetoo
build --since wizards

and a similar error is found at module vcl (see attached)
Comment 3 sparcmoz 2004-08-01 23:48:13 UTC
Created attachment 16875 [details]
vcl similar errors
Comment 4 pavel 2004-08-02 09:30:01 UTC
Ivo: isn't this the confirmation of the problem you wanted?
Comment 5 sparcmoz 2004-08-02 11:28:23 UTC
I applied the patch transex3.srclex.l.patch from iz 31314. Wizards has now built
ok and vcl building ok. Is this duplicate of 31314?
Comment 6 ivo.hinkelmann 2004-08-02 12:23:58 UTC
Yes, it's a duplicate of 31314. Can you please give me the version of gcc , flex
and distribution ( incl. version ) do you use . This problem seems to occur only
on some  distributions.
Comment 7 sparcmoz 2004-08-02 12:40:16 UTC
My distribution is debian testing/unstable - mostly unstable.

The sparc64 kernel I built myself from kernel.org sources:
dmesg:
Linux version 2.6.5 (jim@sun) (gcc version 3.3.3 (Debian 20040401)) #13 Sun Apr
18 14:59:35 EST 2004
ARCH: SUN4U

jim@sun:~/680/sot$ uname -a
Linux sun 2.6.5 #13 Sun Apr 18 14:59:35 EST 2004 sparc64 GNU/Linux

jim@sun:~/680/sot$ gcc --version
gcc (GCC) 3.3.4 (Debian 1:3.3.4-6)

jim@sun:~/680/sot$ flex --version
flex 2.5.31


Comment 8 sparcmoz 2004-08-02 23:34:17 UTC
Could this be related (still with the patch)

TransEx 3.1 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
========================================================================

Processing File addresstemplate.src ...
Scanning File localize.sdf ...
File detection: Version 2.0 detected!
Merging ...
Segmentation fault
dmake:  Error code 139, while making
'../../unxlngs.pro/misc/dialogs/addresstemplate.src'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/jim/680/svtools/source/dialogs
Comment 9 sparcmoz 2004-08-02 23:49:09 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14434)]
0x0001d4e4 in Export::Execute ()
(gdb) bt
#0  0x0001d4e4 in Export::Execute ()
#1  0x00025910 in ParserQueue::Pop ()
#2  0x00024edc in ParserQueue::Close ()
#3  0x0001af0c in main ()
(gdb)

i am not sure what to do next :(
Comment 10 sparcmoz 2004-08-03 05:13:03 UTC
/home/jim/680/tools/bootstrp/inimgr.cxx: In member function `void
IniManager::ForceUpdate()':
/home/jim/680/tools/bootstrp/inimgr.cxx:204: warning: cannot pass objects of
non-POD type `class ByteString' through `...'; call will abort at runtime
Comment 11 sparcmoz 2004-08-03 05:18:47 UTC
sorry, my mistake- ignore that last comment message, re: cannot pass objects 
Comment 12 sparcmoz 2004-08-03 06:14:18 UTC
i hope this is more useful.

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/jim/680/solver/680/unxlngs.pro/bin/transex3 -p svtools
-i addresstemplate.src -o
../../unxlngs.pro/misc/dialogs/addresstemplate.src.unxlngs.pro -m localize.sdf
-l all
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 7130)]

TransEx 3.1 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
========================================================================
locked /tmp/HiA2se
unlocked /tmp/HiA2se

Processing File addresstemplate.src ...
locked ../../unxlngs.pro/misc/dialogs/addresstemplate.src.unxlngs.pro
Scanning File localize.sdf ...
File detection: Version 2.0 detected!
Merging ...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7130)]
0x0003a898 in ByteString::GetChar () at /home/jim/680/tools/bootstrp/inimgr.cxx:206
206                             ( sEntry != ".." ))
(gdb) list
201     #endif
202
203             for ( USHORT i=0; i < aDir.Count(); i++ ) {
204                     ByteString sEntry( aDir[i].GetName(),
gsl_getSystemTextEncoding());
205                     if (( sEntry != "." ) &&
206                             ( sEntry != ".." ))
207                     {
208                             if ( !FileStat( aDir[i] ).IsKind( FSYS_KIND_DIR )) {
209                                     ByteString sSrc( aDir[i].GetFull(),
gsl_getSystemTextEncoding());
210                                     ByteString sDestination( sLocalPath );
(gdb) bt
#0  0x0003a898 in ByteString::GetChar () at
/home/jim/680/tools/bootstrp/inimgr.cxx:206
#1  0x0002f544 in Export::Execute ()
#2  0x00037ce0 in ParserQueue::Pop ()
#3  0x000370d0 in ParserQueue::Close ()
#4  0x000296cc in Close ()
#5  0x00027c3c in main (argc=11, argv=0xefffe5e4) at srclex.l:288
(gdb) list
288
289             /* get error info. and end export */
290             nRetValue = GetError();
291             EndExport();
292
293             if( !isQuiet() ) fprintf( stdout,
"\n===================================\n\n" );
294
295             /* return error level */
296             return nRetValue;
297     }
(gdb)
Comment 13 sparcmoz 2004-08-03 12:31:15 UTC
the patches fixed this but more problems later 

*** This issue has been marked as a duplicate of 31314 ***
Comment 14 sparcmoz 2004-08-03 12:33:30 UTC
I dont understand this, where is ByteString::GetChar ??

#0  0x0003a898 in ByteString::GetChar () at
/home/jim/680/tools/bootstrp/inimgr.cxx:206
Comment 15 khirano 2004-10-30 01:19:17 UTC
*** Issue 36355 has been marked as a duplicate of this issue. ***
Comment 16 khirano 2004-10-30 01:30:51 UTC
$ uname -a
Linux kaznari 2.6.8-1-386 #1 Thu Oct 7 02:21:16 EDT 2004 i686 GNU/Linux

$ gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-2)

$ flex --version
flex 2.5.31
Comment 17 sparcmoz 2004-12-18 06:53:48 UTC
this is a duplicate of 31314 which is closed-fixed.