build_tools icon indicating copy to clipboard operation
build_tools copied to clipboard

Failed to build server submodule

Open JiffyChen opened this issue 11 months ago • 1 comments

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 image

Reproduction Steps

download all source code

  1. cd server
  2. make
  3. pkg /build/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter --targets=node16-linux -o /build/converter

Additional information

No response

JiffyChen avatar Mar 06 '24 10:03 JiffyChen

Hello @JiffyChen, You can compile using build_tools, the guide is here. But its brocken right now #807.

igwyd avatar May 22 '24 04:05 igwyd

This issue was closed due no response.

Rita-Bubnova avatar Aug 06 '24 08:08 Rita-Bubnova