-
Notifications
You must be signed in to change notification settings - Fork 174
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 failed on Win11 while building gdk-pixbuf #1378
Comments
by the way i used |
Hi @VanderBieu, I notice that you are running Gvsbuild with pipx which is great. I also noticed that one of the last lines shows a minconda env, do you know why the build is picking up that environment as well? |
I installed pipx in that environment. But I managed to use pipx globally. Could that be source of this problem? |
I managed to get rid of the miniconda env. However I still get this failure which popped by system python. |
I have also a failure of building gdk-pixbuf on win10, as following. Could you please indicate me the reasons and solutions? I also asked gdk-pixbuf developers. The manager suggests discuss here. Thanks -- Installing: C:/gtk-build/build/x64/release/libpng-rel/lib/libpng/libpng16-relwithdebinfo.cmake (tar) Exporting gdk-pixbuf ninja: build stopped: subcommand failed. |
Hi everyone, I need help reproducing this, which means I need way more information on your setup and the commands you used to try to build GTK. What steps did you take, what else do you have installed on your system, and what did you try to build? This isn't failing for me or on the CI/CD. |
@danyeaw thanks. What I did is following the steps using Chocolatey (https://github.com/wingtk/gvsbuild). The enclosed is my version of the installations. |
@danyeaw The following is the building process. Thank you. The chinese characters in the warning message means: cannot locate the input point 'deflateSetHeader' in dynamic link database. |
Thanks @daliyou! I've seen issues in the past that we have resolved for builds failing due to locale set. Would it be possible to switch your computer to English in order to try to isolate the build failure? |
@danyeaw I have to sorry, I cannot completely change my Win 10 home language to English, even I tried different English version. |
I tried changing my computer's Language to Chinese Simplified, unfortunately, I still wasn't able to reproduce this still. Do you know why you are getting this deflateSetHeader error? |
@danyeaw Thanks for oyur efforts. I did know the exact reasons. Two possible points are my system reason and I used pip to installed gvsbuild instead of pipx. Pipx did not work on my PC. |
Is there a solution? I have the same problem and I am very distressed. |
Hi @Daltonu, do you have an Asian locale set on your computer as well? |
Hi @Daltonu, it looks like you spent quite a bit of effort troubleshooting this, so thanks for all your effort! I know it can be frustrating if things aren't working. zlib1.dll is the zlib compression library compiled for Windows. There is more information about the DLL version here: https://zlib.net/DLL_FAQ.txt. In Gvsbuild, we are building it with the zlib project. |
[155/156] Generating thumbnailer/thumbnailer with a custom command (wrapped by meson to set PATH)
FAILED: thumbnailer/gdk-pixbuf-thumbnailer.thumbnailer
"C:\Users\xxx\pipx\venvs\gvsbuild\Scripts\python.exe" "C:\gtk-build\tools\meson-1.4.1\meson.py" "--internal" "exe" "--unpickle" "C:\gtk-build\build\x64\release\gdk-pixbuf_gvsbuild-meson\meson-private\meson_exe_python.exe_dc59616020dbae91748eb1bd69d2c1f610444015.dat"
while executing ['C:\Users\xxx\pipx\venvs\gvsbuild\Scripts\python.exe', 'C:/gtk-build/build/x64/release/gdk-pixbuf/build-aux/gen-thumbnailer.py', '--printer', 'C:/gtk-build/build/x64/release/gdk-pixbuf/_gvsbuild-meson/thumbnailer/gdk-pixbuf-print-mime-types.exe', '--pixdata', 'C:/gtk-build/build/x64/release/gdk-pixbuf/_gvsbuild-meson/gdk-pixbuf/gdk-pixbuf-pixdata.exe', '--loaders', 'gdk-pixbuf/loaders.cache', '--bindir', 'C:/gtk-build/gtk/x64/release/bin', '../thumbnailer/gdk-pixbuf-thumbnailer.thumbnailer.in', 'thumbnailer/gdk-pixbuf-thumbnailer.thumbnailer']
--- stdout ---
--- stderr ---
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 527, in build
if self.__build_one(p):
^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 663, in __build_one
skip_deps = proj.build()
^^^^^^^^^^^^
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\projects\gdk_pixbuf.py", line 54, in build
Meson.build(self)
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\base_builders.py", line 56, in build
self.builder.exec_ninja(params="install", working_dir=ninja_build)
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 985, in exec_ninja
self.__execute(
File "C:\Users\xxx\pipx\venvs\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 1041, in __execute
subprocess.check_call(args, cwd=working_dir, env=env, shell=True)
File "C:\Users\xxx\miniconda3\envs\gtk\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'ninja install' returned non-zero exit status 1.
Error: gdk-pixbuf build failed
The text was updated successfully, but these errors were encountered: