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

pbdb_NEW_failure: #32

Closed
p5pRT opened this issue Jun 1, 1999 · 2 comments
Closed

pbdb_NEW_failure: #32

p5pRT opened this issue Jun 1, 1999 · 2 comments

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Jun 1, 1999

Migrated from rt.perl.org#832 (status was 'resolved')

Searchable as RT832$

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

@p5pRT p5pRT commented Jun 1, 1999

From Richard.Foley@m.dasa.de

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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

@p5pRT p5pRT commented Jun 1, 1999

From [Unknown Contact. See original ticket]

Perlbugtron missed this, I shall fix this immediately. perl -v

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

@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
Projects
None yet
1 participant
You can’t perform that action at this time.