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

[ID 20000224.002] [PATCH 5.5.660] minitest needs

Dominic Dunlop
February 24, 2000 01:51
[ID 20000224.002] [PATCH 5.5.660] minitest needs
Message ID:

This is a bug report for perl from,
generated with the help of perlbug 1.27 running under perl v5.5.660.

[Please enter your report here]

For better or worse, miniperl now fails a basic test unless
lib/ exists:

base/term............Can't locate in @INC (@INC contains: ../lib /usr/local/lib/perl5/5.5.660/powerpc-machten /usr/local/lib/perl5/5.5.660/usr/local/lib/perl5/site_perl/5.00557/powerpc-machten /usr/local/lib/perl5/site_perl/5.00557 /usr/local/lib/perl5/site_perl/5.00556/powerpc-machten /usr/local/lib/perl5/site_perl/5.00556 /usr/local/lib/perl5/site_perl .) at base/term.t line
BEGIN failed--compilation aborted at base/term.t line 10.
FAILED at test 0
Failed a basic test--cannot continue.

The following patch arranges that configpm is run before the tests are
started.  I also changed the comment output by the Makefile so that it
covers cases such as

io/openpid...........Can't load module IO, dynamic loading not available in this  perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the IO module statically linked into it.)
 at ../lib/IO/ line 241

A better patch would remove dependencies on from the basic
tests.  But I don't have time to do that just now.

--- perl5.5.660/Makefile.SH-as-received	Sun Feb 20 10:45:15 2000
+++ perl5.5.660/Makefile.SH	Thu Feb 24 10:27:00 2000
@@ -759,11 +759,11 @@
 test-notty: test-prep
 	cd t && PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) ./perl TEST
-# Can't depend on lib/ because that might be where miniperl
+# Too bad we must depend on lib/ because that might be where miniperl
 # is crashing.
-minitest: miniperl lib/
-	@echo "You may see some irrelevant test failures if you have been unable"
-	@echo "to build lib/"
+minitest: miniperl lib/ lib/
+	@echo "You may see some irrelevant test failures because miniperl"
+	@echo "cannot load dynamically linked libraries."
 	- cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
 		&& $(LDLIBPTH) ./perl TEST base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t </dev/tty

[Please do not change anything below this line]

Site configuration information for perl v5.5.660:

Configured by domo at Wed Feb 23 17:22:21 WET 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 660) configuration:
    osname=machten, osvers=4.1.4, archname=powerpc-machten
    uname='machten ppp100 5 0.5 powerpc '
    config_args='-Doptimize=-g -de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    usesocks=undef useperlio=undef d_sfio=undef
    use64bits=undef uselargefiles=define usemultiplicity=undef
    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:

@INC for perl v5.5.660:

Environment for perl v5.5.660:
    LANG (unset)
    LANGUAGE (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
Dominic Dunlop Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About