[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Sep 2024 20:10:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281674 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=253787&action=edit 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 qemu. 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) -- You are receiving this mail because: You are on the CC list for the bug.