Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2020 19:37:12 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        FreeBSD ports <ports@freebsd.org>
Subject:   Out of memory building lang/ghc-8.8.3
Message-ID:  <20200505093712.5qeyqt7gioolhdyu@ozzmosis.com>

next in thread | raw e-mail | index | archive | help
Beware anyone building lang/ghc-8.8.3 from the ports tree. Building it
here on FreeBSD 12.1-REL AMD64 with Poudriere, the build ran out of swap,
despite the PC having 8 GB RAM, 8 GB swap and not much else running.

My /usr/local/etc/poudriere.conf:

BASEFS=/poudriere
ZPOOL=zroot
FREEBSD_HOST=http://mirror.internode.net/
POUDRIERE_DATA=/poudriere/data
RESOLV_CONF=/etc/resolv.conf
DISTFILES_CACHE=/usr/ports/distfiles
USE_TMPFS=yes
ALLOW_MAKE_JOBS=yes
KEEP_OLD_PACKAGES=yes
PARALLEL_JOBS=8

Maybe I can retune the last three parameters to use less memory. I've not
tried yet.

This isn't really a whinge, I'm just surprised it failed. I'd have thought
8 GB was enough.

(ghc is a build dependency of textproc/hs-pandoc)

Cheers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200505093712.5qeyqt7gioolhdyu>