From owner-freebsd-ports@freebsd.org Tue Nov 3 12:41:54 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6242D457850 for ; Tue, 3 Nov 2020 12:41:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQTtp1JtXz3ZfS for ; Tue, 3 Nov 2020 12:41:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 2CEA24579AA; Tue, 3 Nov 2020 12:41:54 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2CB354577DB for ; Tue, 3 Nov 2020 12:41:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 4CQTtn1t3cz3ZlN; Tue, 3 Nov 2020 12:41:53 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-ed1-f48.google.com with SMTP id ay21so4722821edb.2; Tue, 03 Nov 2020 04:41:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=JzLUKXOqotbbbTfW/aNAo+tiAEmSIUFmlaWpShP7CNU=; b=cSigpoSA8O6aETn2RPvSNf1ycIkMzUODJvkKLGsEmyAHUfVPXxXuRj6CpqAyPIDJmw XHpMqlV2jqECLlnGrHeVMMv8sQo2lOHYC5uGeeWtjlvzP9HIuDc3NgG87lFS07LiowI0 R3d2oHgbs8aGP8l6UwHxGTkdVxh/MJGgPIEudQH5PpOnyiLIXRtQoHSYzP5cJWCZmtNc lR1Fdi6G1JKsvsS1GLfau28tm55MlGewLt2JuOkOKjWuHoLJQfVHfeaIDESYIyFOr8oK QLe5twMclEit0FVRVB6aaCC+xzAFFIL909nA8iudiKNLtvJWmRbssz76IL2y/INqJo0r w1XA== X-Gm-Message-State: AOAM531a5BczE4Z1dNI4HHveRELnt4SRdZ47BFxJ3H+2tm4JOZvHa4e9 zgUkOUkrl1Umo8u0lh7uqOqcjnT8/0wNHw== X-Google-Smtp-Source: ABdhPJyeVe8gPE6f6TDb/VQrAl8TgsKmIGNDlY1ae71BRsl9YMnw1w9asMkQoI27w4W7yR+UtYlYSA== X-Received: by 2002:a05:6402:143a:: with SMTP id c26mr22098615edx.150.1604407311427; Tue, 03 Nov 2020 04:41:51 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id by8sm11255808edb.49.2020.11.03.04.41.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Nov 2020 04:41:50 -0800 (PST) Subject: Re: What are the benefits of NO_ARCH? From: Mateusz Piotrowski <0mp@FreeBSD.org> To: Baptiste Daroussin , Stefan Esser Cc: "ports@freebsd.org" References: <823586a7-dfd7-55b2-a7d3-0775a1f2533f@FreeBSD.org> <20201102145018.6jsnumr26feffvgn@ivaldir.net> <7df97983-31fd-2529-171d-c411a137e756@FreeBSD.org> Message-ID: <62c1ec76-450e-15d9-e464-4adb3a9711e4@FreeBSD.org> Date: Tue, 3 Nov 2020 13:41:54 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <7df97983-31fd-2529-171d-c411a137e756@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CQTtn1t3cz3ZlN X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.208.48 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-0.79 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RCVD_COUNT_THREE(0.00)[3]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.986]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.18)[0.181]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.48:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.48:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 12:41:54 -0000 On 11/3/20 11:24 AM, Mateusz Piotrowski wrote: > On 11/2/20 3:50 PM, Baptiste Daroussin wrote: >> On Mon, Nov 02, 2020 at 03:48:34PM +0100, Stefan Esser wrote: >>> Am 02.11.20 um 15:33 schrieb Mateusz Piotrowski: >>>> I wonder if setting NO_ARCH=yes brings any significant benefits to how >>>> our ports collection works. I'd be grateful if you could shed some light >>>> on the importance of setting NO_ARCH whenever possible. >>> NO_ARCH means that there is no need to build packages for each of the >>> supported architectures, e.g. for pure interpreted scripts or data files >>> that do not depend on byte-order and word-size (e.g. many font file >>> formats). >>> >>> The result is reduced resources spent on building the packages, network >>> traffic, disk space on mirrors and on distribution media. >> Yes that is the goal, in practice it is not yet the case, so it is purely >> informational, but that what we are aiming at yes. > > Thanks! > I've added a note to the porter's handbook based on the information you provided: https://svnweb.freebsd.org/doc?view=revision&revision=54671