diff options
| author | Slater, Joseph <joe.slater@windriver.com> | 2020-08-11 14:02:29 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-08-11 23:35:32 -0700 |
| commit | 8fd3da8ab8e7583f11f0d8d55e3e1704239aabcb (patch) | |
| tree | fd341039f7f04f3d9b7e54fed67419c9cfe71656 /meta-oe/dynamic-layers/meta-python | |
| parent | 87ce97805e48d0a0f0321c117545caf80458c3ec (diff) | |
| download | meta-openembedded-8fd3da8ab8e7583f11f0d8d55e3e1704239aabcb.tar.gz | |
mozjs: specify TMPDIR
Although it is extremely rare the following type of error
can occur during configuration:
Creating `/tmp/conftest.i53clm4z.cpp` with content:
...
x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory
x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory
x86_64-wrs-linux-g++: fatal error: no input files
So, specify a local directory as TMPDIR during configuration.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python')
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb index f13a184b65..629c6524e8 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb | |||
| @@ -100,7 +100,9 @@ do_configure() { | |||
| 100 | autoconf213 --macrodir=${STAGING_DATADIR_NATIVE}/autoconf213 old-configure.in > old-configure | 100 | autoconf213 --macrodir=${STAGING_DATADIR_NATIVE}/autoconf213 old-configure.in > old-configure |
| 101 | 101 | ||
| 102 | cd ${B} | 102 | cd ${B} |
| 103 | ${S}/js/src/configure ${EXTRA_OECONF} | 103 | # use of /tmp can causes problems on heavily loaded hosts |
| 104 | mkdir -p "${B}/lcl_tmp" | ||
| 105 | TMPDIR="${B}/lcl_tmp" ${S}/js/src/configure ${EXTRA_OECONF} | ||
| 104 | 106 | ||
| 105 | # Make standard Makefile checks pass | 107 | # Make standard Makefile checks pass |
| 106 | touch ${S}/js/src/configure | 108 | touch ${S}/js/src/configure |
