Front page | perl.perl5.porters |
Postings from April 2000
[ID 20000415.003] Not OK: perl v5.6.0 on i686-linux 2.2.13
From:
deveiant
Date:
April 15, 2000 11:07
Subject:
[ID 20000415.003] Not OK: perl v5.6.0 on i686-linux 2.2.13
Message ID:
20000415180508.8400.qmail@lilidth.FaerieMUD.org
This is a build failure report for perl from ged@FaerieMUD.org,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
'make test' fails on 't/lib/ph.t' due to infinite recursion on
MSG_* and SOCK_* constants.
I'm running glibc-2.1, and lines like the following from
/usr/include/bits/socket.h:
MSG_DONTROUTE = 0x04, /* Don't use local routing. */
#define MSG_DONTROUTE MSG_DONTROUTE
cause constructs like the following to be created by h2ph:
eval 'sub MSG_DONTROUTE () { &MSG_DONTROUTE;}' unless defined(&MSG_DONTROUTE);
This causes 'make test' to recurse infinitely when it gets to
test 32, filling all available memory.
After editing a temporary copy of bits/socket.h, changing the
lines like the above to read:
MSG_DONTROUTE = 0x04, /* Don't use local routing. */
#define MSG_DONTROUTE 0x04
and re-running h2ph on the temporary copy, 'make test' passes all
tests.
I couldn't grok h2ph enough to suggest a patch, but will attempt
to come up with something.
Thanks for all your hard work.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=none
---
Site configuration information for perl v5.6.0:
Configured by deveiant at Sat Apr 15 02:25:06 MDT 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.13, archname=i686-linux
uname='linux lilidth 2.2.13 #1 tue nov 2 13:31:14 mst 1999 i686 unknown '
config_args='-Duseshrplib -Dprefix=/usr -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
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
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.1.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.0/i686-linux/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.0:
/usr/lib/perl5/5.6.0/i686-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i686-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.005/i686-linux
/usr/lib/perl5/site_perl/5.005
/usr/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/home/deveiant
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/deveiant/scripts:/home/deveiant/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/kde/bin:/usr/local/enlightenment/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/games:/usr/local/qt/bin:/www/httpd/sbin:/usr/local/samba/bin:/usr/local/teTeX/bin:/usr/local/Eiffel45/bench/spec/linux-glibc2.1/bin:/usr/local/Eiffel45/case/spec/linux-glibc/bin
PERL_BADLANG (unset)
PERL_SOURCE_DIR=/home/deveiant/source/perl5
SHELL=/bin/bash
-
[ID 20000415.003] Not OK: perl v5.6.0 on i686-linux 2.2.13
by deveiant