List Info

Thread: Wrong definitions for NetBSD-3.* and above in hints/netbsd.sh




Wrong definitions for NetBSD-3.* and above in hints/netbsd.sh
user name
2007-09-06 06:45:10
# New Ticket Created by  Kidney Bingos 
# Please include the string:  [perl #45231]
# in the subject line of all future correspondence about
this issue. 
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=45231 >


This is a bug report for perl from chrisbingosnet.co.uk,
generated with the help of perlbug 1.35 running under perl
5.9.5.


------------------------------------------------------------
-----
[Please enter your report here]

hints/netbsd.sh contains defines and undefines for functions
on NetBSD-3.0 and above
which cause lots of "whoa" type questions during
./Configure

endprotoent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_endprotoent_r on this machine
was "undef"!

endprotoent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_endprotoent_r_proto on this
machine was "define"!

endservent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_endservent_r on this machine
was "undef"!

endservent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_endservent_r_proto on this
machine was "define"!

getprotobyname_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotobyname_r on this
machine was "undef"!

getprotobyname_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotobyname_r_proto on this
machine was "define"!

getprotobynumber_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotobynumber_r on this
machine was "undef"!

getprotobynumber_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotobynumber_r_proto on
this machine was "define"!

getprotoent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotoent_r on this machine
was "undef"!

getprotoent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getprotoent_r_proto on this
machine was "define"!

getservbyname_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservbyname_r on this machine
was "undef"!

getservbyname_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservbyname_r_proto on this
machine was "define"!

getservbyport_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservbyport_r on this machine
was "undef"!

getservbyport_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservbyport_r_proto on this
machine was "define"!

getservent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservent_r on this machine
was "undef"!

getservent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_getservent_r_proto on this
machine was "define"!

setprotoent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setprotoent_r on this machine
was "undef"!

setprotoent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setprotoent_r_proto on this
machine was "define"!

setrgid() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setrgid on this machine was
"undef"!

setruid() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setruid on this machine was
"undef"!

setservent_r() found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setservent_r on this machine
was "undef"!

setservent_r() prototype NOT found.
Hmm.  Based on the hints in hints/netbsd.sh,
the recommended value for $d_setservent_r_proto on this
machine was "define"!

Answering 'n' to these questions produces a viable perl.

The same issues occur with the 5.8 series of perl.

Confirmed the same issues occur on NetBSD-4.0 release
candidate 1 (rc1).

Many thanks.

-- 
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk

==========================

[Please do not change anything below this line]
------------------------------------------------------------
-----
---
Flags:
    category=install
    severity=medium
---
Site configuration information for perl 5.9.5:

Configured by cpan at Sat Sep  1 17:21:47 BST 2007.

Summary of my perl5 (revision 5 version 9 subversion 5)
configuration:
  Platform:
    osname=netbsd, osvers=3.1,
archname=i386-netbsd-thread-multi-64int
    uname='netbsd canker.bingosnet.co.uk 3.1 netbsd 3.1
(generic_laptop) #0: tue oct 31 04:32:05 utc 2006 buildsb0.netbsd.org:homebuildsabnetbsd-3-1-releasei38620061
0302053z-objhomebuildsabnetbsd-3-1-releasesrcsysarmpilegener
ic_laptop i386 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
    use64bitint=define, use64bitall=undef,
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe
-I/usr/pkg/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe
-I/usr/pkg/include'
    ccversion='', gccversion='3.3.3 (NetBSD nb3 20040520)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib
-Wl,-rpath,/usr/local/lib -L/usr/pkg/lib'
    libpth=/usr/pkg/lib /lib /usr/lib
    libs=-lgdbm -lm -lcrypt -lutil -lc -lposix -lpthread
    perllibs=-lm -lcrypt -lutil -lc -lposix -lpthread
    libc=/lib/libc.so, so=so, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Wl,-E '
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive
-shared  -L/usr/pkg/lib'

Locally applied patches:


---
INC
for perl 5.9.5:
   
/home/cpan/perl595/lib/5.9.5/i386-netbsd-thread-multi-64int
    /home/cpan/perl595/lib/5.9.5
   
/home/cpan/perl595/lib/site_perl/5.9.5/i386-netbsd-thread-mu
lti-64int
    /home/cpan/perl595/lib/site_perl/5.9.5
    .

---
Environment for perl 5.9.5:
    HOME=/home/cpan
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
   
PATH=/home/cpan/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6
/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/u
sr/local/sbin
    PERL_BADLANG (unset)
    SHELL=/usr/pkg/bin/bash

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )