From nobody Thu Nov 25 15:14:58 2021 X-Original-To: dev-commits-src-all@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 6A2BD18A2370; Thu, 25 Nov 2021 15:15:22 +0000 (UTC) (envelope-from kevans91@ksu.edu) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2064.outbound.protection.outlook.com [40.107.102.64]) (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 4J0LzF5y54z3w5m; Thu, 25 Nov 2021 15:15:21 +0000 (UTC) (envelope-from kevans91@ksu.edu) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IrCjTdnYsUag9yzRYE00cE9fIrNjFQ4NssE7cLnl0OhEVE0NcGiQ4usc036J3PPweoRAaPpJV3nr0N2JmnyOgvWT0Q/Ef4qcW3aY8h2Kfci4nTXANKD393myx8EYeiWjS7Verhu5T5QMDgOmPdp3pq5nP19da5kGAxHwumgTVIe0BIwV83Nn4028D1l1QnkrID9gh1ko910oYOFHsrHrKwMePDgBoOIhm2Y3nX0HOaWZJuipihuPInr640MS5xLEq28ttardNc/tLpvwvyUaCjOnR636/i6LGZsejzkR0CZvQQTwXqV2VKicCS2EQAWlpWLPtnuQczv2cy4Rso6Tmg== 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=Rhis6PbG1aAbaTQnKBLf6JCDHUIUgavPES4rzAroA/8=; b=d9KMYAnWnCPDAaWv98UD1hSCESdqUh0EzKuQpzCuIIxjbBL7J9IoUbsJNlVyapbx0ndcLuQjk2oy9pv5wBlemCV9OOxfG2FE7olJrZe42J0CMspznMn6W1FQVLFH+W2mLZUtJbZ9g44blD24+wWth+DRRYNBYF2IZQ7d7l1rOqj1Dkn9nis6JiRHdW0y2tPYjDxqRKwOv0FpDgxi8CmdR4Sn5kt4R61xqscoTE6m3Ny55EYnPNFby15gmF+g+1UFkxC1qDnLi96uL4dmeDmFgxYfvfBRH+fnqyHpWyDNE75iodYit3C7Md2pabuJI6CKehhNAM6RT4t32WypHYKKyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ksu.edu; dmarc=pass action=none header.from=ksu.edu; dkim=pass header.d=ksu.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ksu.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Rhis6PbG1aAbaTQnKBLf6JCDHUIUgavPES4rzAroA/8=; b=reluiOMMqNr8ODeh2434Z9jtMIKHLgrdhDD9qGj0stqYJrIh+YMrwg18mDzrtIZYSoN37/pxntnneh9TfK5/REAq3tPheF/n7EivUOXmsWYUKaNtvIHh4i6SssVnGy4XmcitPqdVCsVz7Yz3bxSzDhltLlg1wV4rjwhBwv+tOas= Received: from DM6PR05MB6953.namprd05.prod.outlook.com (2603:10b6:5:206::17) by DM5PR0501MB3832.namprd05.prod.outlook.com (2603:10b6:4:7b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.17; Thu, 25 Nov 2021 15:15:13 +0000 Received: from DM6PR05MB6953.namprd05.prod.outlook.com ([fe80::e8b3:ed98:faf7:8233]) by DM6PR05MB6953.namprd05.prod.outlook.com ([fe80::e8b3:ed98:faf7:8233%4]) with mapi id 15.20.4734.020; Thu, 25 Nov 2021 15:15:13 +0000 X-Gm-Message-State: AOAM530bBPettjGrAXcT9ftnpvcp2rJNH1Rt510jEhgIG/f0SIz8EPSB LaDtXg9QDtzf/HEuxgO/mjOt9tA9ZOXZW95rg7o= X-Google-Smtp-Source: ABdhPJyPmFjixCSc/t4ooJ+NnCM7my0ln/kZpsjU+k6ajcMS5VbhEvQmF+yMmiIw93dHXoGVftA6+84GS8u35C9fhZk= X-Received: by 2002:a05:620a:4404:: with SMTP id v4mr15816505qkp.350.1637853309268; Thu, 25 Nov 2021 07:15:09 -0800 (PST) References: <202106300806.15U86pGq037942@gitrepo.freebsd.org> <20210706090311.aomxh4n45tkpktdc@aniel.nours.eu> <20211125142339.zxkjpbohkxk4hete@aniel.nours.eu> <9226a616-d279-9702-f13f-cee7299afc7a@FreeBSD.org> In-Reply-To: <9226a616-d279-9702-f13f-cee7299afc7a@FreeBSD.org> From: Kyle Evans Date: Thu, 25 Nov 2021 09:14:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 0a0f7486413c - main - man: Build manpages for all architectures To: Andriy Gapon Cc: Baptiste Daroussin , =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= , Ed Maste , src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: MN2PR02CA0015.namprd02.prod.outlook.com (2603:10b6:208:fc::28) To DM6PR05MB6953.namprd05.prod.outlook.com (2603:10b6:5:206::17) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Received: from mail-qk1-f171.google.com (209.85.222.171) by MN2PR02CA0015.namprd02.prod.outlook.com (2603:10b6:208:fc::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Thu, 25 Nov 2021 15:15:12 +0000 Received: by mail-qk1-f171.google.com with SMTP id b67so11975898qkg.6; Thu, 25 Nov 2021 07:15:12 -0800 (PST) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 38360e8e-c1aa-41be-795e-08d9b02660bf X-MS-TrafficTypeDiagnostic: DM5PR0501MB3832: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q50pskQtkhj/ns5BGUkp3aCbcTT5Un2pgfDEsg7AcU73YE91mmDVxGQ7xZ2yQTajPfAqJbXcoucA8sSj7rvecjqb5I3hWY41SHIRrl6iPgecDZrcVZjkGipD2oKHmBSoR5lFg//o7UFUNuCLZJkT9d1P73ip+qTzFWpV5xeYvw8nwZOGFD967LSjfwdoH/bvDEja3Pk1PF4fpqkawFensS2aVf8yfcDfFMPYJTaug7pyleVX/OPcyio4kgvaSAybtfu1WwA8DRK+Nl3KDakqXVaexRmVTtjvC6NlrvxBdBXRuollX/WHKMhTGGuJmIRFemkS9jroqd4lmVJ86Dsc4x4MsxfTQPw9X9OQzicQYCMhzHCaM3gI5Hyjf79FcLiWuTUtdxNGX3ePEHRrD1T+O4Uc9s0gdki3ugzS+nQaPVrHoxlDvBFEAM8+p8qGe2Cn2XdxXJT7HjAx8CaU/B8ellFQLkjjQJAlh0vKQKO+QXydDSyMCUL+NC9uBZtQP35QKEF8qKvllBT/Zv1reodhIP3GUhr78RHcBlCFIntVhN9yG6USzBhoBLr19PMkLH2isX2U81zWoMLZbj2grLuGlamGXxExe7xV8gWFydB5BuPKBa3OpkwfsI6Tzf8o2TiEqY+xKFpusDb1szuPv/FI9F6gP+GQ33bO6yvKXZg146UzBFMF6pSVtWSCLKaJ8Q7iZNWpoqli1NSdFIYpdTUzaoznvo10wP99sPJT8Qu1yWOVEDY+5Ff6vXyY6+2pwQDR X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB6953.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(450100002)(66476007)(66946007)(66556008)(6916009)(6666004)(2906002)(186003)(26005)(9686003)(86362001)(52116002)(42186006)(508600001)(53546011)(38100700002)(5660300002)(38350700002)(8936002)(75432002)(8676002)(4326008)(316002)(786003)(54906003)(55446002)(55236004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aHgzZVF3RGhUWHZpR3o4WXpxY0s2TW9mc1hQUVVlMnRBTGJSZjRXdzBhUWdh?= =?utf-8?B?WXpjenZ6b2Rrd09ZZ3VZMGNNNUk2YVpZKzRBR1A1NWJGdGh4aVZTdllPSm81?= =?utf-8?B?Ni9icjNFQXNlQ0ZZTGgwWjdsdFI0RkR3clZiL3RBa1BaZzlVNUdtUm1LM1BT?= =?utf-8?B?SWtRZlBmOUhiZTl1MDhXTXcybU5yMnh0ZTdFZytxNTJ2dXdlSnZtUlVGS1M4?= =?utf-8?B?YXgvNHNpWno2aTN6QnN3V1FTYXYwKytqL3k5RHpwL05aTGZqU0dPQUhFU0JN?= =?utf-8?B?NVdNWkMrLzdZTHFxNWdMNVN1Mmh4MnFtSWZIczZtV1pad0hyd2FMYlJkSGZ1?= =?utf-8?B?ODRDOWI4VjU2dm1jdWxWaHN2eFRvK2tmQWd5UG1MbFdpc2czNG5kRnJNcUVs?= =?utf-8?B?cHJEWVpHREpBakg2ejY1dlYxbUhmQXpMcllYdVpUbHRZc3FtUzhWVzBXUmEv?= =?utf-8?B?L1Q1WllyM1lkWTgyb0R5aXZSQi9hUTlIYk82L3FRRWxaSklFb250blh2YjYr?= =?utf-8?B?OXRGeXF1cCtSOVZCMUVUdE9VT1U1eHlESkJ5L05nQVZzN1Bld1U1ZFlFdGM2?= =?utf-8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DFj?= =?utf-8?B?cDZOSjQ3VllCYVBLTlV6YkdkTXpDbUtVenM0alllNnZ0ZTVXU3g5Z0JoMkgw?= =?utf-8?B?dGNZQkZyeWFodGlHakprb1RkejBPUFdXV29mS1VmTlVJMkQvNzFLSTczK1ZJ?= =?utf-8?B?cVhQQWVsaFRpQlVFMDF3cGlYc2FVdldiSCtOTEJMMlNUMkNhRm1KWVBSdW04?= =?utf-8?B?Nk15ME5GQ3FTRzJZYXN0Y09wL09NV0dRZHJscE1LUEVhWkk2R0laelQwYWpm?= =?utf-8?B?Mk81V0E3WGpJZlpibnRWSHZhbU5zVXlQdDk4RlpOS2plWXpqMHJtV1ZZRVhE?= =?utf-8?B?TExuOTgwbDhkSWJUak0xZ25zU3M1TUFDandMcUVyejh4RUJSZFJXYlhJRk9y?= =?utf-8?B?Mmt3eisxMk4rc3pKRjhXdDJzbWE1TnkzcklYalVwc2dYb243T092cFoxQTRt?= =?utf-8?B?Smp2N1VCbGg4VXRtdGxlTDVqaUIwbFRvcWUreGg5QjBXS1JjS3lLQkJ4ZEd5?= =?utf-8?B?cEtkbmxZQnRDZlB6RDlGS1hQOVFIemNIMG8ybm9GaStuYjVmQ1dCMldsV0Rx?= =?utf-8?B?c01qcG14TkJ0SmVmaFJsTWVPZHpyRDZ2Snd5N2Zod3NlUUhjcWVxVlByTEs3?= =?utf-8?B?eUo0eVNkMUQwR2NXSVNhNXZXRTZQaWtYR29XbmRPN0NpMU5UblE0L09WZGI3?= =?utf-8?Q?6lqLT7R9O2CL07lsYfm117k=3D?= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 38360e8e-c1aa-41be-795e-08d9b02660bf X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB6953.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2021 15:15:13.0591 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9a2fa71-d67d-4cb6-b541-06ccaa8013fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a0Pf1wgIGXhQFe8drSfR3plH0J88A5ujjz6iB1oYoqqVhRoFHTFpitaQ23Uw33EKawzU76uN6X7FXHPwc/3Bbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0501MB3832 X-Rspamd-Queue-Id: 4J0LzF5y54z3w5m X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Nov 25, 2021 at 8:30 AM Andriy Gapon wrote: > > On 25/11/2021 16:23, Baptiste Daroussin wrote: > > On Thu, Nov 25, 2021 at 03:57:41PM +0200, Andriy Gapon wrote: > >> Looking at the output I got another thought: do we need architecture sub-dir > >> links at all now that we install manpages to a main directory? > >> Is there any benefit to having the same manpage in a directory (like man4) > >> and its immediate subdirectory (like man4/arm) ? > >> > > Hardlink not in the same directory is imho a fragile setup anyway, what if a > > user has different mount points here, the hardlink would be broken. while there > > is little chances someone is doing that, history told me people are doing weird > > things and if they haven't yet, they will soon. > > > > I continue to think this kind of links should be 1/ symlinks, 2/ relative > > symlinks if they are in a situation which can become a cross device issue. > > Yeah... but are they needed at all? :-) > It's handy in the sense that it'd be nice to install all arch manpages on some machines, e.g., I develop arm stuff on amd64 and there are some drivers that simply aren't applicable to amd64, I'd like to be able to find those. I think the implementation is a bit odd, though, leading into: > I mean, whichever way we install manpages they are always installed into manX. > I do not see a point / benefit of having another copy / link / whatever in > manX/arch. > I guess I haven't read the context much here, but I don't see why either. /usr/bin/man's built-in search behavior checks $mandir/$machine and $mandir/$machine_arch before $mandir, it seems like we should be leaving them there and letting man do its thing. If you need a non-native arch then you can hopefully just poke around the arch subdirs (presumably mostly section 4 pages) to figure it out. There's a reason they're arch subdirs, and trying to install links or arch-specific pages into the main $mandir is asking for trouble when we actually have conflicting pages for whatever reason between archs. Thanks, Kyle Evans