develooper Front page | perl.perl5.porters | Postings from December 2017

[perl #132506] build failure on NetBSD (likely due to new in-placeedit code)

From:
Tony Cook via RT
Date:
December 7, 2017 22:09
Subject:
[perl #132506] build failure on NetBSD (likely due to new in-placeedit code)
Message ID:
rt-4.0.24-21775-1512684589-498.132506-15-0@perl.org
On Sun, 26 Nov 2017 15:30:34 -0800, tonyc wrote:
> 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

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=132506



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About