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

building gtk3 from gvsbuild giving error of Error: harfbuzz build failed #1020

Open
Adarsh-365 opened this issue Jul 31, 2023 · 0 comments
Open

Comments

@Adarsh-365
Copy link

Adarsh-365 commented Jul 31, 2023

gvsbuild build --clean --enable-gi --py-wheel gtk3 pygobject ### adwaita-icon-theme

i try
gvsbuild build --from-scratch --enable-gi --py-wheel gtk3 pygobject adwaita-icon-theme
still getting error

given error i face can anyone help me

(tar) Exporting harfbuzz
Building project harfbuzz (7.3.0)
[1/31] Generating src/HarfBuzz-0.0.typelib with a custom command (wrapped by meson to set PATH)
FAILED: src/HarfBuzz-0.0.typelib
"C:\Users\Batman3\AppData\Local\Programs\Python\Python311\python.exe" "C:\gtk-build\tools\meson-1.1.1\meson.py" "--internal" "exe" "--unpickle" "C:\gtk-build\build\x64\release\harfbuzz_gvsbuild-meson\meson-private\meson_exe_g-ir-compiler.exe_fd9860160d33700b239bd9273d4d40e567663143.dat"
while executing ['C:/gtk-build/gtk/x64/release/bin/../bin/g-ir-compiler.exe', 'src/HarfBuzz-0.0.gir', '--output', 'src/HarfBuzz-0.0.typelib', '--includedir=C:/gtk-build/gtk/x64/release/bin/../share/gir-1.0']
--- stdout ---

--- stderr ---
src/HarfBuzz-0.0.gir:124:37: error: Line 124, character 37: The attribute 'name' on the element 'type' must be specified
error parsing file src/HarfBuzz-0.0.gir: Line 124, character 37: The attribute 'name' on the element 'type' must be specified

[2/31] Linking target src/harfbuzz-subset.dll
Creating library src\harfbuzz-subset.lib and object src\harfbuzz-subset.exp
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\utils\builder.py", line 525, in build
if self.__build_one(p):
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\utils\builder.py", line 661, in __build_one
skip_deps = proj.build()
^^^^^^^^^^^^
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\projects\harfbuzz.py", line 42, in build
Meson.build(self)
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\utils\base_builders.py", line 58, in build
self.builder.exec_ninja(params="install", working_dir=ninja_build)
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\utils\builder.py", line 983, in exec_ninja
self.__execute(
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\site-packages\gvsbuild\utils\builder.py", line 1039, in __execute
subprocess.check_call(args, cwd=working_dir, env=env, shell=True)
File "C:\Users\Batman3\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'ninja install' returned non-zero exit status 1.
Error: harfbuzz build failed

``

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

1 participant