From nobody Wed Oct 16 08:53:28 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 4XT4WH47gNz5ZjPT for ; Wed, 16 Oct 2024 08:53:31 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XT4WH3dxsz4q00; Wed, 16 Oct 2024 08:53:31 +0000 (UTC) (envelope-from mat@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729068811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pi8ALIasz4UgKXhedRSapcFEwj6zYQYduQQ5Gt/VvDs=; b=Zm2+l6o0UUBi5zRIroCmUPGCkuROnL7ioyphhYFace4md47sk4kWF6QPquijaHRNWu/iIt dM0Ne4F9nxsqI/bo5eH8IHRV2pRKvg4dmG/RiNczxXXEMMMIpdCHkLfh02bFUwFtnX+5o+ uyVjkZ4Nxa235dX12eF7wdYuD2BqksXNhw7TT1Qlpw92zRYD6V4rdhw2f+Ywz5VoZCK9Mm t9QX1ojHN0/yeb7avZh7NJ3CZJoPXJTFTxJ8ash1tMcR4vnoQQA/ZSYKNLxM583wwUbGzn jbHy3ltr+ZewZhgfg8zC2Xw9of3V/iBFEy3t+1QlJcwKN2rKEDepTnIk88lQug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729068811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pi8ALIasz4UgKXhedRSapcFEwj6zYQYduQQ5Gt/VvDs=; b=OBiyluROpc0I1v7PyFJiDmO72jLKyFLBo+x9aHIShw1bPtGPbk8LWDjtC1Yxe6nqYnznsX Rxo/+bMDMKcdMVchbS0xXx3prJl9Zjxj8kbj1DkJqzg6UTFaN2g1G5nIdOVm2JqLMubLRW lRAdqlTQoE4tPyo/yiSsHqoszEz7YHRdPxnp2YbozatWRihFBMp+Ad0m24zSHpYoe+P2SJ td//zBIbxHJJ0mNwB9x2XLXGbAPAgq1C1Va4/snZl1MFRBw/q/SR9uThYlpUESRz/44LQ/ XGwJjuXH1RXland0NxO8NZ1YFTJoknUlsOOZcnvSrniakMzqsC5hAfMhBa0bqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729068811; a=rsa-sha256; cv=none; b=RzD3/nw76GkDJ/x/GhqzwOcQC5MsUw2XoOPNUhjqysDm7rkrX4pvy5h2GgWSvuxGK3HUYj fel3LVJk15vyo15cIGaOGYQ1qXJVv/8XCACUyf7vLYools39YkiL6u7bSStTPh2D+PaJID csQPNySz37VE32lSZC9CjairOc6rao39OzWzRa93gExsKadL31SsBAFrk/lHuBTo2s4Y9s Ab2aDoPYUaxrElTrKXHgSe+kylqYeA1t81VN0CGLTwGbvsc/iZA+K9tL7NYVTajQaReOcG qEuIjzLK+4DXIF3NpPafSnviFIUS0uuKVY1Z08n5yJrBaIknHLjkY4Vj650mXg== Received: from relay.mat.cc (eqx1.mat.cc [79.143.244.49]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "cow.mat.cc", Issuer "R10" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XT4WH2Z0Lz1Lld; Wed, 16 Oct 2024 08:53:31 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:e0a:836:f670:a68c:3ba1:a60c:e011]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by relay.mat.cc (Postfix) with ESMTPSA id C3E0520D2F; Wed, 16 Oct 2024 10:53:29 +0200 (CEST) Date: Wed, 16 Oct 2024 10:53:28 +0200 From: Mathieu Arnold To: Zsolt Udvari Cc: ports@freebsd.org, ports-developper@freebsd.org Subject: Re: Install file into /rescue Message-ID: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3dl334lsc3buydgx" Content-Disposition: inline In-Reply-To: --3dl334lsc3buydgx Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: Install file into /rescue MIME-Version: 1.0 On Wed, Oct 16, 2024 at 07:43:31AM +0200, Zsolt Udvari wrote: > Hi, >=20 > I want update a port (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?= id=3D282052 ), > but I've a problem: the port wants install a file into /rescue and it > causes an error (in poudriere): > =3D=3D=3D> Registering installation for mg-static-20241008,1 [14-defaul= t] > Installing mg-static-20241008,1... pkg-static: Fail to create temporary > file for /rescue/mg:Read-only file system *** Error code 1=20 >=20 > There is mg-static package in repository and has a file in /rescue so I > think should set something in my poudriere setup. > My poudriere.conf is: >=20 > ZPOOL=3Dzroot > ZROOTFS=3D/poudriere > FREEBSD_HOST=3D_PROTO_://_CHANGE_THIS_ > RESOLV_CONF=3D/etc/resolv.conf > BASEFS=3D/usr/local/poudriere > POUDRIERE_DATA=3D${BASEFS}/data > USE_PORTLINT=3Dyes > USE_TMPFS=3Dno > DISTFILES_CACHE=3D/usr/local/poudriere/distfiles > CCACHE_DIR=3D/var/cache/ccache > ALLOW_MAKE_JOBS=3Dyes > PARALLEL_JOBS=3D3=20 >=20 > How can I solve this problem? That one is easy, a port can only install files in PREFIX. So, it cannot install files in /usr/s?bin, /s?bin or /rescue. It seems the static flavor of this port is completely wrong. It seems like this is an editor, and it seems it wants to install itself in /rescue for some reason, we already have vi in /rescue, so I'd say, ignore the static flavor, as it's broken, or remove it, as it's broken. --=20 Mathieu Arnold --3dl334lsc3buydgx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmcPfwZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1 NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d Qb5pngwAxEMkGlr8hvhVGMwhoPqDfzmFAJmelZ22oAs9tXuEMCkyiO3liMMKz6p1 M189eLQ9IOqw+3drYU9AsDLjjErWwPWcwBqe61ZDh+REhpl8i2C8pLLjcsCysPck WOpYvfpLCHG06oODKn/i4QWDpi4js4t6L/oOg/u13O+hnhEHdhFY2WaysDRWcEkb mD8NrcYrOTfZ9dCu/gluOxrJsEh+Wc56v/j5RBZWFsPC4YexNK8nM7gf9w7+L2X0 z/QhPWNsxFqbKjFaZG8NcG38qahOsu4VfjiH170Wb/7tpvhNf/QgcdO+XljnIKLQ lO8RBNd58vhwWvMI2wmBXESt4wXphDFcegJd1l9d6JIlfQbbAfiZPOGH1WNZk7A1 mGax0wXI8XIPPBO/iyKyRZab1aAgiFO2ew1gpeDYsQOw4Oyhs1IF3/OSUcmy2MBM 68JZhlSeF+KUZKephkKxvT8sFRu4ke50GLWj2rlSLbwPKZJpyVfW4XgBYUJUDc1p UADQZGMk =ogeK -----END PGP SIGNATURE----- --3dl334lsc3buydgx--