From nobody Fri Oct 11 09:12:38 2024 X-Original-To: ports-bugs@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 4XQ19f3BKhz5YZ9M for ; Fri, 11 Oct 2024 09:12:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQ19f0Zgwz44G8 for ; Fri, 11 Oct 2024 09:12:38 +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=1728637958; 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: in-reply-to:in-reply-to:references:references; bh=n5VHbOvxMWZbMqeA2u5imHc/OguWREZHJx9clTABS3E=; b=ZmQxUwIViSKbFokJtTLqHxo+G+Q9AfC5dbIGOsOQbhn3iJrXbN6cEe0oX2ZFQIn7xPrf4/ TrItwd2vWX4RyM1ZNEEf9RzDv4P1fbuZlRY/iW0gN4jnoyBfUYtw2LSAreKSy2KNFE8jgg 4MPjoih+ZsqTKuqFie0d0t7JlYaVHhJ2sefct3f7+udFavVKUlg6O1FZwK877Av7hnpZE7 5EhC8qQSVQn/+FdYDuhpfX9+50KedyDm3+oJY3twnFcLHMM2qQvgfEuwtVkcD9y66eE507 z7O8BCeDE/8zgg+vVxJWTgGC8V2WQ2qrNdS1lDc64SB/XCbpJyRkQQx81gpT3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728637958; a=rsa-sha256; cv=none; b=Lo/tl/65T4xgF1gC95XQdIMSOdXcC/13UQegciiDRrRQdCheo0dzCAswhBArxyAYxCpYoh Xe1b73EbIIdEVaOIyKCMPot+yVAR08fzv8pzozMeZ301VIIUTITyAUFRIBnwgDaizdTyCi LEUY4XjJA5wtttAs4v2vYmbmUbt4TgAPFYso0ozMsDOwAoUa52ysBnnAabJxuUsxzNBSjx rjRMFa3fL/g39qu2rd2VxpSjN81dIY3NZro1yluFb4RTNHC7ta5Ok1YhmO6lI2tcORa1ZU qW6gTzWJQV3uPFz1BawXolsQAP7Ij9R59hcy28P/4aSn6Q4WubhGjHcKQ76XiQ== 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 4XQ19d75SqzcBx for ; Fri, 11 Oct 2024 09:12:37 +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 49B9Cbi2064857 for ; Fri, 11 Oct 2024 09:12:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49B9CbNO064856 for ports-bugs@FreeBSD.org; Fri, 11 Oct 2024 09:12:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV Date: Fri, 11 Oct 2024 09:12:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: exp-run+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281674 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D3154506a168d8188fe06f252e070b39= 4b6581db3 commit 3154506a168d8188fe06f252e070b394b6581db3 Author: Tijl Coosemans AuthorDate: 2024-09-07 22:06:27 +0000 Commit: Tijl Coosemans CommitDate: 2024-10-11 09:04:54 +0000 Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV make(1) has a built-in variable MACHINE_ARCH that defaults to the value of sysctl hw.machine_arch. This is not correct when building packages under qemu. In that case poudriere sets MACHINE_ARCH in its make.conf. Since commit d7511b9d0074 make.conf is not picked up by make during build so pass MACHINE_ARCH through the environment. This affects building kmod ports under qemu. This is a workaround for make not looking at UNAME_p when setting MACHINE_ARCH. It does look at UNAME_m when setting MACHINE. PR: 281674 Reported by: jrtc27 Exp-run by: antoine Approved by: portmgr (antoine) Mk/bsd.port.mk | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=