ONLYOFFICE/build_tools

fatal error: ../../Common/3dParty/hyphen/hyphen/hnjalloc.h: No such file or directory

Aima09 opened this issue · 2 comments

I'm not sure why the file in this directory is not being compiled. How can I effectively compile it to solve this problem?

 FIG_OPTION_SYSTEM_ZLIB -DFT2_BUILD_LIBRARY -DSUPPORT_HARFBUZZ_SHAPER -DQT_NO_DEBUG -DQT_PLUGIN -I. -I../../agg-2.4/include -I../../cximage/jasper/include -I../../cximage/jpeg -I../../cximage/png -I../../../OfficeUtils/src/zlib-1.2.11 -I../../../OfficeUtils/src -I../../../Common/3dParty/html/css -I../../freetype-2.10.4/include -I../../freetype-2.10.4/include/freetype -I../../../../build_tools/tools/linux/qt_build/Qt-5.9.9/gcc_64/mkspecs/linux-g++ -o core_build/linux_64/release/obj/root/app-compile/onlyoffice-v2/core/DesktopEditor/fontengine/TextHyphen.o ../../fontengine/TextHyphen.cpp
../../fontengine/TextHyphen.cpp:39:10: fatal error: ../../Common/3dParty/hyphen/hyphen/hnjalloc.h: No such file or directory
   39 | #include "../../Common/3dParty/hyphen/hyphen/hnjalloc.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/root/app-compile/onlyoffice-v2/build_tools/../core/DesktopEditor/graphics/pro/Makefile.graphicslinux_64:10128: core_build/linux_64/release/obj/root/app-compile/onlyoffice-v2/core/DesktopEditor/fontengine/TextHyphen.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/root/app-compile/onlyoffice-v2/core/DesktopEditor/graphics/pro'
make: *** [makefiles/build.makefile_linux_64:297: sub--root-app-compile-onlyoffice-v2-core-DesktopEditor-graphics-pro-graphics-pro-make_first-ordered] Error 2
Error (make): 2
Error (./make.py): 1

build_tools base repo version:
The latest version so far [v8.1.0.118]
Operating system:
Linux version 6.8.0-31-generic (buildd@lcy02-amd64-080) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024
Compiler version:
v8.0.1

Hello @Aima09, in your log compiller cant find file:

../../Common/3dParty/hyphen/hyphen/hnjalloc.h: No such file or directory

Do you follow instraction from our readme.md?
Update: but it's brocken right now #807

Hello @Aima09, in your log compiller cant find file:

../../Common/3dParty/hyphen/hyphen/hnjalloc.h: No such file or directory

Do you follow instraction from our readme.md? Update: but it's brocken right now #807

ok,As per your instructions, I followed the process in the readme, even merged release/v8.1.0 into the master branch, and I encountered a new issue,cannot fetch the version of 8.9

1>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "remotes/branch-heads/8.9" "--no-tags"' in /root/compile/onlyoffice/core/Common/3dParty/v8_89/v8 failed; will retry after a short nap...

[0:03:30] Still working on:
[0:03:30]   v8
1>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "remotes/branch-heads/8.9" "--no-tags"' in /root/compile/onlyoffice/core/Common/3dParty/v8_89/v8 failed; will retry after a short nap...

[0:03:38] Still working on:
[0:03:38]   v8
Syncing projects: 100% ( 1/ 1) v8
v8 (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00] 
fatal: Couldn't find remote ref remotes/branch-heads/8.9
[0:01:47] fatal: Couldn't find remote ref remotes/branch-heads/8.9
[0:01:51] _____ Conflicting directory found in /root/compile/onlyoffice/core/Common/3dParty/v8_89/v8. Moving to /root/compile/onlyoffice/core/Common/3dParty/v8_89/_bad_scm/v8l32am_gu.
[0:01:51] 
[0:03:26] From https://chromium.googlesource.com/v8/v8
[0:03:26]    e46fda4..2f5780c  lkgr       -> origin/lkgr
[0:03:29] fatal: Couldn't find remote ref remotes/branch-heads/8.9
[0:03:34] fatal: Couldn't find remote ref remotes/branch-heads/8.9
----------------------------------------
Error: Command 'git -c core.deltaBaseCacheLimit=2g fetch origin remotes/branch-heads/8.9 --no-tags' returned non-zero exit status 128 in /root/compile/onlyoffice/core/Common/3dParty/v8_89/v8


Warnings:
Conflicting directory /root/compile/onlyoffice/core/Common/3dParty/v8_89/v8 moved to /root/compile/onlyoffice/core/Common/3dParty/v8_89/_bad_scm/v8l32am_gu.

Running depot tools as root is sad.
fatal: Not a git repository: ../.git/modules/core
Directory not copied
copy warning [file not exist]: v8/third_party/jinja2/tests.py
[replaceInFile] file not exist: v8/third_party/jinja2/tests.py
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"
gn.py: Could not find checkout in any parent of the current path.
This must be run inside a checkout.
Error (gn): 1
Error (./make.py): 1