develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000322.004] Not OK: perl v5.6.0 +v5.6.0-RC2 onpowerpc-machten 4.1.4 (UNINSTALLED)

From:
Dominic Dunlop
Date:
March 22, 2000 03:52
Subject:
[ID 20000322.004] Not OK: perl v5.6.0 +v5.6.0-RC2 onpowerpc-machten 4.1.4 (UNINSTALLED)
Message ID:
p04310103b4fe5c0dbc66@[192.168.1.4]
This is a build failure report for perl from domo@Kcompuer.org,
generated with the help of perlbug 1.27 running under perl v5.6.0.


-----------------------------------------------------------------
[Please enter your report here]

One and a bit test failures.  Here's the bit:

op/taint.............# shmget failed:
# shmwrite failed: Invalid argument
# shmctl failed: Invalid argument
# msgctl failed: Operation not permitted
ok

This is due to an incomplete implementation of System V IPC in
MachTen.

And here's the one:

pragma/warnings......PROG:
# pp_hot.c [pp_print]
use warnings 'io' ;
print STDIN "anc";
print <STDOUT>;
print <STDERR>;
open(FOO, ">&STDOUT") and print <FOO>;
print getc(STDERR);
print getc(FOO);
####################################################################
# The next test is known to fail on some systems (Linux+old glibc, #
# old *BSDs, and NeXT, among others.                               #
# We skip it for now (on the grounds that it is "just" a warning). #
####################################################################
#read(FOO,$_,1);
no warnings 'io' ;
print STDIN "anc";
EXPECTED:
Filehandle main::STDIN opened only for input at - line 3.
Filehandle main::STDOUT opened only for output at - line 4.
Filehandle main::STDERR opened only for output at - line 5.
Filehandle main::FOO opened only for output at - line 6.
Filehandle main::STDERR opened only for output at - line 7.
Filehandle main::FOO opened only for output at - line 8.
GOT:
Filehandle main::STDIN opened only for input at - line 3.
Filehandle main::STDOUT opened only for output at - line 4.
Filehandle main::STDERR opened only for output at - line 5.
Filehandle main::STDERR opened only for output at - line 7.
FAILED at test 257

This is due to an OS bug: MachTen doesn't give pipes a file type --
see separately submitted follow-up to my bug report [ID
20000315.008].  As it's an OS bug, and of limited impact, I don't
propose submitting a patch for perl to work around it.

I do propose adding a README.machten (hitting this list soon) to
document this stuff.

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl v5.6.0:

Configured by domo at Thu Mar 16 10:29:32 WET 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=machten, osvers=4.1.4, archname=powerpc-machten
    uname='machten ppp100 5 0.5 powerpc '
    config_args='-de -Doptimize=-g'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-g', gccversion=2.8.1
    cppflags='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING -I/usr/local/include'
    ccflags ='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -Xlstack=1048576 -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-lndbm -lgdbm -ldb -lm -lc
    libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags=''

Locally applied patches:
    v5.6.0-RC2

---
@INC for perl v5.6.0:
    lib
    /usr/local/lib/perl5/5.6.0/powerpc-machten
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/powerpc-machten
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl/5.00557-hidden/powerpc-machten
    /usr/local/lib/perl5/site_perl/5.00557-hidden
    /usr/local/lib/perl5/site_perl/5.00556-hidden/powerpc-machten
    /usr/local/lib/perl5/site_perl/5.00556-hidden
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/domo
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/usr/lib
    LOGDIR (unset)
    PATH=/sbin:/usr/sbin:/home/domo/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11/bin:/usr/libexec
    PERL_BADLANG (unset)
    SHELL=/bin/sh
-- 
Dominic Dunlop



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About