[buildbot] docker,worker: install g++-multilib
LEDE Commits
lede-commits at lists.infradead.org
Wed May 17 10:34:55 PDT 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/6b145dbf190c52caa1829f6dcfdc9e304552bd5a
commit 6b145dbf190c52caa1829f6dcfdc9e304552bd5a
Author: Alois Klink <alois at aloisklink.com>
AuthorDate: Wed Nov 23 17:23:48 2022 +0000
docker,worker: install g++-multilib
From [openwrt/docker at 5484951][1] (GitHub PR [#89][2]):
Node fails to cross-compile from a 64-bit build machine to 32-bit host
with the following error:
```
In file included from /usr/include/c++/8/memory:62,
from ../deps/v8/src/libplatform/default-foreground-task-runner.h:8,
from ../deps/v8/src/libplatform/default-foreground-task-runner.cc:5:
/usr/include/c++/8/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h:
No such file or directory
#include <bits/c++config.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
```
On Debian, `g++-multilib` can be installed to fix this.
[1]: https://gitlab.com/openwrt/docker/-/commit/54849510d7802028b94757051cca6d004a9ca1d1
[2]: https://github.com/openwrt/docker/pull/89
Fixes: https://github.com/openwrt/packages/issues/18476
Fixes: https://forum.openwrt.org/t/why-arent-the-node-and-node-npm-packages-available-on-arm-cortex-a9-vfpv3-d16-in-22-03-2/142722
Signed-off-by: Alois Klink <alois at aloisklink.com>
---
docker/buildworker/Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/docker/buildworker/Dockerfile b/docker/buildworker/Dockerfile
index 55babe4..09c38ee 100644
--- a/docker/buildworker/Dockerfile
+++ b/docker/buildworker/Dockerfile
@@ -18,6 +18,7 @@ RUN \
ccache \
curl \
gawk \
+ g++-multilib \
gcc-multilib \
genisoimage \
git-core \
More information about the lede-commits
mailing list