From owner-freebsd-ports@freebsd.org Sun Nov 8 23:59:17 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8EC342E1AA1 for ; Sun, 8 Nov 2020 23:59:17 +0000 (UTC) (envelope-from mason@blisses.org) Received: from yangtze.blisses.org (yangtze.blisses.org [144.202.50.44]) (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 4CTrh44cQxz3Hf7 for ; Sun, 8 Nov 2020 23:59:16 +0000 (UTC) (envelope-from mason@blisses.org) Received: from cocytus.blisses.org (cocytus.blisses.org [64.223.129.151]) by yangtze.blisses.org (Postfix) with ESMTP id 5110E17A042; Sun, 8 Nov 2020 18:59:15 -0500 (EST) Date: Sun, 8 Nov 2020 18:59:13 -0500 From: Mason Loring Bliss To: Tatsuki Makino Cc: freebsd-ports@freebsd.org Subject: Re: Donation to Foundation for Poudriere /opt builds! (Bounty?) Message-ID: <20201108235913.GP31104@blisses.org> References: <20201101233032.GC6041@blisses.org> <20201108205008.GO31104@blisses.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qYrsQHciA3Wqs7Iv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 4CTrh44cQxz3Hf7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mason@blisses.org designates 144.202.50.44 as permitted sender) smtp.mailfrom=mason@blisses.org X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[blisses.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[144.202.50.44:from]; NEURAL_SPAM_SHORT(0.70)[0.696]; SPAMHAUS_ZRD(0.00)[144.202.50.44:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SUBJECT_HAS_EXCLAIM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:144.202.48.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports]; SUBJECT_HAS_QUESTION(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2020 23:59:17 -0000 --qYrsQHciA3Wqs7Iv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 09, 2020 at 08:40:38AM +0900, Tatsuki Makino wrote: > I think you need to rewrite all the files under /etc that have > /usr/local in them. > For example, ldconfig_paths in /etc/rc.conf. Yes - these are what I've gotten so far: local_startup=3D"/opt/etc/rc.d" ike_program=3D"/opt/sbin/isakmpd" # Path to IKE daemon ldconfig_paths=3D"/usr/lib/compat /opt/lib /opt/lib/compat/pkg" ldconfigsoft_paths=3D"/usr/libsoft /usr/libsoft/compat /opt/libsoft" ldconfig_paths_aout=3D"/usr/lib/compat/aout /opt/lib/aout" ldconfig_local_dirs=3D"/opt/libdata/ldconfig" ldconfig_local32_dirs=3D"/opt/libdata/ldconfig32" ldconfig_localsoft_dirs=3D"/opt/libdata/ldconfigsoft" The SHELL in the environment shows CSH, so I don't think .profile matters. I changed .cshrc in both the jail extant and in the @clean snapshot, and that didn't do it, surprisingly. I'll set some sort of canary value and see if it makes it into the environment in case PATH is being manipulated after the fact. > However, when you do all that, it's already a different OS distribution > than FreeBSD, isn't it :) ? Relocating optional software doesn't seem like that big a change. Again, this appears to be advertised functionality. What I'm curious about is if it was ever tested - are we seeing bitrot, an incomplete design, or some other factor that's making it painful to make use of PREFIX in builds? I've used GNU Stow often enough that I expect software to be somewhat flexible with regard to where it expects to find components. --=20 Mason Loring Bliss mason@blisses.org Ewige Blumenkra= ft! (if awake 'sleep (aref #(sleep dream) (random 2))) -- Hamlet, Act III, Scen= e I --qYrsQHciA3Wqs7Iv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAl+ohk0ACgkQnrJXcHbv JVWcfw//Uf/tKOGnCpdlvShGfi+AlnDP5GpoeiT9xXqr01+jTi0kDaPXUcgQrxzN pD/LoEgqxkxCFyfcAGUp251AXUXfN9f8yCek7X9gpSpzKw32bk17klLabbIUlwd+ GRhDBXfn0t2t6kfOZ94xLHz0U3B7FyMfxMj1ESrLVsEVMIho0xwwvOAtMtQ1odtO 4z7EStlwXe4R0AnNmfxqY5r9pQS7FyV8OvtHX/VnzKIrU8OzZuVay3RXYOXGK6lB 7LSgDZNq4VwnXjG8ZWNYUyJW3RT6ric1dwyj23+OxXYTpO0NOfaNtqW108XM05Za tO7vq3bmyNFJTDdIYXEaMNqhlO2a0jdmQxVRQhYGieA8Ui+i8YQ63D+li5DmYCbq MM+gKo2FzjbtRLufVd4G/FejCmg/pD7yrrxVef0iwzFagZ4iGjo4RBJJyBwC6Pp8 1kFoj5S4rMfgWbZ0if1gVwV8Zx4jJQFGRLc/w7Z98fmcJsPvMHNxRIfef4iuBOlO Q9ThrUsoR5Hoinv6I4pHdcTAVNorpcfD+QclFkSmo+IzBLt4bwBo+sYB98I6haCY wGzW+ppk50WMQqB26woNhpJ68ZEWs5Zv/8MTvXyCkCpZG73ULOc9z3vzr8BKZMUZ 0LWxKC8LhEMVWIbZia+zBzRSvj+Zs3Lzk4JSSyjkhXffhXOczTE= =5N68 -----END PGP SIGNATURE----- --qYrsQHciA3Wqs7Iv--