Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FWD: Not OK: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED) #30

p5pRT opened this issue Jun 1, 1999 · 2 comments

FWD: Not OK: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED) #30

p5pRT opened this issue Jun 1, 1999 · 2 comments


Copy link

@p5pRT p5pRT commented Jun 1, 1999

Migrated from (status was 'resolved')

Searchable as RT830$

Copy link

@p5pRT p5pRT commented Jun 1, 1999


This report has been registered with perlbug.

-----Ursprüngliche Nachricht-----
Von​: perlbug@​ [mailto​:perlbug@​]
Gesendet am​: Tuesday, June 01, 1999 3​:09 AM
An​: hansm@​
Betreff​: perlbug rejection​: Not OK​: perl 5.00557 on OPENSTEP-Mach 4_2
From hansm@​ Mon May 31 21​:08​:52 1999
Received​: from (IDENT​:root@​ []) by (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA30252 for
  <perlbugtron@​>; Mon, 31 May 1999 21​:08​:49 -0400
From​: hansm@​
Received​: from ( [])
  by (8.9.0/8.9.0) with ESMTP id SAA30787 for
  <perlbug@​>; Mon, 31 May 1999 18​:04​:33 -0600
Received​: from ([]) by
  with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3)
  LDWFK3CD; Tue, 1 Jun 1999 02​:03​:19 +0200
Received​: from by (NX5.67e/NX3.0S)
  id AA07110; Tue, 1 Jun 99 02​:04​:21 +0200
Message-Id​: <9906010004.AA07110@​>
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@​
Subject​: Not OK​: perl 5.00557 on OPENSTEP-Mach 4_2 (UNINSTALLED)
Reply-To​: hansmu@​

This is a build failure report for perl from hansmu@​,
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

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 @​@​


+#if defined(HAS_FCNTL) && defined(F_SETFD) && !defined(FD_CLOEXEC)
+#define FD_CLOEXEC 1
/* 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)
  NDBM_File db
+ CODE​:
+ RETVAL = dbm_error(db->dbp) ;

-#define dbm_clearerr(db) dbm_clearerr(db->dbp)
  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​:
  osname=next, osvers=4_2, archname=OPENSTEP-Mach
  uname='bombadil '
  config_args='-des -Dcf_email=hansmu@​ -Dprefix=/usr/local
-Doptimize=-g -O'
  hint=recommended, useposix=undef, d_sigaction=undef
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  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
  libpth=/lib /usr/lib /usr/local/lib
  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​:

Environment for perl 5.00557​:
  LANG (unset)
  LANGUAGE (unset)
  LOGDIR (unset)

  PERL_BADLANG (unset)

Copy link

@p5pRT p5pRT commented Jun 2, 1999

From [Unknown Contact. See original ticket]

tron (please ignore)​: looking at the reply...

Richard Foley

@p5pRT p5pRT closed this Nov 28, 2003
This was referenced Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant