Compiling Perl in 32 bit chroot on sparc64 failing
John Klos <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've been using a sparc64 machine (Sun Fire V100) to compile pkgsrc packages for sparc in a 32 bit chroot. This worked well enough to compile 11,476 packages from 2019Q1. The system I'm using was moved and upgraded to 8.1, both for the root system and in the chroot. However, now I can't even successfully build perl, which, of course, is required before I can even start pbulk: Running pm_to_blib for ext/ExtUtils-Miniperl directly LD_LIBRARY_PATH=/tmp/obj-pbulk/lang/perl5/work/perl-5.28.2 ./miniperl -Ilib make_ext.pl dist/ExtUtils-ParseXS/pm_to_blib MAKE="/usr/pbulk/bin/bmake" LIBPERL_A=libperl.so [1] Segmentation fault (core dumped) LD_LIBRARY_PATH=... *** Error code 139 To see whether this is an issue with perl or with the update to 8.1, I tried to build perl again from 2019Q1, and it, too failed: /tmp/pkgbuild/lang/perl5/work/perl-5.28.1/ext/Fcntl/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- Fcntl.bs ../../lib/auto/Fcntl/Fcntl.bs 644 [1] Segmentation fault (core dumped) LD_LIBRARY_PATH=... *** Error code 139 To see whether this has anything to do with upgrading to 8.1 inside the chroot, I tried to make a new chroot of NetBSD-8.0 from ftp.NetBSD.org, but when I try to chroot, I get: kver -r 8.0 -p sparc chroot /usr/sandbox_8.0 /bin/sh /usr/local/lib/libkver.so: invalid ELF class 2; expected 1 Thoughts? Thanks, John Klos