Skip Menu |
Report information
Id: 132506
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: tonyc <tony [at] develop-help.com>
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: medium
Type: core
Perl Version: 5.27.7
Fixed In: (no value)



To: perlbug [...] perl.org
Date: Mon, 27 Nov 2017 10:30:04 +1100
Subject: build failure on NetBSD (likely due to new in-place edit code)
From: Tony Cook <tony [...] develop-help.com>
Download (untitled) / with headers
text/plain 3.4k
This is a bug report for perl from tony@develop-help.com, generated with the help of perlbug 1.41 running under perl 5.27.7. ----------------------------------------------------------------- [Please describe your issue here] While building on NetBSD 6.0.1, I see the following error: ./miniperl -Ilib make_ext.pl lib/auto/DB_File/DB_File.so MAKE="make" LIBPERL_A=libperl.a LINKTYPE=dynamic Parsing config.in... Looks Good. Can't rename DB_File.pm to DB_File.pm.bak: Function not implemented, skipping file at Makefile.PL line 358, <> line 2354. Unsuccessful Makefile.PL(cpan/DB_File): code=19968 at make_ext.pl line 518. *** Error code 2 A simple in-place edit also fails: netbsd601amd64$ ./miniperl -i.bak -pe 's/foo/quux/' bar Can't rename bar to bar.bak: Function not implemented, skipping file, <> line 1. Perl builds successfully on NetBSD 7.1. I'll work on a fix for this. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=medium --- Site configuration information for perl 5.27.7: Configured by tony at Mon Nov 27 20:28:32 EST 2017. Summary of my perl5 (revision 5 version 27 subversion 7) configuration: Commit id: 2cb35ee012cfe486aa75a422e7bb3cb18ff51336 Platform: osname=netbsd osvers=6.0.1 archname=amd64-netbsd uname='netbsd netbsd601amd64.tony.develop-help.com 6.0.1 netbsd 6.0.1 (generic) amd64 ' config_args='-des -Dusedevel' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include -D_FORTIFY_SOURCE=2' optimize='-O' cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include' ccversion='' gccversion='4.5.3' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/pkg/lib' libpth=/usr/include/gcc-4.5 /usr/lib /usr/pkg/lib /lib libs=-lpthread -lm -lcrypt -lutil -lc -lposix perllibs=-lpthread -lm -lcrypt -lutil -lc -lposix 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 -fstack-protector' --- @INC for perl 5.27.7: lib /usr/lib/perl5/site_perl/5.27.7/amd64-netbsd /usr/lib/perl5/site_perl/5.27.7 /usr/lib/perl5/5.27.7/amd64-netbsd /usr/lib/perl5/5.27.7 --- Environment for perl 5.27.7: HOME=/home/tony LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/tony/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin PERL_BADLANG (unset) SHELL=/bin/sh
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 985b
On Sun, 26 Nov 2017 15:30:34 -0800, tonyc wrote: Show quoted text
> While building on NetBSD 6.0.1, I see the following error: > > ./miniperl -Ilib make_ext.pl lib/auto/DB_File/DB_File.so MAKE="make" > LIBPERL_A=libperl.a LINKTYPE=dynamic > Parsing config.in... > Looks Good. > Can't rename DB_File.pm to DB_File.pm.bak: Function not implemented, > skipping file at Makefile.PL line 358, <> line 2354. > Unsuccessful Makefile.PL(cpan/DB_File): code=19968 at make_ext.pl line > 518. > *** Error code 2 > > A simple in-place edit also fails: > > netbsd601amd64$ ./miniperl -i.bak -pe 's/foo/quux/' bar > Can't rename bar to bar.bak: Function not implemented, skipping file, > <> line 1. > > Perl builds successfully on NetBSD 7.1. > > I'll work on a fix for this.
This was fixed by 184f90dc410cf3e66a5e682337ae54b3c9f9311f, which broke Win32, which was fixed by a06de4dcf2448ead9a5f5dbd87366727ebd91aca, 3c67ad9b9e6d659feb76f3acfc9f81cfe59e3660 and 8779d80ae74c415b57b9d139bb415e167292cd2a. Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org