Skip Menu |
Report information
Id: 830
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: Richard.Foley [at] m.dasa.de
Cc:
AdminCc:

Operating System: next
PatchStatus: (no value)
Severity: medium
Type: bounce
Perl Version: (no value)
Fixed In: (no value)



From: "Foley, Richard" <Richard.Foley [...] m.dasa.de>
To: hansm [...] icgned.icgroup.nl
Cc: perlbug [...] perl.org
Subject: FWD: Not OK: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED)
Date: Tue, 1 Jun 1999 08:35:16 +0200
Download (untitled) / with headers
text/plain 5.5k
This report has been registered with perlbug. -----Urspr√ɬľngliche Nachricht----- Von: perlbug@perl.org [mailto:perlbug@perl.org] Gesendet am: Tuesday, June 01, 1999 3:09 AM An: hansm@icgned.icgroup.nl Betreff: perlbug rejection: Not OK: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED) From hansm@icgned.icgroup.nl Mon May 31 21:08:52 1999 Received: from jhereg.perl.com (IDENT:root@perl.com [199.45.135.9]) by defender.perl.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA30252 for <perlbugtron@perl.org>; Mon, 31 May 1999 21:08:49 -0400 From: hansm@icgned.icgroup.nl Received: from icgbdc002.icgroup.nl (icgbdc002.icgroup.nl [194.134.71.2]) by jhereg.perl.com (8.9.0/8.9.0) with ESMTP id SAA30787 for <perlbug@perl.com>; Mon, 31 May 1999 18:04:33 -0600 Received: from icgned.icgroup.nl ([194.134.71.11]) by icgbdc002.icgroup.nl with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id LDWFK3CD; Tue, 1 Jun 1999 02:03:19 +0200 Received: from p025.spy.euronet.nl by icgned.icgroup.nl (NX5.67e/NX3.0S) id AA07110; Tue, 1 Jun 99 02:04:21 +0200 Message-Id: <9906010004.AA07110@icgned.icgroup.nl> Received: by bombadil (NX5.67g/NX3.0X) id AA01439; Tue, 1 Jun 1999 02:04:19 +0200 Date: Tue, 1 Jun 1999 02:04:19 +0200 To: perlbug@perl.com Subject: Not OK: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED) Reply-To: hansmu@xs4all.nl This is a build failure report for perl from hansmu@xs4all.nl, generated with the help of perlbug 1.26 running under perl 5.00557. 5.005_57 doesn't compile on NeXT. There are three problems: 1. util.c assumes that a platfrom that has fcntl and SETFD must also have FD_CLOEXEC. Alas, NeXT has the close-on-exec feature, but not the macro. The patch below assumes that the value 1 will work on all platforms where FD_CLOEXEC is not defined. 2. Andy Dougherty's my_fflush_all() patch contains too many '#'s. Gcc sez: util.c:3340: undefined or invalid # directive util.c:3343: undefined or invalid # directive util.c:3346: undefined or invalid # directive 3. NDBM_File tries to #define dbm_error and dbm_clearerr. This fails on platform where dbm_error and dbm_clearerr are macroes #defined in <ndbm.h> After applying the patch below, _57 passes all tests. -- HansM Files affected: ext/NDBM_File/NDBM_File.xs Index: util.c --- util.c.orig Tue May 25 11:07:32 1999 *** util.c Tue Jun 1 01:19:01 1999 @@ -62,6 +62,10 @@ #endif +#if defined(HAS_FCNTL) && defined(F_SETFD) && !defined(FD_CLOEXEC) +#define FD_CLOEXEC 1 +#endif + /* paranoid version of system's malloc() */ /* NOTE: Do not call the next three routines directly. Use the macros @@ -3337,13 +3341,13 @@ open_max = sysconf(_SC_OPEN_MAX); # else # ifdef FOPEN_MAX -# open_max = FOPEN_MAX; + open_max = FOPEN_MAX; # else # ifdef OPEN_MAX -# open_max = OPEN_MAX; + open_max = OPEN_MAX; # else # ifdef _NFILE -# open_max = _NFILE; + open_max = _NFILE; # endif # endif # endif Index: ext/NDBM_File/NDBM_File.xs --- ext/NDBM_File/NDBM_File.xs.orig Fri May 7 05:43:25 1999 *** ext/NDBM_File/NDBM_File.xs Mon May 31 21:12:36 1999 @@ -103,15 +103,19 @@ NDBM_File db datum_key key -#define dbm_error(db) dbm_error(db->dbp) int dbm_error(db) NDBM_File db + CODE: + RETVAL = dbm_error(db->dbp) ; + OUTPUT: + RETVAL -#define dbm_clearerr(db) dbm_clearerr(db->dbp) void dbm_clearerr(db) NDBM_File db + CODE: + dbm_clearerr(db->dbp) ; #define setFilter(type) \ --- Site configuration information for perl 5.00557: Configured by hansm at Wed May 26 20:58:02 MET DST 1999. Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration: Platform: osname=next, osvers=4_2, archname=OPENSTEP-Mach uname='bombadil ' config_args='-des -Dcf_email=hansmu@xs4all.nl -Dprefix=/usr/local -Doptimize=-g -O' hint=recommended, useposix=undef, d_sigaction=undef usethreads=undef useperlio=undef d_sfio=undef use64bits=undef usemultiplicity=undef Compiler: cc='cc', optimize='-g -O', gccversion=NeXT DevKit-based CPP 4.0 cppflags='-dynamic -fno-common -DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -arch m68k -DDEBUGGING -I/usr/local/include' ccflags ='-dynamic -fno-common -DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -arch m68k -arch i386 -DDEBUGGING -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 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags ='-dynamic -prebind -arch m68k -arch i386 -L/usr/local/lib' libpth=/lib /usr/lib /usr/local/lib libs= libc=/NextLibrary/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.5.dylib Dynamic Linking: dlsrc=dl_next.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dynamic -bundle -undefined suppress -arch m68k -arch i386 -L/usr/local/lib' Locally applied patches: --- @INC for perl 5.00557: lib /Users/hansm/lib/perl /usr/local/lib/perl5/5.00557/OPENSTEP-Mach /usr/local/lib/perl5/5.00557 /usr/local/lib/perl5/site_perl/5.00557/OPENSTEP-Mach /usr/local/lib/perl5/site_perl/5.00557 . --- Environment for perl 5.00557: HOME=/Users/hansm LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/Users/hansm/bin:/usr/local/bin:/usr/games:/usr/ucb:/bin:/usr/bin:/usr/ etc:/Users/hansm/bin/cookies:/LocalApps/Opener.app:. PERL5LIB=/Users/hansm/lib/perl PERL_BADLANG (unset) SHELL=/bin/sh
From: "Foley, Richard" <Richard.Foley [...] m.dasa.de>
To: perlbugtron [...] perl.org
Subject: Re: [ID 19990601.002] FWD: Not OK: perl 5.00557 on OPENSTEP-Mach
Date: Wed, 2 Jun 1999 09:10:47 +0200
tron (please ignore): looking at the reply... --- Richard Foley richard@rfi.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org