Public bug reported: android-platform-tools 34.0.5-13 fails to build from source in stonking.
Regressing architectures (built before, fail now): amd64, amd64v3, arm64, riscv64. (armhf/ppc64el/s390x built successfully on 2026-07-12, before the toolchain/header change.) Build log(s): - amd64: https://launchpad.net/ubuntu/+source/android-platform-tools/34.0.5-13/+build/33389049/+files/buildlog_ubuntu-stonking-amd64.android-platform-tools_34.0.5-13_BUILDING.txt.gz - amd64v3: https://launchpad.net/ubuntu/+source/android-platform-tools/34.0.5-13/+build/33389050/+files/buildlog_ubuntu-stonking-amd64v3.android-platform-tools_34.0.5-13_BUILDING.txt.gz - arm64: https://launchpad.net/ubuntu/+source/android-platform-tools/34.0.5-13/+build/33389051/+files/buildlog_ubuntu-stonking-arm64.android-platform-tools_34.0.5-13_BUILDING.txt.gz - riscv64: https://launchpad.net/ubuntu/+source/android-platform-tools/34.0.5-13/+build/33389054/+files/buildlog_ubuntu-stonking-riscv64.android-platform-tools_34.0.5-13_BUILDING.txt.gz Diagnosis (deterministic matcher): compiler-error — /usr/include/squashfuse/squashfs_fs.h:37:19: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs '__u64' (aka 'unsigned long long')) /usr/include/linux/types.h:35:25: note: previous definition is here make[2]: *** [debian/system/extras/libext4_utils.mk:42: system/extras/squashfs_utils/squashfs_utils.o] Error 1 Root cause: clang rejects system/extras/squashfs_utils/squashfs_utils.c because <linux/types.h> is now pulled in transitively by system headers. squashfuse's fallback `typedef uint64_t __le64;` (squashfs_fs.h:37, used when HAVE_LINUX_TYPES_LE16 is undefined) then clashes with the kernel's `typedef __u64 __bitwise __le64;` on 64-bit arches. squashfuse itself is unchanged (0.5.2-0.3); the trigger is a newer glibc/linux-libc-dev header. Suggested fix (untested): add -DHAVE_LINUX_TYPES_LE16 to CPPFLAGS in debian/system/extras/libext4_utils.mk so squashfs_fs.h uses <linux/types.h> instead of its own typedefs; forward to Debian (same version 34.0.5-13 is in unstable/testing, no fix on Salsa). Alternatively, check whether 35.0.2-1~exp7 from Debian experimental builds in stonking. No existing report found in Ubuntu LP or Debian BTS. ** Affects: android-platform-tools (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs stonking update-excuse ** Tags added: ftbfs stonking update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2168910 Title: android-platform-tools 34.0.5-13 FTBFS on amd64, amd64v3, arm64, riscv64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/android-platform-tools/+bug/2168910/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
