From nobody Mon Nov 7 20:54:10 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N5k4L6L25z4gMRP for ; Mon, 7 Nov 2022 20:54:26 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N5k4K0qscz3cmB for ; Mon, 7 Nov 2022 20:54:25 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-ed1-x52c.google.com with SMTP id l11so19534841edb.4 for ; Mon, 07 Nov 2022 12:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ejawKoUJOXkRsjyaT5cfZrvmmpD3h3CEjqurctMXjKk=; b=LltfyAA84vxcs3Eo5zwJcpag6WPF7bIzZD+pJx1UuyfhhVuouG6jmNpQ2xzKrnhGvc AfkLFGHe3dQMBjBUENogAJoEQWOn88jAEtl/lB5w90ldnM58M44a8NbmJLOVqb5lNjZf 5diVWMty/dxaA51nO0FH1OX8/SzQSU/hnEv+vW6ZjdsF1J4oMh3grrJSQ7/aS4dCSgCv Kv6/lC75MqvhbRgFGWedrfeYDWmcbmC692XE3HMYnVuh4AUAfSSDKJjwa1rY748Ou5x+ XLofxcbz4AcE3nUVg43FwYB2vRZgW8nNJgT7spiwsnEjfQflWbRVgBdaiNepbhUG9GAN 8s/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ejawKoUJOXkRsjyaT5cfZrvmmpD3h3CEjqurctMXjKk=; b=Z/8FWn+anY3njOyigmdzUbWwuNcNeg24jyMXUId1pUcNkR7m8CX9JEFwyLb4090f+u YAckjqz5+fYfHdJFenCzECqGdG5ClN5dnD7nVO79LW8mVNS2Thy5Xbp/SeOPc+XuhfDb bKrQUd9MDseddEI5znHcNFTWJekVh6v6CW477aFL2DR2/SC88oRXeTvuD+vNsOYFmMe1 UoqgUuc1JUfoXtm5rnHlsBixcRMk73Xww/aSDvT8bPg13K3UoinbAeoIzhd1qnCbBpo7 T9R02P4MXndXrFIGfi9TD+Vz3ovytbir0adxg3M1OxRvUcedgIRy6llRkSi0dFV9SZd3 wMgw== X-Gm-Message-State: ACrzQf3mXDNOMACJRN8gKRhBArdirOrCM+n68fdjFu1DcR/U0o8kLDt4 M0xqtizfP1n5jB5Irfjy8E5hQysTlZ/dVeMFJNdpAtXezzo= X-Google-Smtp-Source: AMsMyM47N/3iyYRtez+QTf20DjYXK/e/LS44cwQKlLuyFDpl+MlizVi3ObGwNUw4NhL3nlpOSnrY71L1YbWyW80GVcw= X-Received: by 2002:a50:ec0a:0:b0:461:c0ca:a0bc with SMTP id g10-20020a50ec0a000000b00461c0caa0bcmr52415170edr.306.1667854462689; Mon, 07 Nov 2022 12:54:22 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <86h6zajyd0.fsf@beastieboy.net> In-Reply-To: <86h6zajyd0.fsf@beastieboy.net> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 7 Nov 2022 21:54:10 +0100 Message-ID: Subject: Re: Testing ports of rust software w/o building rustc To: Nicolas Herry Cc: User Questions Content-Type: multipart/alternative; boundary="000000000000c9275405ece7a000" X-Rspamd-Queue-Id: 4N5k4K0qscz3cmB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=LltfyAA8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fernando.apesteguia@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=fernando.apesteguia@gmail.com X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52c:from]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000c9275405ece7a000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El lun., 7 nov. 2022 21:36, Nicolas Herry escribi=C3=B3: > Hi, > > I'm working on porting some rust software, but testing the port in my > local poudriere doesn't work, as I run out of memory systematically (no > matter how much swap I try to add to help). > > Is there a way to avoid having to build rustc and yet test the port in > isolation, to be sure I've captured all the dependencies? Or is there > something I'm missing here I should be doing? > Try to configure poudriere not to use many parallel jobs. Also try not to put too many things in tmpfs. Additionally you could try poudriere-devel since it has the ability to download packages if they are present in the package repository instead of rebuilding them. I really enjoy the moment when it downloads llvm, GCC, rustic, cmake, etc :-) HTH > Thanks, > Nicolas. > > --000000000000c9275405ece7a000 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


El lun., 7 nov. 2022 21:36, Nicolas Herry <beastieboy@beastieboy.net> esc= ribi=C3=B3:
Hi,

I'm working on porting some rust software, but testing the port in my local poudriere doesn't work, as I run out of memory systematically (no=
matter how much swap I try to add to help).

Is there a way to avoid having to build rustc and yet test the port in
isolation, to be sure I've captured all the dependencies? Or is there something I'm missing here I should be doing?

Try to configure poudriere= not to use many parallel jobs. Also try not to put too many things in tmpf= s.

Additionally you coul= d try poudriere-devel since it has the ability to download packages if they= are present in the package repository instead of rebuilding them.

I really enjoy the moment when i= t downloads llvm, GCC, rustic, cmake, etc :-)

HTH


Thanks,
Nicolas.

--000000000000c9275405ece7a000--