Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build
@ 2019-09-11  9:50 bugzilla at busybox.net
  2019-09-11 13:26 ` [Buildroot] [Bug 12211] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-11  9:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

            Bug ID: 12211
           Summary: host-nodejs 10.15.3 package fail to build
           Product: buildroot
           Version: 2019.08
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: mirko.guenther at herrmannultraschall.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I try to upgrade from 2019.02 to current 2019.08

While rebuild our image I get following error:

make: Leaving directory
'/home/herrmann/mguenther/git/ultrax_som/source/buildroot'
/usr/bin/make -j1 O=/home/herrmann/mguenther/git/ultrax_som/workspace
HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
  GEN     /home/herrmann/mguenther/git/ultrax_som/workspace/Makefile
>>> host-nodejs 10.15.3 Building
PATH="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
PKG_CONFIG="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib/pkgconfig:/home/herrmann/mguenther/git/ultrax_som/workspace/host/share/pkgconfig"
PYTHON=/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/python2
/usr/bin/make -j5 -C
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3
PATH="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
PKG_CONFIG="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib/pkgconfig:/home/herrmann/mguenther/git/ultrax_som/workspace/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/gcc"
GCC="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/gcc"
CXX="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy"
RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
CFLAGS="-O2 -I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
CXXFLAGS="-O2 -I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
LDFLAGS="-L/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib
-Wl,-rpath,/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib"
INTLTOOL_PERL=/usr/bin/perl NO_LOAD=cctest.target.mk
PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/bin:"/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
/usr/bin/make -C out BUILDTYPE=Release V=1
  touch 9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate
  touch 5ef57257ae4a186daf4f3f537e43a9099b624e72.intermediate
 
LD_LIBRARY_PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.host:/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/torque-generated;
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/torque"
../src/builtins/base.tq ../src/builtins/array.tq ../src/builtins/typed-array.tq
-o
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/torque-generated"
 
LD_LIBRARY_PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.host:/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/src/inspector/protocol
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/include/inspector;
python ../third_party/inspector_protocol/CodeGenerator.py --jinja_dir
../third_party --output_base
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/src/inspector"
--config ../src/inspector/inspector_protocol_config.json
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/torque:
error while loading shared libraries: libcrypto.so.1.1: cannot open shared
object file: No such file or directory
make[3]: *** [deps/v8/gypfiles/v8_torque.host.mk:17:
9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate] Error 127
make[3]: *** Waiting for unfinished jobs....
rm 5ef57257ae4a186daf4f3f537e43a9099b624e72.intermediate
9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate
make[2]: *** [Makefile:99: node] Error 2
make[1]: *** [package/pkg-generic.mk:241:
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/.stamp_built]
Error 2
make: *** [Makefile:23: _all] Error 2
make: Leaving directory
'/home/herrmann/mguenther/git/ultrax_som/source/buildroot'
/usr/bin/make -j1 O=/home/herrmann/mguenther/git/ultrax_som/workspace
HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
  GEN     /home/herrmann/mguenther/git/ultrax_som/workspace/Makefile
>>> host-nodejs 10.15.3 Building
PATH="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
PKG_CONFIG="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib/pkgconfig:/home/herrmann/mguenther/git/ultrax_som/workspace/host/share/pkgconfig"
PYTHON=/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/python2
/usr/bin/make -j5 -C
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3
PATH="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
PKG_CONFIG="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib/pkgconfig:/home/herrmann/mguenther/git/ultrax_som/workspace/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/gcc"
GCC="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/gcc"
CXX="/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin/ccache
/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy"
RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
CFLAGS="-O2 -I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
CXXFLAGS="-O2 -I/home/herrmann/mguenther/git/ultrax_som/workspace/host/include"
LDFLAGS="-L/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib
-Wl,-rpath,/home/herrmann/mguenther/git/ultrax_som/workspace/host/lib"
INTLTOOL_PERL=/usr/bin/perl NO_LOAD=cctest.target.mk
PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/bin:"/home/herrmann/mguenther/git/ultrax_som/workspace/host/bin:/home/herrmann/mguenther/git/ultrax_som/workspace/host/sbin:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/herrmann/mguenther/bin/hug-imx7_toolchain_current/bin"
/usr/bin/make -C out BUILDTYPE=Release V=1
  touch 9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate
  touch 5ef57257ae4a186daf4f3f537e43a9099b624e72.intermediate
 
LD_LIBRARY_PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.host:/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/torque-generated;
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/torque"
../src/builtins/base.tq ../src/builtins/array.tq ../src/builtins/typed-array.tq
-o
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/torque-generated"
 
LD_LIBRARY_PATH=/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.host:/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/src/inspector/protocol
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/include/inspector;
python ../third_party/inspector_protocol/CodeGenerator.py --jinja_dir
../third_party --output_base
"/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/obj/gen/src/inspector"
--config ../src/inspector/inspector_protocol_config.json
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/out/Release/torque:
error while loading shared libraries: libcrypto.so.1.1: cannot open shared
object file: No such file or directory
make[3]: *** [deps/v8/gypfiles/v8_torque.host.mk:17:
9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate] Error 127
make[3]: *** Waiting for unfinished jobs....
rm 5ef57257ae4a186daf4f3f537e43a9099b624e72.intermediate
9b91b8399d0425b0abf357d4e70a91e21353f367.intermediate
make[2]: *** [Makefile:99: node] Error 2
make[1]: *** [package/pkg-generic.mk:241:
/home/herrmann/mguenther/git/ultrax_som/workspace/build/host-nodejs-10.15.3/.stamp_built]
Error 2
make: *** [Makefile:23: _all] Error 2

check for the mentioned shared library shows it's already in place:

find -iname "libcrypto.so*"
./workspace/target/usr/lib/libcrypto.so
./workspace/target/usr/lib/libcrypto.so.1.1
./workspace/host/arm-hug-linux-gnueabihf/sysroot/usr/lib/libcrypto.so
./workspace/host/arm-hug-linux-gnueabihf/sysroot/usr/lib/libcrypto.so.1.1
./workspace/host/lib/libcrypto.so
./workspace/host/lib/libcrypto.so.1.1
./workspace/build/host-libopenssl-1.1.1c/libcrypto.so
./workspace/build/host-libopenssl-1.1.1c/libcrypto.so.1.1
./workspace/build/libopenssl-1.1.1c/libcrypto.so
./workspace/build/libopenssl-1.1.1c/libcrypto.so.1.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
@ 2019-09-11 13:26 ` bugzilla at busybox.net
  2019-09-11 13:26 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-11 13:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
We are seeing the same problem in the autobuilders (on one machine):
http://autobuild.buildroot.net/results/57d/57d3f2fb2c0303c338b03a407420b1e1740ccb9a/build-end.log.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
  2019-09-11 13:26 ` [Buildroot] [Bug 12211] " bugzilla at busybox.net
@ 2019-09-11 13:26 ` bugzilla at busybox.net
  2019-09-17 20:02 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-11 13:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |martin at barkynet.com
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
  2019-09-11 13:26 ` [Buildroot] [Bug 12211] " bugzilla at busybox.net
  2019-09-11 13:26 ` bugzilla at busybox.net
@ 2019-09-17 20:02 ` bugzilla at busybox.net
  2019-11-27 20:38 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-17 20:02 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
Looks like it gets linked with our host-openssl, but the RPATH is missing...

We try to fix this by explicitly adding the rpath in nodejs.mk (cfr. commit
2ebc2219d5716f81789f29dcbb6b05d0c9d886dd), but unfortunately that is apparently
too late because torque does get used during the build of host-nodejs itself...

Short of fixing the horrible nodejs build system, I can't think of an easy way
to get around this issue :-/

Oh, hang on: the call to torque seems to set LD_LIBRARY_PATH to
$(HOST_NODEJS_BUILDDIR)/out/Release/lib.host. So we can copy/symlink the
openssl libraries to that directory before the build...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-09-17 20:02 ` bugzilla at busybox.net
@ 2019-11-27 20:38 ` bugzilla at busybox.net
  2019-11-28 19:41 ` bugzilla at busybox.net
  2019-11-28 19:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27 20:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I have submitted a fix at https://patchwork.ozlabs.org/patch/1201814/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-11-27 20:38 ` bugzilla at busybox.net
@ 2019-11-28 19:41 ` bugzilla at busybox.net
  2019-11-28 19:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 19:41 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=f4abcbe112a0a45b87545f32981be87212116e94

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12211] host-nodejs 10.15.3 package fail to build
  2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-11-28 19:41 ` bugzilla at busybox.net
@ 2019-11-28 19:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 19:41 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12211

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-28 19:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11  9:50 [Buildroot] [Bug 12211] New: host-nodejs 10.15.3 package fail to build bugzilla at busybox.net
2019-09-11 13:26 ` [Buildroot] [Bug 12211] " bugzilla at busybox.net
2019-09-11 13:26 ` bugzilla at busybox.net
2019-09-17 20:02 ` bugzilla at busybox.net
2019-11-27 20:38 ` bugzilla at busybox.net
2019-11-28 19:41 ` bugzilla at busybox.net
2019-11-28 19:41 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox