• libv8 is available as shared lib in the docker but not as static libv8_monolith

    root@b3deba68dfd3:/# find / -iname "*lib*v8*" 2>/dev/null
    /usr/lib/x86_64-linux-gnu/libv8_libsampler.so
    /usr/lib/x86_64-linux-gnu/libv8_libbase.so
    /usr/lib/x86_64-linux-gnu/libv8_libplatform.so
    /usr/lib/x86_64-linux-gnu/libv8.so
    
    root@b3deba68dfd3:/# find / -iname "v8" 2>/dev/null
    /usr/include/v8
    /usr/include/nodejs/deps/v8
    /build/core/x2t/library/doctrenderer/CMakeFiles/doctrenderer.dir/js_internal/v8
    /build/core/x2t/library/doctrenderer/CMakeFiles/doctrenderer.dir/embed/v8
    /develop/core/Common/3dParty/v8
    /develop/core/DesktopEditor/doctrenderer/test/embed/external/v8
    /develop/core/DesktopEditor/doctrenderer/js_internal/v8
    /develop/core/DesktopEditor/doctrenderer/embed/v8

    DocumentServer/core/DesktopEditor/doctrenderer/CMakeLists.txt

    target_link_libraries(doctrenderer PUBLIC
        ${V8_INSTALL_DIR_ABS}/libv8_monolith.a
        graphics
        kernel
        UnicodeConverter
        kernel_network
    )

    Maybe relevant commit from 2026-03-18:

    https://github.com/Euro-Office/core/commit/88071357edb56c2e2bb54929425e0dc70b8bffaf

    Or a problem with my eo docker image.

    Edited by Sebastian Sauer
  • Did retry with a fresh checkout + new dev images using "make pull" as described at https://github.com/Euro-Office/DocumentServer/tree/main/develop

    Still exact same issue:

    root@11446c103be2:/# make web-apps
    [builds fine]
    
    root@11446c103be2:/# make sdkjs
    [builds fine]
    
    root@11446c103be2:/# make core
    ninja: error: '/v8/v8/libv8_monolith.a', needed by 'x2t/library/doctrenderer/libdoctrenderer.so', missing and no known rule to make it
    
    root@11446c103be2:/# make server
    /usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/producer.js:11
    const into_stream_1 = __importDefault(require("into-stream"));
                                          ^
    
    Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/@yao-pkg/pkg/node_modules/into-stream/index.js from /usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/producer.js not supported.
    Instead change the require of index.js in /usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/producer.js to a dynamic import() which is available in all CommonJS modules.
        at Object.<anonymous> (/usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/producer.js:11:39)
        at Object.<anonymous> (/usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/index.js:18:36)
        at Object.<anonymous> (/usr/local/lib/node_modules/@yao-pkg/pkg/lib-es5/bin.js:4:17) {
      code: 'ERR_REQUIRE_ESM'
    }
    
    Node.js v18.19.1
    make: *** [Makefile:186: server/docservice] Error 1
    
    root@11446c103be2:/# uname -a
    Linux 11446c103be2 6.19.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Mar 2026 19:20:28 +0000 x86_64 x86_64 x86_64 GNU/Linux
    
    root@11446c103be2:/# find / -iname "*lib*v8*" 2>/dev/null
    /usr/lib/x86_64-linux-gnu/libv8_libsampler.so
    /usr/lib/x86_64-linux-gnu/libv8_libbase.so
    /usr/lib/x86_64-linux-gnu/libv8_libplatform.so
    /usr/lib/x86_64-linux-gnu/libv8.so
    Edited by Sebastian Sauer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment