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

build gtk4 error #1093

Open
ByteStardust opened this issue Oct 1, 2023 · 5 comments
Open

build gtk4 error #1093

ByteStardust opened this issue Oct 1, 2023 · 5 comments

Comments

@ByteStardust
Copy link

inja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\admin.local\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 529, in build
if self.__build_one(p):
^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin.local\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 665, in __build_one
skip_deps = proj.build()
^^^^^^^^^^^^
File "C:\Users\admin.local\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\projects\gtk.py", line 153, in build
Meson.build(
File "C:\Users\admin.local\pipx\venvs\gvsbuild\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\admin.local\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 987, in exec_ninja
self.__execute(
File "C:\Users\admin.local\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 1043, in __execute
subprocess.check_call(args, cwd=working_dir, env=env, shell=True)
File "C:\Program Files\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: gtk4 build failed

image

@danyeaw
Copy link
Member

danyeaw commented Oct 2, 2023

Hi @FynnFbc, is this the same issue as #1081?

@ByteStardust
Copy link
Author

The problem is different, I failed to install gtk4, but I successfully installed ninja in python

@danyeaw
Copy link
Member

danyeaw commented Oct 2, 2023

Can you translate the GTK build errors? If you switch your computer to English, are you still getting the errors?

@Clouud9
Copy link

Clouud9 commented Feb 15, 2025

Can you translate the GTK build errors? If you switch your computer to English, are you still getting the errors?

I'm still getting these errors over a year later, and my PC is English.

@danyeaw
Copy link
Member

danyeaw commented Feb 18, 2025

Hi @Clouud9, could you please provide more information about:

  1. The version of Windows you are using
  2. How you installed Gvsbuild
  3. What command you ran
  4. What error messages you got

We run Gvsbuild on CI to build GTK4 with every change committed. So we need to try to pinpoint what about your computer or set up is different so that we can reproduce it and fix the issue.

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

3 participants