From nobody Sun Feb 18 16:22:27 2024 X-Original-To: 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 4Td9tr1rczz5B68m for ; Sun, 18 Feb 2024 16:22:44 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4Td9tp4glCz4HZc for ; Sun, 18 Feb 2024 16:22:42 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=madpilot.net header.s=bjowvop61wgh header.b="w uEZFyD"; spf=pass (mx1.freebsd.org: domain of mad@madpilot.net designates 159.69.1.99 as permitted sender) smtp.mailfrom=mad@madpilot.net; dmarc=pass (policy=quarantine) header.from=madpilot.net Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by mail.madpilot.net (Postfix) with ESMTP id 4Td9tg0TW3z6dXw; Sun, 18 Feb 2024 17:22:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=bjowvop61wgh; t=1708273353; x= 1710087754; bh=93cs0b6t66ZAO/SHUnywjnjQ6bNm+3Ux7BdfRR4OOLQ=; b=w uEZFyDsod9Y+rUIJu+dXE3vYvhhzGFLKNGHVJJ0a3qvt06FgwNVKWk5RE7PULO1l KZfK5ZlTut1dKLHVuOAUBUs4xF0O84kGKSrlauk5G3GFK/CX8N6s2pmPzH6QxHXf mbRgD/0bYfkrY4bFXU0RfnvOabZcpW2msuI5SRroTTsk+vQiJ3GxwiN1vdpSe1GW t5EXjuVI8N5pnGkrOPO3Elvjdc/50kUKzDcE+H2UbzaGZ1cRBHp2tG8HCJpiG/eO 4IY3KR7kAv9x4m6JOsliIH5X4CoC9X/oBhrzW1AEelvtVQGhkiXcGyI4o0DESw1P Jtv/5nNiQCLc9h+PTlrMg== Received: from mail.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (mail.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id GdTn7zkdEeqk; Sun, 18 Feb 2024 17:22:33 +0100 (CET) Message-ID: <651d5fee-6989-4953-bfac-bce87dfcd54a@madpilot.net> Date: Sun, 18 Feb 2024 17:22:27 +0100 Subject: Re: FreeBSD ports community is broken To: Vasily Postnicov , Aryeh Friedman Cc: ports@freebsd.org References: <20240218015843.34c5d078@rimwks.local> <7q6ep7m2eee6yqtxftlwkhuwdkssd74vjow55txms7lkokazfu@grrqllhefges> <20240218174921.a8082649142dd43a469bebfa@dec.sakura.ne.jp> <4ekno7iwxvdlw4xeholcrxuuazmcstxkqyidrz27ni43lzu6wg@3ro6r5b2vhoi> Content-Language: en-US, it From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQW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SmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Td9tp4glCz4HZc X-Spamd-Bar: - X-Spamd-Result: default: False [-2.00 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; DKIM_TRACE(0.00)[madpilot.net:+] 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 On 18/02/24 12:41, Vasily Postnicov wrote: > My 50 cents about poudriere: it's definitely not a machine-killer. Just > remember to disable tmpfs for too heavy ports (my list includes rust, > 0ad, webengine), start with only two jobs (one job is bad because the > build can be blocked by fetching or packaging) and set ALLOW_MAKE_JOBS=yes. > > This configuration works fine and without swap consumption on my 32GB > computer. > > Another improvement: set MAKE_JOBS_NUMBER to a half of available cores. > This way (two jobs each using n/2 cores) you can map your build > processes to all available cores. Some other random suggestions for poudriere: Using CCACHE helps a lot too. Disk space is not as expensive as it used to be. If building for a single OS version and single architecture 8 GiB cache can be quite enough. Poudriere "recently" gained ability to use binary packages for dependencies, with safeguards for different options and other things ( -b option, in poudriere-bulk(8)). I never used this one, but it could help a lot with build times. (this one has been strongly asked for for a long time, and it looks like very few users are aware it is now available) the -S option, is something I would not suggest. At least not unless one is able to really understand what is going on; it also has the problem that once you end up with a broken repo set the only fix is to start from scratch (AFAIK). -- Guido Falsi