build_tools
build_tools copied to clipboard
Failed to build server submodule
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my bug.
Operating System of DocumentServer
Docker
Version information
v8.0.1
Expected Behavior
Successfully built without serious warnings
Actual Behavior
Pkg converter and docservice failed with serious warning。 Warning Cannot resolve ''./' + config.get('services.CoAuthoring.server.editorDataStorage')' /build/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/sources/DocsCoServer.js Dynamic require may fail at run time, because the requested file is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option.
Warning Cannot resolve ''./' + config.get('storage.name')' /build/build_tools/out/linux_64/onlyoffice/documentserver/server/Common/sources/storage-base.js Dynamic require may fail at run time, because the requested file is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. %1: ../build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/node_modules/open/xdg-open %2: path-to-executable/xdg-open Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. %1: ../build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/node_modules/open/xdg-open %2: path-to-executable/xdg-open
Reproduction Steps
download all source code
- cd server
- make
- pkg /build/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter --targets=node16-linux -o /build/converter
Additional information
No response
Hello @JiffyChen, You can compile using build_tools, the guide is here. But its brocken right now #807.
This issue was closed due no response.