From nobody Thu Jun 10 12:18:32 2021 X-Original-To: freebsd-hackers@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 071207EE33B; Thu, 10 Jun 2021 12:22:30 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G135K0bPxz4bqT; Thu, 10 Jun 2021 12:22:28 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-qt1-f182.google.com with SMTP id t17so20729423qta.11; Thu, 10 Jun 2021 05:22:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YAJHyjVE7xpubdcOos4pOSjOtPl4TjNlwsaxq+P01qE=; b=cmjbaa1VyC4oN4Rj0N/6fLuCJ66ZiWU6WEXukm9LltCRqevujUgBG36+OEMtjxOz5v hAtL+jPiIMCjRJUIDZdNqNaDVmWsHlAce66jwlIXi2WxYGxQC3rrm7Zn5WQMm9UvEi8E 0uarjslokA/+VaE8TLotUMqVyCxMAPDsfo+z8SRxt8W+TKppcyWzzok05+Owk/LiDyEc tgWTP4xxp+IsNGzIR6nWsRoFjvOpHvW9UQY6bOuV30eT+NjHQCJ8y0wcFQYUOlKGWxe0 C9QScF2nUoH321aA0KgoZ4mhKdtR3qVTErKrckkWJ5j+gbfHwZnA/3/5CfdF5jl2W8/x 7Hsg== X-Gm-Message-State: AOAM530kBShuB+wLZzFs3uz1lmBNYSEYaYSXCQvBhSzdaBn7qknQuEsW FVruRPsDUJUh2EXru/ZFKPVvr+TBeY8q4Q== X-Google-Smtp-Source: ABdhPJxx0vTOi3O2MS8sKiIpLvqjKmhePBPis12cvpNyghNXnkn4R7P6meiFAKsDlEuE0YUGAH85Lg== X-Received: by 2002:ac8:4803:: with SMTP id g3mr4887807qtq.176.1623327747960; Thu, 10 Jun 2021 05:22:27 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id t26sm2074648qtn.18.2021.06.10.05.22.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Jun 2021 05:22:27 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id m9so34011680ybo.5; Thu, 10 Jun 2021 05:22:27 -0700 (PDT) X-Received: by 2002:a25:cf08:: with SMTP id f8mr7163746ybg.249.1623327746843; Thu, 10 Jun 2021 05:22:26 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <20210531070722.GR14975@funkthat.com> In-Reply-To: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Thu, 10 Jun 2021 14:18:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Inclusion of all manual pages in all architecture releases To: Ceri Davies Cc: Ian Lepore , FreeBSD Hackers , freebsd-arch@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4G135K0bPxz4bqT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 209.85.160.182 as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RWL_MAILSPIKE_GOOD(0.00)[209.85.160.182:from]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.160.182:from]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[209.85.160.182:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.182:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers,freebsd-arch] X-ThisMailContainsUnwantedMimeParts: N On Mon, May 31, 2021 at 6:17 PM Ceri Davies wrote: > > On Mon, May 31, 2021 at 12:07:22AM -0700, John-Mark Gurney wrote: > > Fernando Apestegua wrote this message on Thu, May 27, 2021 at 08:40 +0200: > > > > > > Hi Ian, > > > > > > Thanks for the explanation. That would fix the man.cgi and > > > consequently the Release Notes issues. > > > However, in order to fix the broken X-refs in the manual pages of the > > > release distributions, wouldn't we need to build them with > > > MAN_ARCH=all? > > > According to make.conf(5), MAN_ARCH defaults to MACHINE and > > > MACHINE_ARCH. Would it be possible to change the default value to > > > "all"? > > > > > > diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile > > > index f7626c80eeb1..583c4a4b9bb9 100644 > > > --- a/share/man/man4/Makefile > > > +++ b/share/man/man4/Makefile > > > @@ -897,9 +897,7 @@ _cgem.4= cgem.4 > > > MLINKS+=cgem.4 if_cgem.4 > > > .endif > > > > > > -.if empty(MAN_ARCH) > > > -__arches= ${MACHINE} ${MACHINE_ARCH} ${MACHINE_CPUARCH} > > > -.elif ${MAN_ARCH} == "all" > > > +.if empty(MAN_ARCH) || ${MAN_ARCH} == "all" > > > __arches= ${:!/bin/sh -c "/bin/ls -d ${.CURDIR}/man4.*"!:E} > > > .else > > > __arches= ${MAN_ARCH} > > > > > > This way, the released distributions will have all the man pages (we > > > have some PRs related to this) and would also fix man.cgi regardless > > > of the FreeBSD version the service runs on. > > > > > > I am assuming here that we do not explicitly set MAN_ARCH to a > > > specific architecture when building the releases but we take the > > > default value. > > > > I would like to see this change made myself. It'd nice to be able to > > use your amd64 build box to be able to get information on other systems > > by default. The extra space is minimal. > > Agreed. I would prefer if architecture specific pages went into their > own section, and were then hardlinked into the existing architecture's > standard sections (this would preserve current behaviour, and allow each > architecture its own namespace if needed). I created https://reviews.freebsd.org/D30715 and took the liberty of adding some of you who provided feedback, to the review. Thanks! > > Ceri > -- > That must be wonderful! I don't understand it at all. > -- Moliere