> And these languages were quite broken (bad make test failures):
[...]
> m4
[...]
> scheme
M4 and scheme pass all tests for me, on Gentoo Linux. myconfig is:
Ok, they both fail on my perl v5.6.0, and work on my v5.8.2.
The scheme test failures are perhaps a dependence of the underlying
scheme compiler (written in perl). The symptom under 5.6.0 is a
Nothing to restore at Scheme/Generator.pm line 74.
when schemec is run.
The m4 "make test" failures say
Perl v5.8.0 required--this is only v5.6.0, stopped at M4/Test.pm line 5.
M4/Test.pm says
use 5.008;
If I comment out this line, then make test works.
What version of perl are you using?
Here is the test trace for the failures.
$ tar xzf ../parrot_2004-02-28_080000.tar.gz
$ cd parrot/
$ make test
Test oddities:
t/pmc/signal............ok 1/6Use of uninitialized value in pattern
match (m//) at t/pmc/signal.t line 60.
t/pmc/signal............ok 3/6Use of uninitialized value in pattern
match (m//) at t/pmc/signal.t line 60.
imcc/t/syn/file.........Name "main::OLDERR" used only once: possible
typo at imcc/t/syn/file.t line 358.
$ cat myconfig
Summary of my parrot 0.0.13 configuration:
configdate='Sat Feb 28 12:53:49 2004'
Platform:
osname=linux, archname=i386-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=perl
Compiler:
cc='gcc', ccflags=' -I/usr/local/include',
Linker and Libraries:
ld='gcc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lpthread'
Dynamic Linking:
so='.so', ld_shared='-shared -L/usr/local/lib',
ld_shared_flags=''
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=4 byteorder=1234,
nv=double, numvalsize=8, doublesize=8
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
$ /lib/libc.so.6
GNU C Library stable release version 2.2.4, by Roland McGrath et al.
Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.96 20000731 (Red Hat Linux 7.1 2.96-97).
Compiled on a Linux 2.4.7-6smp system on 2001-09-04.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
The C stubs add-on version 2.1.2.
linuxthreads-0.9 by Xavier Leroy
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <[EMAIL PROTECTED]>.
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.6-3.1enterprise, archname=i386-linux
uname='linux stripples.devel.redhat.com 2.4.6-3.1enterprise #1 smp tue jul 24
14:03:17 edt 2001 i686 unknown '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc
-Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dd_dosuid
-Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm
-Uuselargefiles'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2 -march=i386 -mcpu=i686', gccversion=2.96 20000731 (Red
Hat Linux 7.1 2.96-96)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Aug 9 2001 22:48:52
@INC:
/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
.
$ cd languages/scheme
$ make
perl t/harness
t/io/basic.........ok
t/arith/basic......ok
t/arith/logic......ok
t/arith/nested.....ok
t/logic/basic......ok
t/logic/defines....ok 8/12Nothing to restore at Scheme/Generator.pm line 74.
# Failed test (Scheme/Test.pm at line 76)
# got: 'error:imcc:parse error, unexpected EOM, expecting PARROT_OP
#
# in file 't/logic/defines9.pasm' line 1
# '
# expected: '321'
t/logic/defines....NOK 9Nothing to restore at Scheme/Generator.pm line 74.
# Failed test (Scheme/Test.pm at line 76)
# got: 'error:imcc:parse error, unexpected EOM, expecting PARROT_OP
#
# in file 't/logic/defines10.pasm' line 1
# '
# expected: '9837'
t/logic/defines....NOK 10Nothing to restore at Scheme/Generator.pm line 74.
# Failed test (Scheme/Test.pm at line 76)
# got: 'error:imcc:parse error, unexpected EOM, expecting PARROT_OP
#
# in file 't/logic/defines11.pasm' line 1
# '
# expected: '012023'
t/logic/defines....NOK 11# Looks like you failed 3 tests of 12.
t/logic/defines....dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 9-11
Failed 3/12 tests, 75.00% okay
t/logic/lists......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/logic/defines.t 3 768 12 3 25.00% 9-11
Failed 1/7 test scripts, 85.71% okay. 3/119 subtests failed, 97.48% okay.
make: *** [test] Error 11
$ cd ../m4
$ make
ln -s -f ../../runtime
ln -s -f ../../library
../../parrot -o src/m4.pbc src/m4.imc
ln -s -f src/m4.pbc
$ make test
perl -MTest::Harness -e 'Test::Harness::runtests( glob( "t/*/*.t" ) )'
t/basic/001_comletely_empty.......Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/001_comletely_empty.t line 7.
BEGIN failed--compilation aborted at t/basic/001_comletely_empty.t line 7.
t/basic/001_comletely_empty.......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/002_hello.................Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/002_hello.t line 7.
BEGIN failed--compilation aborted at t/basic/002_hello.t line 7.
t/basic/002_hello.................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/003_getopt................ok
t/basic/004_define................Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/004_define.t line 7.
BEGIN failed--compilation aborted at t/basic/004_define.t line 7.
t/basic/004_define................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/005_define_with_blanks....Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/005_define_with_blanks.t line 7.
BEGIN failed--compilation aborted at t/basic/005_define_with_blanks.t line 7.
t/basic/005_define_with_blanks....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/006_define_with_rest......Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/006_define_with_rest.t line 7.
BEGIN failed--compilation aborted at t/basic/006_define_with_rest.t line 7.
t/basic/006_define_with_rest......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/007_empty_line............Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/007_empty_line.t line 7.
BEGIN failed--compilation aborted at t/basic/007_empty_line.t line 7.
t/basic/007_empty_line............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/008_two_tests.............Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/008_two_tests.t line 7.
BEGIN failed--compilation aborted at t/basic/008_two_tests.t line 7.
t/basic/008_two_tests.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/009_token_simple..........Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/009_token_simple.t line 7.
BEGIN failed--compilation aborted at t/basic/009_token_simple.t line 7.
t/basic/009_token_simple..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/basic/010_token_string..........Perl v5.8.0 required--this is only v5.6.0, stopped
at M4/Test.pm line 5.
BEGIN failed--compilation aborted at M4/Test.pm line 5.
Compilation failed in require at t/basic/010_token_string.t line 7.
BEGIN failed--compilation aborted at t/basic/010_token_string.t line 7.
t/basic/010_token_string..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/freezing/001_freeze.............ok
t/freezing/002_many_files.........ok
t/regex/001_pcre..................ok
t/regex/002_tokens................ok
t/regex/003_two_compiles..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/basic/001_comletely_empty.t 255 65280 ?? ?? % ??
t/basic/002_hello.t 255 65280 ?? ?? % ??
t/basic/004_define.t 255 65280 ?? ?? % ??
t/basic/005_define_with_blanks.t 255 65280 ?? ?? % ??
t/basic/006_define_with_rest.t 255 65280 ?? ?? % ??
t/basic/007_empty_line.t 255 65280 ?? ?? % ??
t/basic/008_two_tests.t 255 65280 ?? ?? % ??
t/basic/009_token_simple.t 255 65280 ?? ?? % ??
t/basic/010_token_string.t 255 65280 ?? ?? % ??
Failed 9/15 test scripts, 40.00% okay. 0/41 subtests failed, 100.00% okay.
make: *** [test] Error 11
$
From: Bryan Donlan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: LANGUAGES.STATUS
Date: Sat, 28 Feb 2004 12:18:56 -0500
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
On Saturday 28 February 2004 01:12 am, Mitchell N Charity wrote:
> (1) LANGUAGES.STATUS is out of date.
>
> I found (on linux x86 [1]):
>
> These languages failed to build:
> BASIC/interpreter
> jako
> miniperl
> tcl
>
> And these languages were quite broken (bad make test failures):
> BASIC/compiler [2]
> m4
> ruby
> scheme
>
> LANGUAGES.STATUS says they all work.
M4 and scheme pass all tests for me, on Gentoo Linux. myconfig is:
Summary of my parrot 0.0.13 configuration:
configdate='Fri Feb 27 23:07:43 2004'
Platform:
osname=linux, archname=i686-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/bin/perl
Compiler:
cc='gcc', ccflags=' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
Linker and Libraries:
ld='gcc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lpthread -lnsl -ldl -lm -lcrypt -lutil'
Dynamic Linking:
so='.so', ld_shared='-shared -L/usr/local/lib',
ld_shared_flags=''
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=4 byteorder=1234,
nv=double, numvalsize=8, doublesize=8