From nobody Mon Sep 23 20:10:55 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 4XCDdW6FVxz5WRpN for ; Mon, 23 Sep 2024 20:10:55 +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 4XCDdW2CwHz4dc9 for ; Mon, 23 Sep 2024 20:10:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727122255; a=rsa-sha256; cv=none; b=pFAfzZblLqCTRFlkX0KKvg7oaUwBgnrdyFa2c5xTzW2lg8DllC8c45ksDrRXK0rpxcS4Xd qHLn3ZIfdGqGpYj1hxn3nG6eMYSagwHXxMS75SSG4L+l5oRamMfNAAwiiWBfx7jXOK4xq8 STP8vnzZCrTHNC2UQ63IRPBkrEPtnXW1bc95Uje9OieRtVYydEQJXCNkCRbOhmsXxIAyF5 WQGkkVY2/bH4oY8bjOy1zmxyPPHz1NbbqGe58pO6D90+HVHnIEwTDt8O2nRs8iC4QIKBZ9 krQniVLGMBin0rbDy4mvTM5N50C/XZtYsLIDTOXWQ7L1p3HCTBmaJZcrM2ZtRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727122255; 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=/qrh5+F1pTHzj6xCwJVZ+mT4bFq5nWe8CdR8APna4NI=; b=iiBb3xoiHGSsFdg1cszr55Xhl/9We/LgWNnnuvxPFdPKYyKtapTBNXiVxfxXyTeMD33m9F Zl7+DyFUJCeCCVMMGb9u6rbNIvniOdtrBuGCfk6rsxaMv3gtM2Zj+GtdtozhBcXNtaBk+9 C1T73WqrRASu8muXJ31Zl01xZ81WtLQZHXbAu6NZGXNvUriku9Y2BcQyxFJYCBdH3Ua1uI BaFfc3kpiVmnTsIUd751eL/MXILJGPQbdETRFOdJ+LwecsqqGT5Dbxd04k1B7mvr5zhc4p ZomYncs4e5BxuaZO3/3r+FZVD005rqmTe8nKlPodMgMV+UKKCWldEh5snDJXvQ== 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 4XCDdW1jYGzyy0 for ; Mon, 23 Sep 2024 20:10:55 +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 48NKAtTU047539 for ; Mon, 23 Sep 2024 20:10:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48NKAt10047538 for ports-bugs@FreeBSD.org; Mon, 23 Sep 2024 20:10:55 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: ports-bugs@FreeBSD.org Subject: [Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV Date: Mon, 23 Sep 2024 20:10:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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: 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 Bug ID: 281674 Summary: Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: tijl@FreeBSD.org CC: ports-bugs@FreeBSD.org Created attachment 253787 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253787&action= =3Dedit patch 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 q= emu. In that case poudriere sets MACHINE_ARCH in its make.conf. Since ports 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. Reported by: jrtc27 (https://reviews.freebsd.org/D46502) --=20 You are receiving this mail because: You are on the CC list for the bug.=