#1149493 u-boot: FTBFS: FATAL ERROR: Unrecognized check name "graph_child_address"

Package:
src:u-boot
Source:
src:u-boot
Submitter:
Santiago Vila
Date:
2026-10-04 04:51:03 UTC
Severity:
normal
Tags:
#1149493#5
Date:
2026-09-29 23:07:17 UTC
From:
To:
Dear maintainer:

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

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

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

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 cannot 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:u-boot, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  cp u-boot-nodtb.bin u-boot.bin
  powerpc-linux-gnu-objdump -t u-boot > u-boot.sym
make -f /<<PKGBUILDDIR>>/scripts/Makefile.build obj=dts dtbs
make -f /<<PKGBUILDDIR>>/scripts/Makefile.build obj=arch/powerpc/dts dtbs
  mkdir -p arch/powerpc/dts/ ; (cat /<<PKGBUILDDIR>>/arch/po [too-long-redacted] powerpc/dts/.qemu-ppce500.dtb.d
FATAL ERROR: Unrecognized check name "graph_child_address"
Check /<<PKGBUILDDIR>>/debian/build/qemu-ppce500/arch/powerpc/dts/.qemu-ppce500.dtb.pre.tmp for errors
make[5]: *** [scripts/Makefile.lib:423: arch/powerpc/dts/qemu-ppce500.dtb] Error 1
make[4]: *** [/<<PKGBUILDDIR>>/dts/Makefile:60: arch-dtbs] Error 2
make[3]: *** [/<<PKGBUILDDIR>>/Makefile:1179: dts/dt.dtb] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/qemu-ppce500'
make[2]: *** [Makefile:177: sub-make] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 INSTALL="install --strip-program=true" V=1 HOSTCFLAGS="-g -ffile-prefix-map=/<<PKGBUILDDIR>>=." O=debian/build/qemu-ppce500 CROSS_COMPILE=powerpc-linux-gnu- returned exit code 2
make[1]: *** [debian/rules:122: qemu-ppce500] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:66: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149493#10
Date:
2026-10-03 21:27:25 UTC
From:
To:
device-tree-compiler upstream 1.8.0 droped support for this check in
commit cba90ce82064ad1e6d25f20d8eaa940bd2fc97ed and device-tree-compiler
was updated in unstable to 1.8.1 from 1.7.x in August.

Hunting for a fix or workaround...

live well,
  vagrant

#1149493#15
Date:
2026-10-04 03:28:05 UTC
From:
To:
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 122c8e78204..ef45e59132d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -354,10 +354,10 @@ DTC_FLAGS += -Wno-interrupt_provider
 # Disable noisy checks by default
 ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
 DTC_FLAGS += -Wno-unit_address_vs_reg \
+       -Eno-node_name_not_empty \
        -Wno-unit_address_format \
        -Wno-avoid_unnecessary_addr_size \
        -Wno-alias_paths \
-       -Wno-graph_child_address \
        -Wno-simple_bus_reg \
        -Wno-unique_unit_address \
        -Wno-pci_device_reg

This is enough to get it past the reported issue (at least for arch:all
and arch:amd64).

There are some other issues for arm64 and riscv64, and for those I am
thinking best to get up-to-date with upstream u-boot (2026.10 is
scheduled to release in a few days).

live well,
  vagrant

#1149493#20
Date:
2026-10-04 04:49:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
u-boot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149493@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated u-boot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 03 Oct 2026 21:25:01 -0700
Source: u-boot
Architecture: source
Version: 2026.10~rc5-1
Distribution: experimental
Urgency: medium
Maintainer: Vagrant Cascadian <vagrant@debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1149493
Changes:
 u-boot (2026.10~rc5-1) experimental; urgency=medium
 .
   * New upstream release candidate.
   * debian/patches: Refresh patches for v2026.10-rc5.
   * debian/patches: Disable dtc warning for graph_child_address.
     (Closes: #1149493)
   * debian/targets.mk: Drop support for am335x_boneblack.
   * debian/control: Build-Depends-Arch: Require libgnutls28-dev:native
     when cross building to riscv64.
   * debian/patches: Avoid errors when node name is empty.
   * debian/targets.mk: Temporarily drop support for am64x_evm_r5.
   * debian/control: Drop Priority field.
   * debian/control: Drop Rules-Requires-Root field.
   * debian/control: Update to debhelper-compat 14.
   * debian/control: Update to Standards-Version 4.7.4.
Checksums-Sha1:
 f63cd82ad89676f689405da24b32f97986a0f183 3460 u-boot_2026.10~rc5-1.dsc
 93e89f5a130272599d8ba6bb0160de1634a098f4 46715303 u-boot_2026.10~rc5.orig.tar.gz
 512f2411de4c7983733efda58e131704235a0159 168752 u-boot_2026.10~rc5-1.debian.tar.xz
 54b3fad3d1bdf8d917548180aea2afa9b9e15248 10741 u-boot_2026.10~rc5-1_amd64.buildinfo
Checksums-Sha256:
 4af93dd71d9472be67975979636d84342e55f2c1691a803718724ccc192fecda 3460 u-boot_2026.10~rc5-1.dsc
 fd7102f0a26792f89b1fe6752dd62290c6e57d36254fbf05188000c55a624666 46715303 u-boot_2026.10~rc5.orig.tar.gz
 018d767fc1ab010bff21b0a814de9f8cd1f2006563a1c416c4087a762df85001 168752 u-boot_2026.10~rc5-1.debian.tar.xz
 1a425178b1a42b7ef83421a1bd22d420217d44819fd9f8c1f591b7f5cd3ba694 10741 u-boot_2026.10~rc5-1_amd64.buildinfo
Files:
 3df6b0e93b9e40fdecbed62b0cd45d82 3460 admin optional u-boot_2026.10~rc5-1.dsc
 f3b418b5942371b85ad8212ad71e238a 46715303 admin optional u-boot_2026.10~rc5.orig.tar.gz
 ead68b22060e50ae6b83a78d0c21c2a6 168752 admin optional u-boot_2026.10~rc5-1.debian.tar.xz
 9a32f299e73d010382ae9b4a9cdd3a89 10741 admin optional u-boot_2026.10~rc5-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCasHZpxMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaq6UQBAIMOGnDw5e6K9U7L+YeEnMm2mPf76uO0
smMpf21vr2dNAQCyipgyW5Ci8LTqxuLVR6lUrVn59KtcYQN25mdiVpGxCQ==
=Yxr6
-----END PGP SIGNATURE-----