LeonardLaszlo / nw.js-armv7-binaries

NW.js ARMv7 and ARMv8 binaries and the scripts for building and running the executable.
145 stars 22 forks source link

nw50 & nw51 builds fail #43

Closed LeonardLaszlo closed 3 years ago

LeonardLaszlo commented 3 years ago
Done. Made 17724 targets from 2520 files in 16882ms
Updating projects from gyp files...
ninja: Entering directory `out/nw'
[1045/73147] ACTION //content/nw/src/api:generated_api_types_schema_generator(//build/toolchain/linux:clang_arm)
nw.MenuItem must have a namespace-level comment. This will appear on the API summary page.
[1054/73147] ACTION //content/nw/src/api:nw_api_bundle_generator_schema(//build/toolchain/linux:clang_arm)
nw.MenuItem must have a namespace-level comment. This will appear on the API summary page.
[1111/73147] ACTION //content/nw/src/api:nw_api_registration_bundle_generator_registration(//build/toolchain/linux:clang_arm)
nw.MenuItem must have a namespace-level comment. This will appear on the API summary page.
[73144/73147] SOLINK ./lib/libnw.so
FAILED: lib/libnw.so lib/libnw.so.TOC 
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="arm-linux-gnueabihf-readelf" --nm="arm-linux-gnueabihf-nm"  --sofile="./lib/libnw.so" --tocfile="./lib/libnw.so.TOC" --output="./lib/libnw.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-soname="libnw.so" -Wl,--fatal-warnings -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -Wl,--no-call-graph-profile-sort --target=arm-linux-gnueabihf -Werror -Wl,-O2 -Wl,--gc-sections -rdynamic -nostdlib++ --sysroot=../../build/linux/debian_sid_arm-sysroot -L../../build/linux/debian_sid_arm-sysroot/usr/local/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -o "./lib/libnw.so" @"./lib/libnw.so.rsp"
ld.lld: error: undefined symbol: component_updater::RegisterWidevineCdmComponent(component_updater::ComponentUpdateService*, base::OnceCallback<void ()>)
>>> referenced by nw_app_api.cc:107 (../../content/nw/src/api/nw_app_api.cc:107)
>>>               nw_browser/nw_app_api.o:(extensions::NwAppEnableComponentFunction::Run()) in archive obj/content/nw/libnw_browser.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
LeonardLaszlo commented 3 years ago

I suspect a wrong sysroot here, but I don't know how to change it.

LeonardLaszlo commented 3 years ago

Solved.