From nobody Sun Feb 18 16:52:55 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 4TdBYz65qNz5B9wj for ; Sun, 18 Feb 2024 16:53:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-19.consmr.mail.gq1.yahoo.com (sonic313-19.consmr.mail.gq1.yahoo.com [98.137.65.82]) (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 4TdBYy33RWz4N8c for ; Sun, 18 Feb 2024 16:53:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=MmaWmUnW; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.82 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=1708275188; bh=MXgQf9bkiMcvyo7Tweo6ddUCD2yEVrDuvOfju8J/Le0=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=MmaWmUnWaY9zF1Yn6q8xFNR0VTOrRt6CgzLyS/MxBZGmLyoZVm7CBEWkVF+nq2OvV2YMkai5+0RFWgJp1mKBiQUffD56TjT7LWoeF8u3ujZnsuec6+1WWXHY3/yhlLIXmdkq3nVTii3twMoVjrpDsj45ySQ8J+9eG3FZnCnYmtFRBdrouHTbaFsedWvFLgGgDvNauNQcMMHXjUtJUg/4GcDk0frI1D7CtUeHP7n1LQahSnAI1ks0U3AmIZ1wb+pbTq4vc2ed/dw9Bpc2QHhZ0rm3/XCmtuxJ9XJOAsp426yfRcTY5VTAKh7uK5BJ19/umYUPNJc9QBmwT1CGbtmJsQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708275188; bh=D9IOkOGNWFQpVfVQEohf4TzufEGXaseXuRFBggn9KjL=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=GMF4Nqk3XsNCBsyQFQFOelK55NLk9GwQgEFwyxJZrcudvHC3JeESwrsjLlatiT4xXY8pJ9TZEwgotV5iRt41FcrP2LYUyMS2vF+IVSd36LVgznbst9yZbWivlJ3j1Yu7EIrxfHK0UFkoQrXXmJ54eLiTqF0XT2hGUm7xOuBGUktHNiRdzbPlR75dRsImaxtCuAmDMBT42mm5WtmTYfjTQpIqsLC5zZHfYrj3EVgmgqXSbVl3FMmN/KN5sKPLuFkMZLj258qQb09IK1qMn+NSLCS4ncTYObpMowVrieLJ3JEbREBCVf9l/Qfci4/VTfhMRhjgKqtGgrrGaWRSdqYFBg== X-YMail-OSG: xfIUSMcVM1mSKDvmtCGy0zXNmbxsJJBqEvSjmMfTeVJmdJRyDKsQEfMMajImu0S RhHAgdqKlPp7lXvN4UpwE9UBIONmYiuW0C1I.RwQjM3LqXWOym4YWnpr5IwCqSVtC5PJEnYDmJmM Aksdw0kI6yY0uHGdb_sL7579td3Lnx.OolRonUSbJIRE5VvsjaeIqigwDaDmykkSixn4c1n.ONWM ik3vYuHsFHBg9iDPcbey1eg3qmJuiGnMEM6lu8XsTm7um8y_vd212okwnmJJNe.ViudYnCxiUzTF 1_tIBf2KhTefUVBeN5ZMBi6V66vlmHWrR7jMbrPbg6ZJDrlDXHNw7VS4WELut05CRgItGQKgVtWl zQ6ot.Y4xFxKb.AFri6dLySgQqRZkHRuAiabBwWWr07sMvat.gbd.YKthhH7y.ftMkULImkWQ9mv nDUAhZziM..bHlJNOBhoYWG1JePwoivHjcmhNhDewN_iar6t4XSLG4B4KPFyky2L.exm98oRnDJ2 qoMblFP3AcqpgSbPAQTl2OkHSROSrFM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8R5xSwwNmAye0K4hi3XC6FBmzao5LHtoqdbQVRw J975uoljH5voSVOtHLQWFz94_90QbxttEYFL3jACb15A1WCftAy2HMmRu5XBV3zhITeMDNSqeHGO PpRIh3aEcW4kyOKIaguIF7.ZR8H3DSudoIqX5YANPbSNP4V0S_Qdq4RtlMs5zuMmR6LfFJYdS.vC 98qC5NRXtluHRmI.PBOdJ9sP7QnZwaidrX_BvpfAS0nlSM4EtrKecJrfYD8cYvN9_C0abzjoT.6M v2o8hSX1mh3_ovabFxxq7HuUVvpO8SPyAfdEHGcRYw2gw3NX8P5EMJTgx5vvE8WM6lrb77PjjGcv QFyY_hop.4A1X3vJQAPMl4x99ghUQvTsGzC4miq8TwxplTNM0U1qFBsRn8.Lt29kUG9l6.1QMbeC 96fcBqOeHlM_wXr5p4jCSw3b_Qzksr.EN8aW1oFwXlnAbECKp54d1I2G.DGYFCypUPrhuxtpX.kJ HqVLASZaU3thxHuMdR3yLJEE0W5P5j1wBsQFrRqn85JMhUePITPH7UmjxS6wdYIgX8dvKdHhcyTe PLWkkTXorgkgFTQLNNVCWQew5pp2s2XMVmTnvBaQgw2KppVo0ajaUd4WAFHDunWVKZF5kPpLdcx5 o33JebDANQou8uW5HCzPpDsur9Bb6cGdM7kcndIrC8k8fZY5KcS27mYmma4dc9XZE.m9.1nJgDA- - X-Sonic-MF: X-Sonic-ID: cc013230-d49f-485b-93c3-6c44ee2763c9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 18 Feb 2024 16:53:08 +0000 Received: by hermes--production-gq1-5c57879fdf-c7xks (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c49fb2578bc97c85772c6390ec253ab4; Sun, 18 Feb 2024 16:53:06 +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] Message-Id: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> Date: Sun, 18 Feb 2024 08:52:55 -0800 To: aryehfriedman@gmail.com, FreeBSD Mailing List X-Mailer: Apple Mail (2.3774.400.31) References: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1.ref@yahoo.com> X-Rspamd-Queue-Id: 4TdBYy33RWz4N8c X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; 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:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; 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]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; 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.65.82:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.82:from] 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): /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