From nobody Mon Feb 19 07:16:09 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 4TdYjt2Tz7z59vBk for ; Mon, 19 Feb 2024 07:16:18 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from beta.fechner.net (beta.fechner.net [IPv6:2a03:4000:67:cc1::2]) (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 4TdYjs3FZ4z46dx for ; Mon, 19 Feb 2024 07:16:17 +0000 (UTC) (envelope-from idefix@fechner.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of idefix@fechner.net designates 2a03:4000:67:cc1::2 as permitted sender) smtp.mailfrom=idefix@fechner.net; dmarc=pass (policy=none) header.from=fechner.net Received: from server.idefix.lan (unknown [194.146.159.166]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by beta.fechner.net (Postfix) with ESMTPSA id C91F9EA40F for ; Mon, 19 Feb 2024 08:16:11 +0100 (CET) Received: from [192.168.0.151] (unknown [192.168.0.151]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id EBC6C1DBF5 for ; Mon, 19 Feb 2024 09:16:09 +0200 (EET) Content-Type: multipart/alternative; boundary="------------N1icmZqYXQyR0xUKYF0b8mYE" Message-ID: <6ac6b191-ab51-4fb7-bfef-a772506c565c@fechner.net> Date: Mon, 19 Feb 2024 09:16:09 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD ports community is broken [port building configuration notes] To: ports@freebsd.org References: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1.ref@yahoo.com> <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> Content-Language: en-US From: Matthias Fechner Autocrypt: addr=idefix@fechner.net; keydata= xsFNBFqca1YBEADM9mF2+ifk8HILTlf5wtAzV6SYVR4RvNOo/8Kucw4sCZT76zS1fjZe4Zy1 3C0IZ07Wi+3PnoGIgOCsXp3PrTc2nuHQWkwVBYXy8UaR9DHBWA/mIvRGG1ZscKQYA6oUdCvd K8Mu26zO60yTt+ONzFtK6G1myH4EHXZ8dpmdCFf+W3rzTU+aCQ5S3OfwCLGgYgOaVREGkdOc 5SVCpFb4n+2B8+CqeWsRHhnT+4h7/YhgDMGp4GiI3yrB2nBVSUUvcosD2nRtJQgGQHcAFtMq 3hJaKPOR/mHc6KVrp0xmGNmdtazvXloHmGIl9O1UpmMmrYu9Kugl0JkGi2fAcno02XgVlkyX 7xDLTteP5cNqRxor4yVDaRWUQnOfK9XgcrKGrAzb65BkCSkjT+Aw3S/A8Qd6NvjL9qy1d+Ct dzatOVF/Y7jaW28CMr3jvwPS13OxV7PnJzIZzdik20eVxfOXuYfxZD+PwBaGgFF0qj6zKACC aKLalE0ZpY0zNn/iPyQX/Cf9KoDyFpOHSsEswiJ5rCWwppVcsFyogHOemVmeaXlvyDPEipnV ZUkpGP/CCqPu3eD0uDzP7UJ0pt/l/JfW0Xw/4p9mjB024xiRlxLa6vSRfGl//EdtAIbKKa8x 5wsKTQEbYJDmXE3tH/A54DCqRXhcopTlu2iJlTdnIMltn9afVwARAQABzSVNYXR0aGlhcyBG ZWNobmVyIDxpZGVmaXhAZmVjaG5lci5uZXQ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IXUl76M0jhJbwjIS6Nk+zmJwUxjq3SaUAUvIbUAHdJUXgujssKfyZ WrUiB7xi1zOkyP9T0HT2tHHA+/EGmfq5Ohe+IF4WpBJ37t12ZxelA7qXHbtPljz+Ptljs3tS zX4omw== In-Reply-To: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> X-Rspamd-Action: no action X-Rspamd-Server: beta.fechner.net X-Rspamd-Queue-Id: 4TdYjs3FZ4z46dx X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[fechner.net,none]; R_SPF_ALLOW(-0.20)[+a]; RCVD_IN_DNSWL_LOW(-0.10)[2a03:4000:67:cc1::2:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:197540, ipnet:2a03:4000::/32, country:DE]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[] This is a multi-part message in MIME format. --------------N1icmZqYXQyR0xUKYF0b8mYE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 18.02.2024 um 18:52 schrieb Mark Millard: > 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 maybe you also want to add: CCACHE_DIR=/var/cache/ccache this reduces a second build of e.g. llvm from about 2hours to 5-10 minutes. And maybe call poudriere with the `-b latest` flag, so poudriere searches at first for already prebuild packages. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook --------------N1icmZqYXQyR0xUKYF0b8mYE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 18.02.2024 um 18:52 schrieb Mark Millard:
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
maybe you also want to add:

CCACHE_DIR=/var/cache/ccache


this reduces a second build of e.g. llvm from about 2hours to 5-10 minutes.

And maybe call poudriere with the `-b latest` flag, so poudriere searches at first for already prebuild packages.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--------------N1icmZqYXQyR0xUKYF0b8mYE--