Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 523 forks source link

Not OK: perl v5.6.1 +fools-gold on darwin 1.3 (UNINSTALLED) #3810

Closed p5pRT closed 20 years ago

p5pRT commented 23 years ago

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

Searchable as RT6733$

p5pRT commented 23 years ago

From schinder@pobox.com

The following patch allows Errno.pm to build correctly on Mac OS X (I don't know whether it will break other platforms)​:

macosx% diff -u ext/Errno/Errno_pm.PL~ ext/Errno/Errno_pm.PL

Inline Patch ```diff --- ext/Errno/Errno_pm.PL~ Sun Mar 18 22:03:34 2001 +++ ext/Errno/Errno_pm.PL Wed Apr 4 21:32:40 2001 @@ -31,7 +31,7 @@ } } elsif ($Config{gccversion} ne '') { # With the -dM option, gcc outputs every #define it finds - unless(open(FH,"$Config{cc} -E -dM $file |")) { + unless(open(FH,"$Config{cc} -E -dM -traditional-cpp $file |")) { warn "Cannot open '$file'"; return; } ```

It then fails the following:

op/pwent.............FAILED at test 1 op/stat..............FAILED at test 4 pragma/warnings......PROG​: # pp_hot.c [pp_print] use warnings 'io' ; print STDIN "anc"; print \; print \; open(FOO\, ">&STDOUT") and print \; print getc(STDERR); print getc(FOO); #################################################################### # The next test is known to fail on some systems (Linux+old glibc\, # # old *BSDs\, and NeXT\, among others. # # We skip it for now (on the grounds that it is "just" a warning). # #################################################################### #read(FOO\,$_\,1); no warnings 'io' ; print STDIN "anc"; EXPECTED​: Filehandle STDIN opened only for input at - line 3. Filehandle STDOUT opened only for output at - line 4. Filehandle STDERR opened only for output at - line 5. Filehandle FOO opened only for output at - line 6. Filehandle STDERR opened only for output at - line 7. Filehandle FOO opened only for output at - line 8. GOT​: Filehandle STDIN opened only for input at - line 3. Filehandle STDOUT opened only for output at - line 4. Filehandle STDERR opened only for output at - line 5. Filehandle STDERR opened only for output at - line 7. FAILED at test 303 lib/db-btree.........FAILED at test 0 lib/db-recno.........# # Some older versions of Berkeley DB version 1 will fail tests 51\, # 53 and 55. # # You can safely ignore the errors if you're never going to use the # broken functionality (recno databases with a modified bval). # Otherwise you'll have to upgrade your DB library. # # If you want to use Berkeley DB version 1\, then 1.85 and 1.86 are the # last versions that were released. Berkeley DB version 2 is continually # being updated -- Check out http​://www.sleepycat.com/ for more details. # FAILED at test 51 lib/posix............FAILED at test 10 Failed 6 test scripts out of 251\, 97.61% okay.   ### Since not all tests were successful\, you may want to run some   ### of them individually and examine any diagnostic messages they   ### produce. See the INSTALL document's section on "make test".   ### If you are testing the compiler\, then ignore this message   ### and run   ### ./perl harness   ### in the directory ./t.   ###   ### Since most tests were successful\, you have a good chance to   ### get information with better granularity by running   ### ./perl harness   ### in directory ./t. u=1.92 s=0 cu=100.6 cs=35.01 scripts=251 tests=12774 make​: *** [test] Error 1

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.6.1: Configured by schinder at Wed Apr 4 21:32:58 EDT 2001. Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=darwin, osvers=1.3, archname=darwin uname='darwin c22234-g.scllg1.pa.home.com 1.3 darwin kernel version 1.3: thu mar 1 06:56:40 pst 2001; root:xnuxnu-123.5.obj~1release_ppc power macintosh powerpc ' config_args='-des' 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=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include', optimize='-O3', cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='Apple DevKit-based CPP 6.0alpha', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/usr/lib libs=-lm -lc perllibs=-lm -lc libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined suppress' Locally applied patches: fools-gold @INC for perl v5.6.1: lib /System/Library/Perl/darwin /System/Library/Perl /Local/Library/Perl/darwin /Local/Library/Perl /Local/Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl . Environment for perl v5.6.1: DYLD_LIBRARY_PATH=/Volumes/untitled/tmp/perl-5.6.1 HOME=/Users/schinder LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=~/bin/powerpc-apple-macos:/Users/schinder/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin PERL_BADLANG (unset) SHELL=/bin/sh ```
p5pRT commented 21 years ago

From @jhi

(duplicate of #6732)