#1114180 libplacebo: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1

#1114180#5
Date:
2025-09-05 18:19:36 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libplacebo, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -Dtests=true -Ddemos=false
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1 -Dtests=true -Ddemos=false
The Meson build system
Version: 1.9.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: libplacebo
Project version: 7.349.0
C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-3) 15.2.0")
C linker for the host machine: cc ld.bfd 2.45
C++ compiler for the host machine: c++ (gcc 15.2.0 "c++ (Debian 15.2.0-3) 15.2.0")
C++ linker for the host machine: c++ ld.bfd 2.45
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wincompatible-pointer-types: YES
Compiler for C supports link arguments -Wl,--exclude-libs=ALL: YES
Library m found: YES
Program python3 found: YES (/usr/bin/python3)
Run-time dependency threads found: YES
Header "pthread.h" has symbol "pthread_condattr_setclock" with dependency threads: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Library execinfo found: NO
Checking for function "backtrace_symbols" with dependency -lexecinfo: YES
Check usable header "dbghelp.h" : NO
Fetching value of define "__MINGW32__" : (undefined)
Run-time dependency shaderc found: NO (tried pkgconfig, pkgconfig, pkgconfig and system)
Library glslang-default-resource-limits found: YES
Library SPIRV found: NO
Library SPIRV found: YES
Library glslang found: YES
Library MachineIndependent found: YES
Library OSDependent found: YES
Library OGLCompiler found: NO
Library GenericCodeGen found: YES
Library SPIRV-Tools found: YES
Library SPIRV-Tools-opt found: YES
Has header "glslang/build_info.h" : YES
Check usable header "d3d11.h" : NO
Check usable header "d3d11_4.h" : NO
Check usable header "dxgi1_6.h" : NO
Run-time dependency spirv-cross-c-shared found: NO (tried pkgconfig and cmake)
Library version found: NO
Library dl found: YES
Run-time dependency vulkan found: YES 1.4.321
Header "vulkan/vulkan_core.h" has symbol "VK_VERSION_1_3" with dependency vulkan: YES
Run-time dependency lcms2 found: YES 2.16
Run-time dependency dovi found: NO (tried pkgconfig and cmake)
Run-time dependency libxxhash found: YES 0.8.3
Configuring config.h using configuration
Configuring config_internal.h using configuration
WARNING: Library target 'placebo' has 'name_prefix' set. Compilers may not find it from its '-lplacebo' linker flag in the 'libplacebo.pc' pkg-config file.
WARNING: Library target 'placebo' has 'name_prefix' set. Compilers may not find it from its '-lplacebo' linker flag in the 'libplacebo-uninstalled.pc' pkg-config file.
Run-time dependency dav1d found: NO (tried pkgconfig and cmake)
Run-time dependency libavutil found: YES 59.39.100
Run-time dependency libavcodec found: YES 61.19.101
Run-time dependency libavformat found: YES 61.7.100
Configuring include_cache_h.c using configuration
Configuring include_cache_h.cpp using configuration
Configuring include_colorspace_h.c using configuration
Configuring include_colorspace_h.cpp using configuration
Configuring include_common_h.c using configuration
Configuring include_common_h.cpp using configuration
Configuring include_dispatch_h.c using configuration
Configuring include_dispatch_h.cpp using configuration
Configuring include_dither_h.c using configuration
Configuring include_dither_h.cpp using configuration
Configuring include_dummy_h.c using configuration
Configuring include_dummy_h.cpp using configuration
Configuring include_filters_h.c using configuration
Configuring include_filters_h.cpp using configuration
Configuring include_gamut_mapping_h.c using configuration
Configuring include_gamut_mapping_h.cpp using configuration
Configuring include_gpu_h.c using configuration
Configuring include_gpu_h.cpp using configuration
Configuring include_log_h.c using configuration
Configuring include_log_h.cpp using configuration
Configuring include_opengl_h.c using configuration
Configuring include_opengl_h.cpp using configuration
Configuring include_options_h.c using configuration
Configuring include_options_h.cpp using configuration
Configuring include_renderer_h.c using configuration
Configuring include_renderer_h.cpp using configuration
Configuring include_shaders_colorspace_h.c using configuration
Configuring include_shaders_colorspace_h.cpp using configuration
Configuring include_shaders_custom_h.c using configuration
Configuring include_shaders_custom_h.cpp using configuration
Configuring include_shaders_deinterlacing_h.c using configuration
Configuring include_shaders_deinterlacing_h.cpp using configuration
Configuring include_shaders_dithering_h.c using configuration
Configuring include_shaders_dithering_h.cpp using configuration
Configuring include_shaders_film_grain_h.c using configuration
Configuring include_shaders_film_grain_h.cpp using configuration
Configuring include_shaders_icc_h.c using configuration
Configuring include_shaders_icc_h.cpp using configuration
Configuring include_shaders_lut_h.c using configuration
Configuring include_shaders_lut_h.cpp using configuration
Configuring include_shaders_sampling_h.c using configuration
Configuring include_shaders_sampling_h.cpp using configuration
Configuring include_shaders_h.c using configuration
Configuring include_shaders_h.cpp using configuration
Configuring include_swapchain_h.c using configuration
Configuring include_swapchain_h.cpp using configuration
Configuring include_tone_mapping_h.c using configuration
Configuring include_tone_mapping_h.cpp using configuration
Configuring include_utils_dolbyvision_h.c using configuration
Configuring include_utils_dolbyvision_h.cpp using configuration
Configuring include_utils_frame_queue_h.c using configuration
Configuring include_utils_frame_queue_h.cpp using configuration
Configuring include_utils_libav_h.c using configuration
Configuring include_utils_libav_h.cpp using configuration
Configuring include_utils_upload_h.c using configuration
Configuring include_utils_upload_h.cpp using configuration
Configuring include_vulkan_h.c using configuration
Configuring include_vulkan_h.cpp using configuration
Build targets in project: 33

libplacebo 7.349.0

  Optional features
    d3d11             : NO
    dovi              : YES
    gl-proc-addr      : YES
    glslang           : YES
    lcms              : YES
    libdovi           : NO
    opengl            : YES
    shaderc           : NO
    vk-proc-addr      : YES
    vulkan            : YES
    xxhash            : YES

  User defined options
    buildtype         : plain
    demos             : false
    libdir            : lib/x86_64-linux-gnu
    localstatedir     : /var
    prefix            : /usr
    python.bytecompile: -1
    sysconfdir        : /etc
    tests             : true
    wrap_mode         : nodownload

Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_365decdd2dff16c453c02932515668da73ff69eb.dat
[2/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_574c10396a90b7a32202dbae0d40234076df15fe.dat
[3/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_6805ee0a3206fb4c357b8b4bfead71e6883acc68.dat
[4/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_2cf543a142ccc23a13e2652087f769b2f7721be0.dat
[5/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_23dfa572ab6a744ca76fde7d32016fd67caabfd0.dat
[6/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_cb45c0daca979dd33b3d929d5b6c161432cbb979.dat
[7/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_4d200f1e108077924b9e64aba240cf5b8317a579.dat
[8/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_139508c728762091df5a6571f1594dd799e061d8.dat
[9/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_9c402a0dcb245add84f4ab135dcb60c6a0b9cf5e.dat
[10/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_c10c6219d8dfb11669a20e8bc7e54cb8afb9bb33.dat
[11/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_03e40255d6c30b5284b6e55791ca073f79f149d2.dat
[12/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_a2c580b05da833715996f70fea669777d0af3d40.dat
[13/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_1308890d21edfb1fb529a3e75f279ddbd1fdaeac.dat
[14/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_e2d2dbe91f1f3e2f628e149dc82e82c6f6830245.dat
FAILED: src/vulkan/utils_gen.c
/usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_e2d2dbe91f1f3e2f628e149dc82e82c6f6830245.dat
while executing ['/usr/bin/python3', '../src/vulkan/utils_gen.py', '/usr/share', '', 'src/vulkan/utils_gen.c']
--- stdout ---
Found vk.xml: /usr/share/vulkan/registry/vk.xml
--- stderr --- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../src/vulkan/utils_gen.py", line 205, in <module> registry = VkXML(ET.parse(xmlfile)) File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../src/vulkan/utils_gen.py", line 50, in __init__ super().__init__(*args, **kwargs) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/xml/etree/ElementTree.py", line 527, in __init__ raise TypeError('expected an Element, not %s' % type(element).__name__) TypeError: expected an Element, not ElementTree [15/168] /usr/bin/meson --internal exe --unpickle /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/meson_exe_python3_d9cdcbf6c31e2df86443b65d3e9dee46ffee7e47.dat ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
#1114180#10
Date:
2025-09-06 10:52:40 UTC
From:
To:
Version: 7.351.0-1

This issue is fixed in 7.351.0-1.

Cheers

#1114180#15
Date:
2025-09-06 11:09:38 UTC
From:
To:
Closing FTBFS bugs when they are only fixed in experimental is misleading.

Please make an upload for unstable.

Thanks.

#1114180#20
Date:
2025-09-06 13:35:41 UTC
From:
To:
No, it's not. The BTS has version tracker for ages (even in Debian time
scales).

Cheers

#1114180#25
Date:
2025-09-06 13:41:05 UTC
From:
To:
Yes, it is misleading for anybody looking at the web page and seeing
the bug at the very end of the page and closed. Not everybody uses UDD
to get bug information, there are still human beings browsing the web
pages to get information.

For ages, "open = things to do" and "closed = nothing to do".

I have yet to see why version tracking needs to change that. The tools
are there to serve its users, not the other way around.

Thanks.

#1114180#30
Date:
2025-09-06 13:48:01 UTC
From:
To:
If anyone opens the bug, they will see the information with versions
affected by the bug at the very top. For every other tool, where open RC
bugs make a difference (auto removal, testing migraton), also
understand version this. There is nothing gained from leaving bugs that
are only fixed in experimental open.

Cheers

#1114180#35
Date:
2025-09-06 14:24:45 UTC
From:
To:
[ not sure why you decided to move to -devel, but anyway ]

Nothing gained? Visibility. You admit that the end user using the web
interface still needs to open the bug in the browser to see the
versions affected, and only then the end user would realize that there
is *still* work to do.

But this would not happen if we didn't gratuitously close the bug and
respected the traditional semantics:

open = still work to do
closed = nothing more to do

Version tracking was supposed to help people, not to make their work
more painful or to force them to jump through hoops.

But it's your package anyway, and I will respect your right to keep
the bug closed if it makes you happy. I'm just stating that as
a user of the BTS web pages, it's misleading and unhelpful to me.

Thanks.

#1114180#40
Date:
2025-09-06 14:28:47 UTC
From:
To:
Version tracking is helping here. The bug is still open in unstable and
forky. The BTS exactly tells you that. Please stop making everything
more complicated than it needs to be.

#1114180#45
Date:
2025-09-06 14:49:50 UTC
From:
To:
No, the bug is closed. There no such thing as "open in unstable".

AFAIK, the right terminology for this is to say that the bug *affects*
unstable, but there is only one open and closed thing, and it's
orthogonal to version tracking and (in this case) it's being used in
an unhelpful way.

Exactly my point. By making the traditional open/close semantics
meaningless when such thing is not strictly required by version
tracking, you are making my work as QA tester more complicated than it
needs to be.

On the other hand, if you think this open/closed thing really makes
things more complicated than they need to be, you should probably
advocate for removing such feature from the BTS completely. I'm all
for simplifying things...

Thanks.

#1114180#50
Date:
2025-09-06 15:03:28 UTC
From:
To:
You are mistaken: https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;src=libplacebo

Cheers