From nobody Wed Jun 14 16:16:21 2023 X-Original-To: office@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 4Qh9XQ4yWfz4dFWx for ; Wed, 14 Jun 2023 16:16:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qh9XQ2XzCz4Mxn for ; Wed, 14 Jun 2023 16:16:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686759382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oCirpLSRRP2SEGfu8wskuLlDQI5zGgg6klMSzreU+ys=; b=RbvSmQOU2ATYdd3LrxdXhMM9oPfcZGLpUVjJIpWwoLBf7TRIIEo4lU1qX0HR3TGFnP2VuU P9TpgAueMqNRnvLFhrxHJy8d5b5MyMERT8gElVpUjEErHAPz/w9+KR1oLxwBN6D4uDEt+N dQkHz6dVNiYqs+291xKk9P/rIP2BrRogCyQ3A7CS+pdx6A5HKzdztCE+MNfwBoHH06rb90 neGKgMFFq0JTXj3YdYz/Er+RZMMPuS55sn6Zmk54eMP1pNDjNg50Rlf8FYgnEtcDH8bkCy NC9DVBF7RyzjZQivDoLrkVo1tZudia4XOlJ0IVfLFFMKi74O3ghUk//K/ZML5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686759382; a=rsa-sha256; cv=none; b=vH96NeuuQOSWjhVEJZpP82s9kVUg+v0MBrmtA6VHl7E4BXSqXgGopkR1GTcyMZeiRL5mCF S3V9sJcfRMFdtMRs8Wftr2hK5wlYZ7FTJ9xBhjXXATKj+29W85+3WWuezgpeHRHznkHlrJ 55P62r0rXe76ZFvsfhcwxKlasLVt4TksHEYIc2/EHr3Rnf3efnn7h0QopsDyKjGUcWoZlr NUnMMu67uKbvQZKBfOdFE5XwryFGzB9cmbakfhrnPTFCeLuFH06icRB0SHJHO+E8C3CaWW 3OJRcGJ+Apuy4SPBAHoJX2vn9tFXXkNVVbrwEdcz9VUn/6pg07E07msAFlEI9g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qh9XQ1dy8z19GC for ; Wed, 14 Jun 2023 16:16:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35EGGMOg015490 for ; Wed, 14 Jun 2023 16:16:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35EGGMeJ015489 for office@FreeBSD.org; Wed, 14 Jun 2023 16:16:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 271994] make PORTREVISION optionally dependent on the architecture to prevent unnecessary rebuilds Date: Wed, 14 Jun 2023 16:16:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271994 Bug ID: 271994 Summary: make PORTREVISION optionally dependent on the architecture to prevent unnecessary rebuilds Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: d8zNeCFG@aon.at Assignee: office@FreeBSD.org Flags: maintainer-feedback?(office@FreeBSD.org) Created attachment 242776 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242776&action= =3Dedit example Makefile demonstrating multi-architecture PORTREVISION Scenario: - FreeBSD ports framework - A fix is supplied for a port which is necessary for only one or a few architecture(s) (see for example the latest change to editors/libreoffice, 19a93ee6d9218bcc2e4a1506e20015d84a84ee21) Result: - The port maintainer applies the fix and increases the PORTREVISION - The port is recompiled for all architectures although this would be neces= sary only for the affected one(s) Expected result: - It should be necessary to only recompile the port for the affected architecture(s) and therefore to not increase the PORTREVISION for all othe= rs. Proposed solution: - Make the PORTREVISION architecture-dependent - If only a few architectures need to be rebuilt, the maintainer increases = the PORTREVISION only for these. - If a port needs to be rebuilt for all architectures, its PORTREVISION is increased to one higher than the maximum of all previous PORTREVISIONs. Proposed syntax: PORTREVISION=3D 1,aarch64:2,amd64:3,i386:4 (next full rebuild) PORTREVISION=3D 5 A stub Makefile demonstrating the solution is attached. The solution is backwards-compatible with the current usage of PORTREVISION. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=