On Tue, 23 Dec 2008 14:36:26 +0100, "Ulrich Habel" <rhaen@netbsd.org> wrote: > Hi, > > I am one of the maintainer of the NetBSD project for the NetBSD > Package Collection. Perl-5.10 is in our package collection, and I am > testing a few things on NetBSD 5.0_BETA right now. I started to use > Test::Smoke to smoketest Perl -current on the shiny new NetBSD > 5.0_BETA and I noticed a problem in the hints file. Thanks, applied as 7f98bb4e5817790bc537b480552504b79734edd5 Welcome to perl5-porters AND to smoking! > Inside the hints/netbsd.sh file is a case in instruction which tests > for all different kinds of NetBSD and set some environmental things > for the build process. > > case "$osvers" in > 0.9*|1.*|2.*|3.*|4.*) > [...] > d_getprotoent_r="$undef" > d_getprotobyname_r="$undef" > d_getprotobynumber_r="$undef" > [...] > d_setprotoent_r_proto="0" > [...] > > As NetBSD 5.x doesn't match this variables aren't set and this causes > Perl to fail in the smoke tests starting with the following error: > > pp_sys.c:4985: warning: implicit declaration of function 'setprotoent_r' > pp_sys.c:4985: error: 'REENTR' has no member named '_protoent_data' > pp_sys.c: In function 'Perl_pp_sservent': > > > > Please apply the attached patch to the Perl sources in order to fix > this problem. I've tested it myself and it makes Perl compiling (tho > failing elsewhere). > > unpatched smoke: http://w3.test-smoke.org/reports/63215 > patched smoke: http://w3.test-smoke.org/reports/63238 > > > Regards > > Uli > -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, SuSE 10.1, 10.3, and 11.0, AIX 5.2, and Cygwin. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous