Bruce Leidl
e20e601129
Updated Recipes: gcr4 3.92 -> 4.0.0 geoclue 2.5.7 -> 2.7.0 gjs 1.73.2 -> 1.77.90 gnome-backgrounds 42.0 -> 45.0 gnome-control-center 43.0 -> 45.0 gnome-desktop 43.rc -> 44.0 gsettings-desktop-schema 43.0 -> 45.0 libblockdev 2.26 -> 2.28 libgweather4 4.0.0 -> 4.2.0 libnma 1.8.38 -> 1.10.6 mozjs 102 -> 115 nss 3.64 -> 3.74 ovmf 202205 -> 202211 New recipes: appstream 0.16.3 libei 1.1.0 libxmlb 0.3.14 tecla 45.0 webm/libvpx 1.13 Recipes updated to replace poky recipes with insufficient version: glib-2.0 2.78.0 gtk+/gtk+3 3.24.38 gtk+/gtk4 4.12.1 icu 73_2 wayland/wayland 1.22.0 wayland/wayland-protocols 1.32 wayland/libinput 1.24.0 libadwaita 1.4.0
49 lines
1.9 KiB
Diff
49 lines
1.9 KiB
Diff
From 6cb677e3ea8b5491a923405144b18f5264abc62c Mon Sep 17 00:00:00 2001
|
|
From: Changqing Li <changqing.li@windriver.com>
|
|
Date: Thu, 11 Nov 2021 16:05:54 +0800
|
|
Subject: [PATCH] util.configure: fix one occasionally reproduced configure
|
|
failure
|
|
|
|
error:
|
|
| checking whether the C++ compiler supports -Wno-range-loop-analysis...
|
|
| DEBUG: Creating /tmp/conftest.jr1qrcw3.cpp with content:
|
|
| DEBUG: | int
|
|
| DEBUG: | main(void)
|
|
| DEBUG: | {
|
|
| DEBUG: |
|
|
| DEBUG: | ;
|
|
| DEBUG: | return 0;
|
|
| DEBUG: | }
|
|
| DEBUG: Executing: aarch64-wrs-linux-g++ -mcpu=cortex-a53 -march=armv8-a+crc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mozjs/91.1.0-r0/recipe-sysroot /tmp/conftest.jr1qrcw3.cpp -Werror -Wrange-loop-analysis -c
|
|
| DEBUG: The command returned non-zero exit status 1.
|
|
| DEBUG: Its error output was:
|
|
...
|
|
| File "/mozjs/91.1.0-r0/firefox-91.1.0/build/moz.configure/util.configure", line 239, in try_invoke_compiler
|
|
| os.remove(path)
|
|
| FileNotFoundError: [Errno 2] No such file or directory: '/tmp/conftest.jr1qrcw3.cpp'
|
|
|
|
It should be another process that deleted this file by using
|
|
"rm -rf conftest*" inappropriately
|
|
|
|
Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1740667]
|
|
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
---
|
|
build/moz.configure/util.configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/build/moz.configure/util.configure b/build/moz.configure/util.configure
|
|
index f5ff3acd79..44f69deceb 100644
|
|
--- a/build/moz.configure/util.configure
|
|
+++ b/build/moz.configure/util.configure
|
|
@@ -254,7 +254,7 @@ def try_invoke_compiler(
|
|
"C++": ".cpp",
|
|
}[language]
|
|
|
|
- fd, path = mkstemp(prefix="conftest.", suffix=suffix, text=True)
|
|
+ fd, path = mkstemp(prefix="try_invoke_compiler_conftest.", suffix=suffix, text=True)
|
|
try:
|
|
source = source.encode("ascii", "replace")
|
|
|