From nobody Thu Nov 25 14:37:08 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 A81C818BC6D2; Thu, 25 Nov 2021 14:37:11 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0L7C39MQz3j1w; Thu, 25 Nov 2021 14:37:11 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 74878B5E6; Thu, 25 Nov 2021 14:37:10 +0000 (UTC) (envelope-from avg@FreeBSD.org) Message-ID: <4a53cb13-1a9c-22c3-c3ee-27790927f4e3@FreeBSD.org> Date: Thu, 25 Nov 2021 16:37:08 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.3.0 From: Andriy Gapon Subject: Re: git: 0a0f7486413c - main - man: Build manpages for all architectures Content-Language: en-US To: Baptiste Daroussin Cc: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= , Ed Maste , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202106300806.15U86pGq037942@gitrepo.freebsd.org> <20210706090311.aomxh4n45tkpktdc@aniel.nours.eu> <20211125142339.zxkjpbohkxk4hete@aniel.nours.eu> <9226a616-d279-9702-f13f-cee7299afc7a@FreeBSD.org> <20211125143145.5jajvx52p5ma347c@aniel.nours.eu> In-Reply-To: <20211125143145.5jajvx52p5ma347c@aniel.nours.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637851031; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kQ9pafv92FFkwTwh55U7xCrbb+CSGlffSlr27XsW71k=; b=VyWyO3/Q8VttQoOsPDv0DdZgCUg9MYyvlCTFu7MIUdhOd9SdLIwTx0+fT1xrzEJpp6XFie JbFWstxlM2EAaZQyvLPxx81EMVATIo3EFZtNCGpRgYFatn2JzJlO1iPX2lmTyApz24n41o N3WNTPu3N/D1IDbrcZcL2MqPDjd4XkEkZF1s/5ScptGIZhQVUTMa7Bf7xgsVoaHZXYio+3 OCEr3pAGiJTpAHilKa56mXywjYuzlpDXwTbH7I5yUjLsUYRH3sJM5z7fYfwFuGMoVJ01f0 Sh7XsvC+NQJk7FrbQdnbwlETR1OQsUVdOWVjvYWwv5nhZcFuAFn3EA2yRPyvPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637851031; a=rsa-sha256; cv=none; b=C/uEvN8pFcxtIWba0yIJPJUSwokcZPpBLNezJwzGJ0JXH2Fy9YlNsGdpdd3HFWxN8l0DhV sZrDO4skbbVkS49UOBNlpF02AdZaVUv1H+8icdra9yvQlrN6xxFFxgRHMVw/LKTQzbUl9l EdL278+1PdRD9YAn4xdRYwlgmjG12sSj2C+YwuJeWm2Ywf1+iz7SmsBwpQOpisIH5/brQp LGT6opF6M5xS3FSF55xW3G0L/MuDJ7bRk54WR/XCjq0VrXt5E9CMJS++MqiWr+tft41Ad4 uzSBCP2eOB1C32UTWWgHEzqaQv0oW4KjtLM4dgALhmYKhQaZla6/meLy8le9eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 25/11/2021 16:31, Baptiste Daroussin wrote: > On Thu, Nov 25, 2021 at 04:30:35PM +0200, 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? :-) >> >> 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. >> >> P.S. >> Adding support for "MSYMLINKS" is not that hard. >> But I'd rather remove some stuff than add some new stuff. >> > > There I fully agree I don't see the point of the initial change in the first place :D Well, I do see the point of the change and I like it. But I don't understand why / how MANSUBDIR was / is useful. Perhaps people thought that hypothetically it would be a good idea if man foobar on amd64 and sparc64 had different content... But looks like it never happened and the idea (or strawman) is debatable too. -- Andriy Gapon