Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #34912] Badly balanced at classes/pmc2c2.pl

0 views
Skip to first unread message

Jrieks @ Wmit00 . It . Math . Uni-Wuppertal . De

unread,
Apr 11, 2005, 9:11:35 AM4/11/05
to bugs-bi...@rt.perl.org
# New Ticket Created by jri...@wmit00.it.math.uni-wuppertal.de
# Please include the string: [perl #34912]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34912 >


---
osname= linux
osvers= 2.4.0
arch= i586-linux
cc= cc
---
Flags:
category=utilities
severity=high
ack=no
---
After "perl Configure.pl", make failes:

wmit01 ~/parrot > make
Compiling with:
xx.c
cc -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused -Wsign-compare -I./include -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c
/usr/bin/perl classes/pmc2c2.pl --dump classes/null.pmc
Badly balanced at classes/pmc2c2.pl line 355, <$fh> line 1.
make: *** [classes/null.dump] Error 255


wmit01 ~ > perl -v

This is perl, v5.6.0 built for i586-linux

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

---
Summary of my parrot 0.1.2 configuration:
configdate='Mon Apr 11 14:54:06 2005'
Platform:
osname=linux, archname=i586-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/bin/perl
Compiler:
cc='cc', ccflags=' -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lpthread -lrt -lgmp'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8

---
Environment:
HOME LANG LANGUAGE LC_COLLATE LD_LIBRARY_PATH LOGDIR PATH PERL5LIB SHELL

Klaas-Jan Stol

unread,
Apr 11, 2005, 4:42:06 PM4/11/05
to perl6-i...@perl.org
jri...@wmit00.it.math.uni-wuppertal.de (via RT) wrote:

># New Ticket Created by jri...@wmit00.it.math.uni-wuppertal.de
># Please include the string: [perl #34912]
># in the subject line of all future correspondence about this issue.
># <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34912 >
>
>
>---
>osname= linux
>osvers= 2.4.0
>arch= i586-linux
>cc= cc
>---
>Flags:
> category=utilities
> severity=high
> ack=no
>---
>After "perl Configure.pl", make failes:
>
>wmit01 ~/parrot > make
>Compiling with:
>xx.c
>cc -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused -Wsign-compare -I./include -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c
>/usr/bin/perl classes/pmc2c2.pl --dump classes/null.pmc
>Badly balanced at classes/pmc2c2.pl line 355, <$fh> line 1.
>make: *** [classes/null.dump] Error 255
>
>
>
>

hello,
Some time ago, I got (about) the same error. THis was on Mac os 10.2,
updating my version of Perl solved the problem. Of course, this may be
something else, but oh well, maybe it's not.

klaas-jan

Leopold Toetsch

unread,
Apr 11, 2005, 11:54:40 AM4/11/05
to perl6-i...@perl.org
Jrieks @ Wmit00 . It . Math . Uni-Wuppertal . De <parrotbug...@parrotcode.org> wrote:

> /usr/bin/perl classes/pmc2c2.pl --dump classes/null.pmc
> Badly balanced at classes/pmc2c2.pl line 355, <$fh> line 1.

All seems to work fine - strange.

BTW: a nice to have: include SVN revision of local copy in bug report.

leo

Brent 'Dax' Royal-Gordon

unread,
Apr 12, 2005, 2:18:59 AM4/12/05
to l...@toetsch.at, perl6-i...@perl.org
Leopold Toetsch <l...@toetsch.at> wrote:
> BTW: a nice to have: include SVN revision of local copy in bug report.

Remember how I set things up so that Configure would add a timestamp
to config.h and Config.pm? I only did that because CVS didn't have a
repository-wide revision number like Subversion.

SVN revision number is an excellent idea.

--
Brent 'Dax' Royal-Gordon <br...@brentdax.com>
Perl and Parrot hacker

"I used to have a life, but I liked mail-reading so much better."

Leopold Toetsch

unread,
Apr 12, 2005, 4:04:34 AM4/12/05
to perl6-i...@perl.org
Jrieks @ Wmit00 . It . Math . Uni-Wuppertal . De <parrotbug...@parrotcode.org> wrote:

> wmit01 ~ > perl -v

> This is perl, v5.6.0 built for i586-linux

As it seems to be a perl issue, please check the relevant part of the
PMC compiler. IIRC there was a patch regarding C<extract_balanced> not
too long ago.

leo

Jens Rieks

unread,
Apr 12, 2005, 9:46:07 AM4/12/05
to l...@toetsch.at, perl6-i...@perl.org
On Monday 11 April 2005 17:54, Leopold Toetsch wrote:
> BTW: a nice to have: include SVN revision of local copy in bug report.
I'll implement it.

jens

Will Coleda via RT

unread,
Jun 12, 2005, 10:28:12 AM6/12/05
to perl6-i...@perl.org
Jens - is this still an issue?

> [leo - Tue Apr 12 02:44:09 2005]:
>
> Jrieks @ Wmit00 . It . Math . Uni-Wuppertal . De <parrotbug-

Jens Rieks

unread,
Jun 14, 2005, 8:52:52 AM6/14/05
to parrotbug...@parrotcode.org
On Sunday 12 June 2005 16:28, Will Coleda via RT wrote:
> Jens - is this still an issue?
yes. I've no clue whats wrong. Maybe its a perl 5.6.0 bug.
I don't know how to fix it.

jens

0 new messages