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

[ID 20000915.007] Not OK: perl v5.7.0 +DEVEL7092 on os2-64int-ld2.30 '(UNINSTALLED)'

From:
sthoenna
Date:
September 15, 2000 07:21
Subject:
[ID 20000915.007] Not OK: perl v5.7.0 +DEVEL7092 on os2-64int-ld2.30 '(UNINSTALLED)'
Message ID:
200009151419.e8FEJvE19796@garcia.efn.org
This is a build failure report for perl from sthoenna@efn.org,
generated with the help of perlbug 1.32 running under perl v5.7.0.


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

op/64bitint.t still failing 53-55, oherwise all ok.
I finally tracked this down; here's a patch:

--- hints/os2.sh.orig	Tue Aug 29 16:10:36 2000
+++ hints/os2.sh	Thu Sep 14 22:04:44 2000
@@ -249,6 +249,8 @@
 
 ####### We define these functions ourselves
 
+d_strtoll='define'
+d_strtoull='define'
 d_getprior='define'
 d_setprior='define'
 
--- os2/os2ish.h.orig	Wed Aug 30 17:49:38 2000
+++ os2/os2ish.h	Thu Sep 14 22:09:12 2000
@@ -271,6 +271,8 @@
 #define isatty	_isterm
 #define rand	random
 #define srand	srandom
+#define strtoll	_strtoll
+#define strtoull	_strtoull
 
 /*
  * fwrite1() should be a routine with the same calling sequence as fwrite(),
--- Configure#7092	Tue Sep 12 14:28:18 2000
+++ Configure	Fri Sep 15 00:39:56 2000
@@ -11612,6 +11612,10 @@
 #include <errno.h>
 #ifdef __hpux
 #define strtoll __strtoll
+#else
+#ifdef __EMX__
+#define strtoll _strtoll
+#endif
 #endif
 #include <stdio.h>
 extern long long int strtoll(char *s, char **, int); 
@@ -11639,7 +11643,8 @@
 EOCP
 	set try
 	if eval $compile; then
-		case "`./try`" in
+		yyy=`./try`
+		case "$yyy" in
 		ok) echo "Your strtoll() seems to be working okay." ;;
 		*) cat <<EOM >&4
 Your strtoll() doesn't seem to be working okay.
@@ -11647,6 +11652,9 @@
 		   d_strtoll="$undef"
 		   ;;
 		esac
+	else
+		echo "(I can't seem to compile the test program--assuming it doesn't)"
+		d_strtoll="$undef"
 	fi
 	;;
 esac
@@ -11668,6 +11676,10 @@
 #include <errno.h>
 #ifdef __hpux
 #define strtoull __strtoull
+#else
+#ifdef __EMX__
+#define strtoull _strtoull
+#endif
 #endif
 #include <stdio.h>
 extern unsigned long long int strtoull(char *s, char **, int); 
@@ -11690,7 +11702,8 @@
 EOCP
 	set try
 	if eval $compile; then
-		case "`./try`" in
+		yyy=`./try`
+		case "$yyy" in
 		ok) echo "Your strtoull() seems to be working okay." ;;
 		*) cat <<EOM >&4
 Your strtoull() doesn't seem to be working okay.
@@ -11698,6 +11711,9 @@
 		   d_strtoull="$undef"
 		   ;;
 		esac
+	else
+		echo "(I can't seem to compile the test program--assuming it doesn't)"
+		d_strtoull="$undef"
 	fi
 	;;
 esac
End of Patch.

The patch to Configure is not strictly necessary since without it the test
programs won't compile and d_strtou?ll will be left defined.

A better fix would be to have Configure explicitly figure out which of
strtou?ll, _strtou?ll, __strtou?ll, strtouq, atou?ll, etc. to use, ala
d_Gconvert.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=none
---
Site configuration information for perl v5.7.0:

Configured by sthoenna at Thu Sep 14 22:16:52 PDT 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=os2, osvers=2.30, archname=os2-64int-ld
    uname='os2 efn.org 2 2.30 i386  '
    config_args='-de -Dprefix=d:/perl -Dusedevel -Duse64bitint -Duselongdouble -Aoptimize=-DDEBUGGING'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=define
  Compiler:
    cc='gcc', ccflags ='-Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=63',
    optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -DDEBUGGING',
    cppflags='-Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=63'
    ccversion='', gccversion='2.8.1', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000'
    libpth=d:/emx/lib d:/emx/lib/mt
    libs=-lsocket -lm -lbsd
    libc=d:/emx/lib/mt/c_import.lib, so=dll, useshrplib=true, libperl=libperl.lib
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-Zdll', lddlflags='-Zdll -Zomf -Zmt -Zcrtdll -s'

Locally applied patches:
    DEVEL7092

---
@INC for perl v5.7.0:
    lib
    d:/perl/lib/5.7.0/os2-64int-ld
    d:/perl/lib/5.7.0
    d:/perl/lib/site_perl/5.7.0/os2-64int-ld
    d:/perl/lib/site_perl/5.7.0
    d:/perl/lib/site_perl
    .

---
Environment for perl v5.7.0:
    HOME=d:\home\sthoenna
    LANG=en_us
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR=sthoenna
    PATH=d:\bin;C:\OS2;d:\perl\bin;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;C:\MMOS2;d:\os2apps\util;d:\DOSAPPS\UTIL;c:\sio;D:\WINDOWS;d:\pdksh;d:\emx\bin;d:\emacs\19.33\bin;d:\ispell
    PERL_BADLANG (unset)
    PERL_SH_DIR=d:\BIN
    SHELL (unset)




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