diff options
| -rw-r--r-- | dev-lang/zig/zig-0.13.0-r2.ebuild | 7 | ||||
| -rw-r--r-- | dev-lang/zig/zig-9999.ebuild | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/zig/zig-0.13.0-r2.ebuild b/dev-lang/zig/zig-0.13.0-r2.ebuild index 2b05516cbff1..d8fa77b14495 100644 --- a/dev-lang/zig/zig-0.13.0-r2.ebuild +++ b/dev-lang/zig/zig-0.13.0-r2.ebuild @@ -209,6 +209,13 @@ src_compile() { } src_test() { + if has_version -b app-emulation/qemu; then + ewarn "QEMU executable was found on your building system." + ewarn "If you have qemu-binfmt (binfmt_misc) hooks enabled for" + ewarn "foreign architectures, Zig tests might fail." + ewarn "In this case, please disable qemu-binfmt and try again." + fi + cd "${BUILD_DIR}" || die # XXX: When we pass a libc installation to Zig, it will fail to find diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index cb7c8e8bffc1..9fe4558461eb 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -202,6 +202,13 @@ src_compile() { } src_test() { + if has_version -b app-emulation/qemu; then + ewarn "QEMU executable was found on your building system." + ewarn "If you have qemu-binfmt (binfmt_misc) hooks enabled for" + ewarn "foreign architectures, Zig tests might fail." + ewarn "In this case, please disable qemu-binfmt and try again." + fi + cd "${BUILD_DIR}" || die # XXX: When we pass a libc installation to Zig, it will fail to find |
