From nobody Mon Apr 08 14:59: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 4VCsgv1PZyz5H9Bx for ; Mon, 8 Apr 2024 14:59:39 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4VCsgs1v4vz46c8 for ; Mon, 8 Apr 2024 14:59:37 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp designates 153.125.133.21 as permitted sender) smtp.mailfrom=junchoon@dec.sakura.ne.jp Received: from kalamity.joker.local (123-1-21-232.area1b.commufa.jp [123.1.21.232]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 438ExS2h005308 for ; Mon, 8 Apr 2024 23:59:28 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Mon, 8 Apr 2024 23:59:27 +0900 From: Tomoaki AOKI To: ports@freebsd.org Subject: Re: gmake-4.4.1 has a performance regression: at least the science/nwchem project now builds much slower Message-Id: <20240408235927.8001db0ed5ff21c12a0a91a6@dec.sakura.ne.jp> In-Reply-To: References: <2D9B0CE0-4657-4C8F-BDEE-48225BC899CF.ref@yahoo.com> <2D9B0CE0-4657-4C8F-BDEE-48225BC899CF@yahoo.com> <55e1a296-60c4-4c2f-ad05-cdf0ae5348b1@FreeBSD.org> <20240330091421.04bd6b0790910cbf797b8f21@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.62 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.978]; NEURAL_HAM_LONG(-0.94)[-0.941]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:153.125.133.16/28]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; DMARC_NA(0.00)[sakura.ne.jp]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4VCsgs1v4vz46c8 On Mon, 8 Apr 2024 14:29:50 +0200 Christian Weisgerber wrote: > Tomoaki AOKI: > > > Possibly I'm overlooking something in Porter's Handbook, but is there a > > proper and generic way that builds/installs some build dependencies > > under ${WRKDIR} and use it, without installing into the bare-metal > > environment? > > Yes, you can use BUILD_DEPENDS=${NONEXISTENT}:foo/bar:stage. > > See net/relayd or security/dsniff. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de Thanks! Is it described somewhere in the Porter's Handbook? If yes, clearly I've overlooked. If no, it should be described somewhere within Chapter 4-6, 12 or 13 in the Porter's Handbook. # Why I've included Chapter 12 "Security"? It's because avoiding any of # BUILD_DEPENDS would be usually the deppendency is known to be vulnerable # and so not desireble to be installed into bare-metal environment. but # still mandatory to build the port. Such BUILD_DEPENDS should be marked # as CONFLICT_INSTALL to all ports. This use case should be benefical regardless # its fundamental messes on build resources. # Another use case I can imagine is to override OPTIONS to build specific # port alone. Regards. -- Tomoaki AOKI