From nobody Sun Oct 22 23:03:43 2023 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 4SDDQm1lQQz4xxZg for ; Sun, 22 Oct 2023 23:04:00 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2095.outbound.protection.outlook.com [40.92.53.95]) (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 4SDDQl2K7hz3VmT for ; Sun, 22 Oct 2023 23:03:59 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bkBg8kMZrDkdK/CBN07OCk/jfjANOJ5zCyr3114zELPVZQFP4fBy72arvPsMhuVlngwy1e28rzJqejO8MtzPmts/mfLNksWuyRm43gR/iOSJ5TX/bpt6ywYPd+DOhtsY+ktC0kxyZY1F4qgphf494Q1RmLMAlmS3Sz+4tyDH5QkasuzA2WthWovWjLXO6XDWjhJOFgebrgPET9qUoVxZ3iCzBmNiOmOrFA1O8R+iufPWud4D4I4lWCijejB+cuOzfPtCgETD6nnNRRzZNzqUVH2dyLYePqQ1qafFPghVlJQoSTlQ4wMrgWmNN4Mq8XrJdWLf4v0MF8djAW3M8GLa4w== 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=0bZHKJRYBJP7kwF6wDT1eEI+eBpW1xrpdnPvhCr3ZAc=; b=gUCQ5CIZ4IFawg280K0ain5OPKoKBHYgT0GJ9cz8Drpq6rWn4CEz0IAtDtP2qFQPbOe8vvRewk4uUiS2/3i9lD7cSzWiGdl2T87todmQU9blacmon2Jrwdo7BOvkwdnKaC+SZn84MjJHwEOJFzsvA78x94KvsL25LjrXroNnub9GdIVztXOEiekwCF00qg2pKon8rjUzZGw/GRfGvG1o/5A68gVRoG3K6x7sW4g2GMR6CUauVwGc+SjcAp0Nu0vBHW8V8VSspuUpRAp7EYbglWgjzoxqiy6iCYxXWrEEPDtzh+zBNZqMvYfylfitqN6gXJAHcLe8gaFY5ier86aYlQ== 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=0bZHKJRYBJP7kwF6wDT1eEI+eBpW1xrpdnPvhCr3ZAc=; b=XbAXNb54bpq4bGXIGZW5Cahef83RLLvNW85RmT9t/awTt7ChZyBWVulVagONqKG1eUO9YVD0ihfvcXy5t6zwhu40L1qHXZ3cXZQmjGGvknV9dJY+GKQGLHk8sRFvkJs5r+m0O040nPY3DKF/C7rW5hBIn0/wFNGOXmWpkxYfFKtXyU8KhvJFQkcpITq3hpgKX1LsKtEQz8LjNs5ambnj9MtPdx26pf/QdWrdoIpSF8ZlCfR9j21yQ9FwLIF9FgyLN+ZYdMpvaeolDvWh065n++cAOH+pv0iQ9Zq5eSIABP6CxEIK5m0ddFW7A4NQR4KHvdqgdvylEXWDXwQhyFXMNA== Received: from TYZPR01MB5037.apcprd01.prod.exchangelabs.com (2603:1096:400:25d::14) by SG2PR01MB4074.apcprd01.prod.exchangelabs.com (2603:1096:4:1c1::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Sun, 22 Oct 2023 23:03:53 +0000 Received: from TYZPR01MB5037.apcprd01.prod.exchangelabs.com ([fe80::3834:24f3:5402:186]) by TYZPR01MB5037.apcprd01.prod.exchangelabs.com ([fe80::3834:24f3:5402:186%4]) with mapi id 15.20.6907.030; Sun, 22 Oct 2023 23:03:52 +0000 Subject: Re: lang/perl5.36: update procedure written in UPDATING is not enough To: Kevin Oberman , "freebsd-ports@FreeBSD.org" References: <202310211305.39LD5Qt8086896@nuc.oldach.net> From: Tatsuki Makino Message-ID: Date: Mon, 23 Oct 2023 08:03:43 +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: [2hBi6urHCOPKsoqbxYE5O+/1nrdG+zyx] X-ClientProxiedBy: SI1PR02CA0015.apcprd02.prod.outlook.com (2603:1096:4:1f7::18) To TYZPR01MB5037.apcprd01.prod.exchangelabs.com (2603:1096:400:25d::14) X-Microsoft-Original-Message-ID: <37b6d23e-fcf4-a4b0-efad-34dc0f153080@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-TrafficTypeDiagnostic: TYZPR01MB5037:EE_|SG2PR01MB4074:EE_ X-MS-Office365-Filtering-Correlation-Id: 42e94138-5ea9-4408-48f4-08dbd3532870 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FMbHqdebpCe81O6OirB54ZPdbvtF6rnKoJ/g8iQ4WearCxXKI9UHaXlwYld9PQ4m0kqRyBG1olswFP3Gb0LlYjfvJB7r8CIlc8dSqzjeKHTLkg0nwPt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4NllDVlVaMnhzTW0rTDFxd0FyaVg0ejNn?= =?utf-8?B?c2N6V1Eyd2l2TGxuaUVmbFZjcnRMZVBIcGM5b2xqUTNtR3dWMUxvUENPSTFD?= =?utf-8?B?enRTNGJxcHAzZVAwK3BIRTZiMTNSNVJWQ0dweG16TFdCVk5UTVQ4dnlqYjNO?= =?utf-8?B?TTRPYUlDNUlWNzBIZEVnSVBCb0NqenBSNFBZV0piZHlCemo4NUZ5emlZOFBH?= =?utf-8?B?SzVjYUtiZ1h1OGVyY3N2WnVWNW14MDNoM0pIdVFaZFVGR2dLZzdvL0dlSklk?= =?utf-8?B?VGhoMHZ3ekNueG5nY0llM3lCOEVlR1RSaHUxTVhiQnJCRFZzTkoyM3FNTlRH?= =?utf-8?Q?zMp+op7TQM6j36hKBkzxIC8JRxU6Bf9BB6kFX9wKYiz0=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 42e94138-5ea9-4408-48f4-08dbd3532870 X-MS-Exchange-CrossTenant-AuthSource: TYZPR01MB5037.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2023 23:03:52.5032 (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: SG2PR01MB4074 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Queue-Id: 4SDDQl2K7hz3VmT Kevin Oberman wrote on 2023/10/22 13:12: > I think portmaster has a bug. As per the man page, the behavior of '-f' > matches the behavior of '-R -f". Actually, I'm unclear on what the purpose > '-f' is. If you run portmaster with no options on a port that is up to > date, it still reinstalls it and has for a very long time, maybe always. It is not so much a bug as a behavior that requires strange thinking :) At least -f is valid for the -a option. I rarely use it :) portmaster -a -f # This is definitely something that will fail :) portmaster -a -f -R # After repairing something that failed, continue with the rest. No need to build rust or gcc twice :) I have never used -f in combination with individual ports. Or even using -f for it, but never thought much about it :) The following is a speculative explanation of the behavior, which differs from the actual implementation... If used without options, it is assumed to be already moved to and used in a port directory somewhere in porttree. cd /usr/ports/ports-mgmt/pkg && portmaster Otherwise, it tries to make with Makefile in the current directory, or make in HOME directory. They are bugs :) Now assume two imaginary flags. One flag is to forcefully update, and the other is to use a mechanism to allow a restart in case of failure. When using -a, all installed ports are queued. But they are not all forcefully updated. Only those with increased version numbers will be updated. If -f is used there, all of them will be flagged to be forced to update and to be restartable in case of failure. -R can be used. If individual ports are given as arguments, they will be queued and flagged which will force them to be updated. If -f is used there, it is already determined to force update, so it only activates the feature that allows restart on failure. So it would seem that there is such a difference :) The above two flags change depending on the -f option and the way the port to be updated is given. When restarting by -R, it seems to me that the ports to be queued must be exactly the same to go. For example, if executed as follows portmaster -f `pkg shlib -qR libperl.so.5.34` portmaster -f -R `pkg shlib -qR libperl.so.5.34` The number of arguments when using -R is reduced by the number of successfully updated ports. ... I estimated this as such :) If not, first I need to see what's in portmaster more. However, this is a tool that has existed since the last generation, so there may still be many behaviors that do not fit with pkgng. Regards.