From nobody Tue Jan 25 20:19:58 2022 X-Original-To: freebsd-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 A45591987F58 for ; Tue, 25 Jan 2022 20:20:13 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2013.outbound.protection.outlook.com [40.92.53.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jjyrq2nbPz3rqK for ; Tue, 25 Jan 2022 20:20:11 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YxmCMuoyZzf113PpbNN/Y6PEJtjMqgMOc0xTqHfNUmnRWZa+wJ0K2uQMG64qVcGtwoFwq9tm2zbDaauYZK8Gu9yaT9sJPwddlpEz0c3FpLLxx+nG09PQtikoZH2+oTaaqi7twjQDjIjmAlK+QDJWzrrJyCRARnTbMHQ5XldBOUMBvKvHFNstVeJDmmXY7Px0V8f3jnJUQyY+Y76wqflsH7bswi5yVS53PmZFq4KR/nnp8iYqGzo3pwDle8XpcV25mUxgP2tJ6Eo2dYGYWtw1VU06NV0qNntp+zkuA0BPARkk8vYPCU0rhxZPMMLMFsFPXh4bfxaMngQR8uMDkUP3UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qZkrDpjcHHlpsiywuuocQrONWS0Mu7nwyDainTSlHX4=; b=MYKlSI2wDa78FXClntk4hmYNiEAlXI1X78yZrFuK60Z6ciQqI2YvzdvilXbKreigZJtZQKzic9PvUdLJDsRZb5zfPKrZT6jzqsm2lRL/O1hW9YfMo88WVC44K6CeyGpE7oR+rumZJ7wcWvexFZk+HYHt4McfGvume4PpGpG2hPdKxk2UTWMbY+GisBBniW6zjDx5tthRRjAvOQb55nbYn7dES7zH1UDdDar5Hm1Y3mf3S8a+4wSO/GGdr/eGvCIbMFKTethJS1VROgc1Yt5CTBRWZTXB2hTdQ9NQFn7b5NqnVFWblxg40pyZHL9kF0isApObnygvhktQ3BQ+CkU8Fg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qZkrDpjcHHlpsiywuuocQrONWS0Mu7nwyDainTSlHX4=; b=FKzUrURSP62Zo+0gBdIe1JWFfuoQGE63W5dUvGnM7dApmxUpJJUi5nbDGc1Ut9ViS9Lkp11L5uGkPmbTn4eLM2B3zHGip2LgPd3yN3I1O6rOkzWtu9+bvIc7TkHkqazCs+N1dqtVH8EMRFTO1Bg1jngmKGQdVNMVLQb8596ihLHWsiSPerFOKRQa8/cMg9fYUnLzk/tAurgNTAeX/ovMMpx8/+opDt2K9YEC+L1V/D2fXlZUcL25/lstFZH8N5anDqbKG4tqqiwPp+g3BBEn/kotD45pg/yGlPDOfFLwwgGyar+CynbdlUjMBl74bLl73p0MxXXasZISXuRfJOPWdg== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by PU1PR03MB2780.apcprd03.prod.outlook.com (2603:1096:803:22::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Tue, 25 Jan 2022 20:20:01 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::d9c:bd5a:b653:af3]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::d9c:bd5a:b653:af3%4]) with mapi id 15.20.4930.015; Tue, 25 Jan 2022 20:20:01 +0000 Subject: Re: sed trouble when UNAME_* is set in jail (fwd) To: Dmitry Morozovsky , freebsd-ports@FreeBSD.org References: <765383430.947805.1643068188075@ichabod.co-bxl> From: Tatsuki Makino Message-ID: Date: Wed, 26 Jan 2022 05:19:58 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [HJy5nd7y2O9o0oHnfyE+qQnHKE8nXU5g] X-ClientProxiedBy: TYAPR01CA0154.jpnprd01.prod.outlook.com (2603:1096:404:7e::22) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: <6c5910a9-9f3a-5dc7-7a5c-7d04b0ea76dd@hotmail.com> 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ef81ba46-9aa2-4c59-6d6d-08d9e04010f1 X-MS-TrafficTypeDiagnostic: PU1PR03MB2780:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Po2HMZkdEjOasR5Vxzu9nsOrkBa8s6ZfgnCkfEl905ni/meJw8LBiCgAl4VuLdNTdYZhSPqQeg2W/zReoZolzudFn7iXwvAPXQ8shzP2DcUcajo7tqFhBOnb5OaPh2DCQxVLhYCVtyb5SdvyDDQ2hc+rmlOJEB0B2xNuYxjJF5S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FVYei80T2NmQmRMaFovczRlLzlabS9MZmo4b0Vk?= =?utf-8?B?Sk9sbU1xalg5bEZoeENCeXdZZmZGYkpuWm1LSlVNaGNzOFR4dGh0RGhENGtW?= =?utf-8?B?Vy9zdjdiVUtzMEVIeUVRZDNEQ2E3TmVvWXRWak5OMGNiT1hxbmhzUUxGZFRr?= =?utf-8?B?L3o0WVdybld0TktoNGQvWndtQW5ybzlTa1FsckluZUZaUFRlc2dTTkIrQjI0?= =?utf-8?B?WnhhTzNXa0M2a1pSNHRjNTB5d1E4eDFhMlMxNWx5RUxyekpYQWZMeUkyTjBK?= =?utf-8?B?MzBZZ01COHVGTWZXUGx4UFErZnhLKzZ6YndUVkpWazlBaUhXUGU2SmR3MWVC?= =?utf-8?B?ME1va2E2cCt4bzlkSGVTajlNWWt2cit6OWtEbDlMUlFJRTVXTGJPMTlSUm9D?= =?utf-8?B?RW9uTUxHZGJTYi9BVXhDK0xpYWw4NXk3bUliNUluWG1mRU9pNnM1bnJ0ZzlL?= =?utf-8?B?RXlHVG5SU0lsTmhFVTdFODRPc0ZlbmtGeEl1S3YxT1NtQVY2Tnpjd051NE02?= =?utf-8?B?ZGVrT2xodXArQXdEMmVPVGxRVGRsV3YyY0MwTFhOWFc0ZGVxMzhtSDRTbXNT?= =?utf-8?B?Y2tncEhVWlo0TUVqOUVZUUZZTXJ3bWhmNlpqa0QzY016OUFlYWdJS0xqZ0x2?= =?utf-8?B?K1R6VmV2ZFlLMU00SmZZRTVFaUo1R2x1NXJZcUlrc25OcUwyZzJBSk43SmQv?= =?utf-8?B?MVc2bHRoMk9MZWU1OTVOdDB0amR5VjIvQzI0UmJqbGxyMThJdzZDUEhJM2lP?= =?utf-8?B?U0pGeVF1U3NPTi9tekg2NktjU3F5SHNsZWdPd20vZ3JTQWY1Zz09?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: ef81ba46-9aa2-4c59-6d6d-08d9e04010f1 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2022 20:20:01.7828 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1PR03MB2780 X-Rspamd-Queue-Id: 4Jjyrq2nbPz3rqK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=FKzUrURS; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 40.92.53.13 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[40.92.53.13:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.53.13:from]; MLMMJ_DEST(0.00)[freebsd-ports]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] X-ThisMailContainsUnwantedMimeParts: N Hello. Dmitry Morozovsky wrote on 2022/01/25 22:26: > Replying to myself, > > On Tue, 25 Jan 2022, Sysadmin Lists wrote: > >>> I have a jail on my build system, nested-built on a previous major; on the >>> case, it's stable/10; for a poudriere, it is defined as null-mounted from the >>> build jail: >>> >>> 10-amd64 stable/10 amd64 null 2022-01-20 13:10:41 /X/j10a > ^^^^^^^^^ > here is the problem, it should be version, not branch, "10.4-STABLE" > > (10-STABLE is not enough as OSVERSION check will fail) > When creating a jail, it seems that you don't need to set -v when -m is src=*|null|git*. Rather, it seems that -v should not be set. Setting -v when -m is above, it just happens to work correctly when it is the correct value. Details are near lines 919 and 1207 of poudriere-3.3.7_1 ${LOCALBASE}/share/poudriere/jail.sh. Regards.