* [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
@ 2020-04-29 10:18 bugzilla at busybox.net
2020-04-29 12:23 ` [Buildroot] [Bug 12826] " bugzilla at busybox.net
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-04-29 10:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
Bug ID: 12826
Summary: nodejs-12.16.1: error: 'uv_sleep' was not declared in
this scope
Product: buildroot
Version: 2020.02.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: seems.deviant at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
Unable to build nodejs-12.16.1 package due to a compilation error.
For arm target, config is following:
BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_FPU_NEON=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_NODEJS=y
And the error message is:
/home/oleksandr/buildroot-git/output/nodejs-arm/host/bin/arm-buildroot-linux-gnueabihf-g++
-o
/home/oleksandr/buildroot-git/output/nodejs-arm/build/nodejs-12.16.1/out/Release/obj.target/libnode/src/node_util.o
../src/node_util.cc '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS'
'-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNODE_ARCH="arm"'
'-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1'
'-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""'
'-DHAVE_INSPECTOR=0' '-DNODE_REPORT' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1'
'-DHAVE_OPENSSL=0' '-DHTTP_PARSER_STRICT=0' -I../src
-I/home/oleksandr/buildroot-git/output/nodejs-arm/build/nodejs-12.16.1/out/Release/obj/gen
-I../deps/histogram/src -I../deps/uvwasi/include -I../deps/v8/include
-I../deps/http_parser -I../deps/llhttp/include -I../deps/brotli/c/include
-Wall -Wextra -Wno-unused-parameter -pthread -Wall -Wextra
-Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions
-std=gnu++1y -MMD -MF
/home/oleksandr/buildroot-git/output/nodejs-arm/build/nodejs-12.16.1/out/Release/.deps//home/oleksandr/buildroot-git/output/nodejs-arm/build/nodejs-12.16.1/out/Release/obj.target/libnode/src/node_util.o.d.raw
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c
../src/node_util.cc: In function 'void node::util::Sleep(const
v8::FunctionCallbackInfo<v8::Value>&)':
../src/node_util.cc:176:3: error: 'uv_sleep' was not declared in this scope
uv_sleep(msec);
Same happens if x86_64 target arch is set:
BR2_x86_64=y
BR2_x86_steamroller=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_NODEJS=y
Compilation fails with:
/home/oleksandr/buildroot-git/output/nodejs-failure/host/bin/x86_64-buildroot-linux-gnu-g++
-o
/home/oleksandr/buildroot-git/output/nodejs-failure/build/nodejs-12.16.1/out/Release/obj.target/libnode/src/node_util.o
../src/node_util.cc '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS'
'-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNODE_ARCH="x64"'
'-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1'
'-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""'
'-DHAVE_INSPECTOR=0' '-DNODE_REPORT' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1'
'-DHAVE_OPENSSL=0' '-DHTTP_PARSER_STRICT=0'
-I/home/oleksandr/buildroot-git/output/nodejs-failure/host/x86_64-buildroot-linux-gnu/sysroot/home/oleksandr/buildroot-git/output/nodejs-failure/host/include
-I../src
-I/home/oleksandr/buildroot-git/output/nodejs-failure/build/nodejs-12.16.1/out/Release/obj/gen
-I../deps/histogram/src -I../deps/uvwasi/include -I../deps/v8/include
-I../deps/http_parser -I../deps/llhttp/include -I../deps/brotli/c/include
-Wall -Wextra -Wno-unused-parameter -pthread -Wall -Wextra
-Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti
-fno-exceptions -std=gnu++1y -MMD -MF
/home/oleksandr/buildroot-git/output/nodejs-failure/build/nodejs-12.16.1/out/Release/.deps//home/oleksandr/buildroot-git/output/nodejs-failure/build/nodejs-12.16.1/out/Release/obj.target/libnode/src/node_util.o.d.raw
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c
../src/node_util.cc: In function 'void node::util::Sleep(const
v8::FunctionCallbackInfo<v8::Value>&)':
../src/node_util.cc:176:3: error: 'uv_sleep' was not declared in this scope
uv_sleep(msec);
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
@ 2020-04-29 12:23 ` bugzilla at busybox.net
2020-04-29 18:08 ` bugzilla at busybox.net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-04-29 12:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks for the bug report. Is this with Buildroot master? Are you after commit
7d9ed0a19d8e88b56b389187c38b44563e33e5ab ? If so, could you revert
7d9ed0a19d8e88b56b389187c38b44563e33e5ab and try again ? Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
2020-04-29 12:23 ` [Buildroot] [Bug 12826] " bugzilla at busybox.net
@ 2020-04-29 18:08 ` bugzilla at busybox.net
2020-04-29 20:06 ` bugzilla at busybox.net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-04-29 18:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
--- Comment #2 from Aleksandr Makarov <seems.deviant@gmail.com> ---
Reverting the 7d9ed0a19d8e88b56b389187c38b44563e33e5ab does help to fix the
issue
so that nodejs 12.16.1 builds
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
2020-04-29 12:23 ` [Buildroot] [Bug 12826] " bugzilla at busybox.net
2020-04-29 18:08 ` bugzilla at busybox.net
@ 2020-04-29 20:06 ` bugzilla at busybox.net
2020-05-16 14:20 ` bugzilla at busybox.net
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-04-29 20:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks for testing! I have reported the issue back to the develop who
contributed the libuv update that broke nodejs. Hopefully we will have a
solution soon.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
` (2 preceding siblings ...)
2020-04-29 20:06 ` bugzilla at busybox.net
@ 2020-05-16 14:20 ` bugzilla at busybox.net
2020-05-16 14:23 ` bugzilla at busybox.net
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-05-16 14:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
So, commit 7d9ed0a19d8e88b56b389187c38b44563e33e5ab is not the culprit, I'm not
sure how it can have fixed the problem for you.
Are you sure this issue happens from a clean build ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
` (3 preceding siblings ...)
2020-05-16 14:20 ` bugzilla at busybox.net
@ 2020-05-16 14:23 ` bugzilla at busybox.net
2020-05-16 15:56 ` bugzilla at busybox.net
2020-05-17 18:52 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-05-16 14:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
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] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
` (4 preceding siblings ...)
2020-05-16 14:23 ` bugzilla at busybox.net
@ 2020-05-16 15:56 ` bugzilla at busybox.net
2020-05-17 18:52 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-05-16 15:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
--- Comment #5 from Peter Seiderer <ps.report@gmx.net> ---
Add references to the libuv/uvw version bump
(commit7d9ed0a19d8e88b56b389187c38b44563e33e5ab) mailing list discussion:
[1] http://lists.busybox.net/pipermail/buildroot/2020-April/281597.html
[2] http://lists.busybox.net/pipermail/buildroot/2020-May/281746.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12826] nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
` (5 preceding siblings ...)
2020-05-16 15:56 ` bugzilla at busybox.net
@ 2020-05-17 18:52 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2020-05-17 18:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12826
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I am sorry, but neither Peter Seiderer nor myself have been able to reproduce
the issue on 2020.02.1. I tested exactly the first defconfig you posted, and it
builds fine.
The libuv version 2020.02.1 does implement uv_sleep(), both the libuv package
and the libuv shipped with nodejs, so I don't see how your build failure could
happen.
Are you sure you did a full rebuild with 2020.02.1 ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-05-17 18:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 10:18 [Buildroot] [Bug 12826] New: nodejs-12.16.1: error: 'uv_sleep' was not declared in this scope bugzilla at busybox.net
2020-04-29 12:23 ` [Buildroot] [Bug 12826] " bugzilla at busybox.net
2020-04-29 18:08 ` bugzilla at busybox.net
2020-04-29 20:06 ` bugzilla at busybox.net
2020-05-16 14:20 ` bugzilla at busybox.net
2020-05-16 14:23 ` bugzilla at busybox.net
2020-05-16 15:56 ` bugzilla at busybox.net
2020-05-17 18:52 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.