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

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

Closed
Aima09 opened this issue May 17, 2024 · 2 comments

Comments

@Aima09
Copy link

Aima09 commented May 17, 2024

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

@igwyd
Copy link
Member

igwyd commented May 22, 2024

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

@Aima09
Copy link
Author

Aima09 commented May 22, 2024

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

@Aima09 Aima09 closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
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