On 5/19/25 21:11, Greg Troxel wrote:
I am trying to build thunderbird on NetBSD 10 amd64, pkgsrc-current, and I have a 32GB tmpfs as /tmp. That used to be ok, but with 138 I got a no space on device error. This just seems crazy; 32 GB is enormous, and firefox is fine in much less space. Are other people seeing this? Is there anything to be done to have the build use a reasonable amount of space? (Yes, I know I could use a tmp on real ssd for this.)
It's not just you. Thunderbird takes far more space than Firefox does, but I have yet to investigate why.
I also have this in my mk.conf, otherwise it allocates too much RAM and swaps pages out while building :(
MAKE_JOBS!= sysctl -n hw.ncpu
# These packages consume too much memory because of either BFD ld or rustc.
MEM_CRAZY_PKGS= # empty
MEM_CRAZY_PKGS+= lang/clang
MEM_CRAZY_PKGS+= lang/llvm
MEM_CRAZY_PKGS+= lang/nodejs
MEM_CRAZY_PKGS+= mail/thunderbird
MEM_CRAZY_PKGS+= www/firefox
.for pkg in ${MEM_CRAZY_PKGS}
MAKE_JOBS.${pkg}= 2
.endfor