From nobody Sun Feb 18 17:13:24 2024 X-Original-To: freebsd-ports@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 4TdC1f1s55z5BF1s for ; Sun, 18 Feb 2024 17:13:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdC1d21mKz4S22 for ; Sun, 18 Feb 2024 17:13:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Ay6v9Nsg; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708276420; bh=+6P6Cw6ac8V7cz1TV5ymXwlk2AVg9J7wWzzAPXxo5n0=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=Ay6v9NsgR9AmIDrciIzTGR5KDrW/6AtKTQi4d0twEo+FwWvnIgMBPkeFq29ueYryOBF6d2gFisR9eR9QQPMNaZHXBhOqQ9+gfM3FoNRtQupBZLPq5j6PFf7lPPUKSnpJ8i5xjNHGkeo4sLlM5HbrIGciOVrvidGUX1pKxuLAUoOubJVWwNyd8Ful6z7xa5623LM8resoT0Fp0m5bwqV+bNZV8thkHh8EAwgMfGgq/O01HLWCWsv2abQJgm3ArRuTS2L9SKUSHBHJN28DeysjPcdmk/UUcrtfvyedsR7LLFuLZJzFk4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Ct1AdOaRXmk3hxFzO7kY7tFDibHeWjYNUCaZVHXu5cJYTd8C_tlFiTfx_uYRh PZ227TzHau_Liszwyr49fqilHeSJO9Jgr0D3OEqSJ_aXcT.G695NFTnbpy5DPn6gHVzmkdQPjjGK P_HA7UwnYLUN.aIGHhoBVELzQuix1WLse232DxaWbG3plA_3GPrCEdgsWzTa_bFHj2cM_CJHM_s3 jK5DcKUp7azHD4GcFEVd1gACPCL73Dt61DA7k0sRi8bGojd0GyUX9TspufCOGcQu0OdT.CCtoST9 5ZNUG6lTW86iFH3mBSL0e0EOoZMHIDuW4uVrmqNL6EtWeb1wvzsPJXN0N_zqJzMGqATUqbEwDQS6 zaksAVsHixdzSaW.H_UHKCd1tlADttmTmA_IM6484OKP_rgy_HeiPKNU9jKPUb5uAWvMFDq5DQwy 5J4lVYmvj3G5ibPAABX.jolD5IZyyzZHowG4u5iUsc9Z2jleurZIzhtJ6NNphs9zoY4GqL948NdH bnrKevEuXX5ft88EMSbhgfgDmDVj3THjDE89j_mC00sg544yQV6PE36VTDfy.7clVxl3Y_sXfB7E Q00hfbWcar7.8lq5agxspygkQBTkIIX028ahApAMUQ7jHTJ7T0oSrUzpTnk_rv0uONuXOycZnb5H VOL3PpY2LrezCdh9wfdWxkeSIzdTrODokK3OWElkaTtzEIj1wSkqCZh73NPXJsZpllm0N5qt45Q- - X-Sonic-MF: X-Sonic-ID: 58bfa932-d690-44a7-96e1-25cdf9fd1be4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 18 Feb 2024 17:13:40 +0000 Received: by hermes--production-gq1-5c57879fdf-jv4v7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ea9110fe9a1cb3156769c0fad6ed315d; Sun, 18 Feb 2024 17:13:35 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: FreeBSD ports community is broken [port building configuration notes] Date: Sun, 18 Feb 2024 09:13:24 -0800 References: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> To: aryehfriedman@gmail.com, FreeBSD Mailing List In-Reply-To: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3774.400.31) X-Rspamd-Queue-Id: 4TdC1d21mKz4S22 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.64 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_SPAM_SHORT(0.36)[0.363]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.146:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.146:from] [I forgot to mention the armv7 core count involved: 4] On Feb 18, 2024, at 08:52, Mark Millard wrote: > Aryeh Friedman wrote on > Date: Sun, 18 Feb 2024 10:37:06 UTC : > >> It should not require >> prodiere running on a supermassive machine to work (in many cases >> portmaster and make install recursion fail where prodiere works). > > As for configuring for small, slow systems relative to > resource use, I provide some settings that I've > historically used below. Then I have some other notes > after that material. > > For a 2 GiByte RAM armv7 system with 3 GiByte swap space > and a UFS file system, no use of tmpfs in normal operation > (since it competes for RAM+SWAP generally): FYI: The armv7 has 4 cores. > /usr/local/etc/poudriere.conf has . . . > > NO_ZFS=yes > USE_TMPFS=no > PARALLEL_JOBS=2 > ALLOW_MAKE_JOBS=yes > MAX_EXECUTION_TIME=432000 > NOHANG_TIME=432000 > MAX_EXECUTION_TIME_EXTRACT=14400 > MAX_EXECUTION_TIME_INSTALL=14400 > MAX_EXECUTION_TIME_PACKAGE=57600 > MAX_EXECUTION_TIME_DEINSTALL=14400 > > /usr/local/etc/poudriere.d/make.conf has . . . > > MAKE_JOBS_NUMBER=2 > > /etc/fstab does not specify any tmpfs use or the > like: avoids competing for RAM+SWAP. > > The 3 GiBytes of swap space is deliberate: RAM+SWAP > is important for all means of building in such a > context: there are a bunch of ports that have > large memory use for building in all cases. > > [armv7 allows around RAM+SWAP=2.5*RAM before > tradeoff/mistuning notices are generated. aarch64 > and amd64 allow more like RAM+SWAP=3.4*RAM before > such notices are reported. The detailed multiplier > changes some from build to build, so I leave > margin in my figures to avoid the notices.] > > I also historically use USB SSD/NVMe media, no > spinning rust, no microsd cards or such. > > > As far as more ports building in poudriere than in > "portmaster and make install recursion" in other > respects than resources: it is easier to make ports > build in poudriere. It provides the simpler/cleaner > context for the individual builders. More things > lead to failure outside poudriere that are just not > issues when poudriere is used so more care is needed > setting up the ports for the likes of portmaster use. > (And, yes, I used to use portmaster.) The required > range of testing contexts is wider for use of the > likes of portmaster to know that the port build will > just work in the full range of contexts. > > Such issues adds to the port maintainer/committer > development burdens when portmaster or the like are > the target level/type of support. > > (Note: synth may be more like poudriere for this > but I've historically had use of platforms that > synth did not support and so have not looked into > the details.) === Mark Millard marklmi at yahoo.com