From owner-freebsd-ports@freebsd.org Sun Nov 4 14:47:22 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5625010D942D for ; Sun, 4 Nov 2018 14:47:22 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8938374DF9 for ; Sun, 4 Nov 2018 14:47:20 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Sun, 04 Nov 2018 14:47:06 +0000 To: FreeBSD Ports From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: Problems building rust with poudriere Message-ID: In-Reply-To: <26463569-9b3a-4153-805e-c88009fec058@borderworlds.dk> References: <26463569-9b3a-4153-805e-c88009fec058@borderworlds.dk> Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.protonmail.ch X-Rspamd-Queue-Id: 8938374DF9 X-Spamd-Result: default: False [-1.58 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[phascolarctos@protonmail.ch]; R_DKIM_ALLOW(-0.20)[protonmail.ch]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protonmail.ch:+]; MX_GOOD(-0.01)[mailsec.protonmail.ch,mail.protonmail.ch]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; NEURAL_HAM_SHORT(-0.45)[-0.453,0]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[27.40.70.185.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.01)[country: US(-0.07)]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2018 14:47:22 -0000 > Hello, > > For some time, I've had problems building rust with poudriere. > > Poudriere log: https://borderworlds.dk/~xi/rust-1.30.0.log.txt > > It looks like the system is running out of swap as I get this in > /var/log/messages: > > Oct 30 05:15:31 xindi kernel: pid 68935 (rustc), uid 65534, was killed: > out of swap space > > The build host had 6GB og RAM and 14GB of swap. I think that ought to be > enough for building mostly anything. > > Has anyone else observed this behaviour? > > Best regards > Christian 6 GB of RAM and 14 GB of swap are surely enough, since I can build rust on my system with 4 GB of RAM and 2 GB of swap. I suspect the poudriere's jail has not access to all of that memory for som= e reason or some other process in your system eats much memory. The poudriere's jail itself surely eats some: I do not know how much, but I do = not think it is a small amount. Lorenzo Salvadore.