Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build server 8.2.0 using DOCKER failed #879

Open
Inso2008 opened this issue Oct 18, 2024 · 0 comments
Open

Build server 8.2.0 using DOCKER failed #879

Inso2008 opened this issue Oct 18, 2024 · 0 comments
Assignees

Comments

@Inso2008
Copy link

Describe your problem:

Build OnlyOffice 8.2.0 according to the instructions on https://github.com/ONLYOFFICE/build_tools using DOCKER ends up with an error.

In file included from ../../src/builtins/accessors.h:9:
../../src/base/bit-field.h:43:22: error: constexpr variable 'kMax' must be initialized by a constant expression
   43 |   static constexpr T kMax = static_cast<T>(kNumValues - 1);
      |                      ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/wasm/wasm-code-manager.h:344:30: note: in instantiation of template class 'v8::base::BitField<v8::internal::wasm::WasmCode::Kind, 0, 3, unsigned char>' requested here
  344 |   using ExecutionTierField = KindField::Next<ExecutionTier, 2>;
      |                              ^
../../src/base/bit-field.h:43:29: note: integer value 7 is outside the valid range of values [0, 3] for the enumeration type 'Kind'
   43 |   static constexpr T kMax = static_cast<T>(kNumValues - 1);
      |                             ^
1 error generated.
ninja: build stopped: subcommand failed.
[git] update: desktop-sdk
[git] update: core
[git] update: document-server-integration
[git] update: sdkjs
[git] update: document-templates
[git] update: sdkjs-forms
[git] update: core-fonts
[git] update: server
[git] update: dictionaries
[git] update: onlyoffice.github.io
[git] update: web-apps
[git] update: desktop-apps
[fetch & build]: boost
delete warning [file not exist]: ./boost.data
[fetch & build]: cef
delete warning [file not exist]: ./cef_binary.7z.data
[fetch & build]: icu
[fetch & build]: openssl
delete warning [file not exist]: ./openssl.data
gn gen out.gn/linux_64 --args="v8_static_library=true is_component_build=false v8_monolithic=true v8_use_external_startup_data=false use_custom_libcxx=false treat_warnings_as_errors=false target_cpu=\"x64\" v8_target_cpu=\"x64\" is_debug=false is_clang=true use_sysroot=false"
Error (ninja): 1
install dependencies...
Node.js version cannot be less 16
Reinstall
install qt...
---------------------------------------------
build branch:
---------------------------------------------
---------------------------------------------
build modules: desktop builder server
---------------------------------------------
Error (./make.py): 1

build_tools base repo version: 8.2.0.144

Operating system: Ubuntu 22.04.5 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants