DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
* Building wheel...
+ meson setup TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/sources/python3-dtc-1.8.1 TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Ddefault_library=static -Dwheel-only=true --prefix TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr --bindir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin --datadir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share --includedir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/include --infodir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/info --libdir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/lib --libexecdir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/libexec --localstatedir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/var --mandir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/man --sbindir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/sbin --sharedstatedir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/com --sysconfdir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/etc --wrap-mode nodownload --native-file TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/meson.native --native-file=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/build/meson-python-native-file.ini
The Meson build system
Version: 1.11.2
Source dir: TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/sources/python3-dtc-1.8.1
Build dir: TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/build
Build type: native build
Project name: dtc
Project version: 1.8.1
C compiler for the host machine: gcc (gcc 14.2.0 "gcc (GCC) 14.2.0")
C linker for the host machine: gcc ld.bfd 2.43.1.20241111
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wcast-qual: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wsuggest-attribute=format: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Wdiscarded-qualifiers: YES 
Found pkg-config: YES (TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/pkg-config-native) 3.0.5
Run-time dependency yaml-0.1 found: YES 0.2.5
Run-time dependency valgrind found: NO  (tried pkg-config)
Program python found: YES (TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/nativepython3)
Program swig found: YES (TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/swig)
Compiler for C supports link arguments -Wl,--version-script=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/sources/python3-dtc-1.8.1/libfdt/version.lds: YES 
Compiler for C supports link arguments -Wl,--no-undefined: YES 
Compiler for C supports arguments -Wno-cast-qual: YES 
Compiler for C supports arguments -Wno-missing-prototypes: YES 
Compiler for C supports arguments -Wno-redundant-decls: YES 
Found pkg-config: YES (TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/pkg-config-native) 3.0.5
Run-time dependency python found: YES 3.14
Library dl found: YES
Program run_tests.sh found: YES (TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/sources/python3-dtc-1.8.1/tests/run_tests.sh)
Build targets in project: 79

dtc 1.8.1

  User defined options
    Native files   : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/meson.native
                     TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/build/meson-python-native-file.ini
    b_ndebug       : if-release
    b_vscrt        : md
    bindir         : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin
    buildtype      : release
    datadir        : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share
    default_library: static
    includedir     : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/include
    infodir        : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/info
    libdir         : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/lib
    libexecdir     : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/libexec
    localstatedir  : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/var
    mandir         : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/man
    prefix         : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr
    sbindir        : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/sbin
    sharedstatedir : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/com
    sysconfdir     : TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/etc
    wheel-only     : true
    wrap_mode      : nodownload

Found ninja-1.13.2 at TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/ninja
+ TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin/ninja
[1/15] Compiling C object libfdt/libfdt.a.p/fdt_empty_tree.c.o
[2/15] Compiling C object libfdt/libfdt.a.p/fdt_strerror.c.o
[3/15] Compiling C object libfdt/libfdt.a.p/fdt_check.c.o
[4/15] Compiling C object libfdt/libfdt.a.p/fdt_addresses.c.o
[5/15] Compiling C object libfdt/libfdt.a.p/fdt_wip.c.o
[6/15] Compiling C object libfdt/libfdt.a.p/fdt.c.o
[7/15] Generating version_gen.h with a custom command
[8/15] Compiling C object libfdt/libfdt.a.p/fdt_sw.c.o
[9/15] Compiling C object libfdt/libfdt.a.p/fdt_overlay.c.o
[10/15] Compiling C object libfdt/libfdt.a.p/fdt_rw.c.o
[11/15] Compiling C object libfdt/libfdt.a.p/fdt_ro.c.o
[12/15] Linking static target libfdt/libfdt.a
[13/15] Generating pylibfdt/swig with a custom command
[14/15] Compiling C object pylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p/meson-generated_.._libfdt.c.o
FAILED: [code=1] pylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p/meson-generated_.._libfdt.c.o 
gcc -Ipylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p -Ipylibfdt -I../sources/python3-dtc-1.8.1/pylibfdt -Ilibfdt -I../sources/python3-dtc-1.8.1/libfdt -ITOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -Wdiscarded-qualifiers -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -isystemTOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -DPY_SSIZE_T_CLEAN -Wno-cast-qual -Wno-missing-prototypes -Wno-redundant-decls -MD -MQ pylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p/meson-generated_.._libfdt.c.o -MF pylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p/meson-generated_.._libfdt.c.o.d -o pylibfdt/_libfdt.cpython-314-x86_64-linux-gnu.so.p/meson-generated_.._libfdt.c.o -c pylibfdt/libfdt.c
pylibfdt/libfdt.c: In function ‘_wrap_fdt_next_node’:
pylibfdt/libfdt.c:5555:20: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration]
 5555 |     depth3 = (int) PyInt_AsLong(swig_obj[2]);
      |                    ^~~~~~~~~~~~
      |                    PyLong_AsLong
pylibfdt/libfdt.c:5555:20: error: nested extern declaration of ‘PyInt_AsLong’ [-Werror=nested-externs]
pylibfdt/libfdt.c: In function ‘_wrap_fdt_get_property_by_offset’:
pylibfdt/libfdt.c:6606:19: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration]
 6606 |       resultobj = PyString_FromString(
      |                   ^~~~~~~~~~~~~~~~~~~
      |                   PyLong_FromString
pylibfdt/libfdt.c:6606:19: error: nested extern declaration of ‘PyString_FromString’ [-Werror=nested-externs]
pylibfdt/libfdt.c:6606:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 6606 |       resultobj = PyString_FromString(
      |                 ^
pylibfdt/libfdt.c: In function ‘_wrap_fdt_get_property_by_offset_w’:
pylibfdt/libfdt.c:6660:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 6660 |       resultobj = PyString_FromString(
      |                 ^
pylibfdt/libfdt.c: In function ‘_wrap_fdt_get_property’:
pylibfdt/libfdt.c:6723:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 6723 |       resultobj = PyString_FromString(
      |                 ^
pylibfdt/libfdt.c: In function ‘_wrap_fdt_get_property_w’:
pylibfdt/libfdt.c:6788:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 6788 |       resultobj = PyString_FromString(
      |                 ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
WARNING: TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/temp/run.do_compile.2747119:164 exit 1 from 'pyproject-build --no-isolation --wheel --outdir TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/dist TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/sources/python3-dtc-1.8.1 -Cbuilddir='TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/build' -Csetup-args=--prefix -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr -Csetup-args=--bindir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/bin -Csetup-args=--datadir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share -Csetup-args=--includedir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/include -Csetup-args=--infodir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/info -Csetup-args=--libdir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/lib -Csetup-args=--libexecdir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/libexec -Csetup-args=--localstatedir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/var -Csetup-args=--mandir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/share/man -Csetup-args=--sbindir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/usr/sbin -Csetup-args=--sharedstatedir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/com -Csetup-args=--sysconfdir -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/recipe-sysroot-native/etc -Csetup-args=--wrap-mode -Csetup-args=nodownload -Csetup-args=--native-file -Csetup-args=TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/meson.native'
WARNING: Backtrace (BB generated script): 
	#1: python_pep517_do_compile, TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/temp/run.do_compile.2747119, line 164
	#2: python_mesonpy_do_compile, TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/temp/run.do_compile.2747119, line 159
	#3: do_compile, TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/temp/run.do_compile.2747119, line 154
	#4: main, TOPDIR/tmp/work/x86_64-linux/python3-dtc-native/1.8.1/temp/run.do_compile.2747119, line 168

Error details

Submitted on:
10/08/26 15:49
Error type:
Recipe
Task:
do_compile
Recipe:
python3-dtc-native
Recipe version:
1.8.1-r0
Machine:
qemuarm64
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/rocky-8.10
Branch:
master-next
Commit:
08d91a7a4615b0812b2826c85b6e1dc5687e242f
Build:
#245942
Submitter:
yp-ab-rocky8-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4179
Similar errors:
1
Open a bug