pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/boost-libs not MAKE_JOBS_SAFE?
On Tue, 27 Jan 2015, Greg Troxel wrote:
> that there is a parellel make bug. I wonder if the problem is that
> you're running out of RAM, in which case the right fix is for you to add
> swapor set MAKE_JOBS to 1, rather than marking packages
> MAKE_JOBS_SAFE=no.
>
> I tried to build iso-codes with crazy MAKE_JOBS (8, 16, 24 - ok 8 is not
> crazy) on a 4-core i386 machine and it worked every time.
My modest single-core, single-procesor i386 w/2GB+2GBswap also works fine
with MAKE_JOBS != echo $$(($$(sysctl -n hw.ncpu) + 1)) building these
packages.
> Do you have swap? Are you sure you aren't running out?
For the machine in question:
NetBSD 7.99.4 (GENERIC) #7: Mon Jan 26 18:49:37 CST 2015
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/macppc/sys/arch/ma
cppc/compile/GENERIC
total memory = 2048 MB
oea_startup: failed to allocate DEAD ZONE: error=12
avail memory = 1977 MB
[...]
$ swapctl -l
Device 512-blocks Used Avail Capacity Priority
/dev/dk2 4195296 0 4195296 0% 0
/d0/swap 8388608 0 8388608 0% 1
Total 12583904 0 12583904 0%
Would there be messages logged to syslog if swap were exhausted? If so,
the only occurances of [Ss][Ww][Aa][Pp] in /var/log/messages during the
time these packages were built are the copies of the kernel messages
where the disk partitions are detected during boot.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index