Subject: Re: pkg/29622
To: None <cube@netbsd.org>
From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
List: pkgsrc-bugs
Date: 03/09/2005 01:20:19
Thanks for advice.

I setup NFS swap, but unfortunately got same signal 11 while building
lang/perl58.

## nfs server setup
nfsserv# mkdir /usr/hpcarm
nfsserv# dd if=/dev/zero of=/usr/hpcarm/swapfile bs=1m count=128
nfsserv# cat >>/etc/exports <<EOF
/usr /usr/hpcarm /usr/hpcarm/swapfile -maproot=root
EOF
nfsserv# cat >>/etc/rc.conf <<EOF
mountd_flags="-r"
EOF
nfsserv# /etc/rc.d/mountd restart

## Jornada 728 setup
jornada# cat >>/etc/fstab <<EOF
nfsserv:/usr/hpcarm/swapfile none swap sw,nfsmntpt=/swap 0 0
jornada# mkdir /swap
jornada# swapon -a

## Build lang/perl58
jornada# cd /usr/pkgsrc/lang/perl58
jornada# make clean
jornada# make install
...
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl58/work.arm/perl-5.8.6 ./miniperl -w -Ilib 
-MExporter -e '<?>' || /usr/bin/make minitest
Attempt to free unreferenced scalar: SV 0x3ad8c, Perl interpreter: 0x2a000.
*** Error code 1 (ignored)
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl58/work.arm/perl-5.8.6 ./miniperl -Ilib configpm configpm.tmp
[1]   Segmentation fault      LD_LIBRARY_PATH=...
*** Error code 139

Stop.
make: stopped in /usr/pkgsrc/lang/perl58/work.arm/perl-5.8.6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58

>>>>> In <20050308080725.8D58663B116@narn.netbsd.org> 
>>>>>	cube@netbsd.org wrote:
> Synopsis: lang/perl58 build failure on hpcarm with no swap

> Responsible-Changed-From-To: pkg-manager->cube
> Responsible-Changed-By: cube@netbsd.org
> Responsible-Changed-When: Tue, 08 Mar 2005 08:07:24 +0000
> Responsible-Changed-Why:
> I'm handling it.


> State-Changed-From-To: open->feedback
> State-Changed-By: cube@netbsd.org
> State-Changed-When: Tue, 08 Mar 2005 08:07:24 +0000
> State-Changed-Why:
> Submitter was sent a possible way of making the build successful.
-- 
NAKAJI Hiroyuki