Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Viktor Pashaiev
Sun, 15 Nov 2026 10:20
Bug#1154027: android-platform-tools: FTBFS on 64-bit architectures due to __le64 typedef conflict in squashfs_fs.h
Author: Viktor Pashaiev
Date: Sun, 15 Nov 2026 10:20
Date: Sun, 15 Nov 2026 10:20
37 lines
4264 bytes
4264 bytes
--===============0176952924424452452== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Package: android-platform-tools Version: 34.0.5-13 Severity: serious Tags: ftbfs patch User: ubuntu-devel@lists.ubuntu.com Usertags: origin-ubuntu tenacious ubuntu-patch Dear Maintainer, With glibc 2.44 and newer system headers, `<linux/types.h>` is included trans= itively when compiling `system/extras/squashfs_utils/squashfs_utils.c`. Becau= se `HAVE_LINUX_TYPES_LE16` is not defined in `debian/system/extras/libext4_ut= ils.mk`, `/usr/include/squashfuse/squashfs_fs.h` defines `typedef uint64_t __= le64;`, which conflicts with `typedef __u64 __bitwise __le64;` from `<linux/t= ypes.h>` on 64-bit architectures (`unsigned long` vs `unsigned long long`). The attached patch adds `-DHAVE_LINUX_TYPES_LE16` to `CPPFLAGS` in `debian/sy= stem/extras/libext4_utils.mk` so `squashfs_fs.h` uses `<linux/types.h>`. --===============0176952924424452452== Content-Type: text/x-diff Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="define-have-linux-types-le16.patch" MIME-Version: 1.0 LS0tIGEvZGViaWFuL3N5c3RlbS9leHRyYXMvbGliZXh0NF91dGlscy5taworKysgYi9kZWJpYW4v c3lzdGVtL2V4dHJhcy9saWJleHQ0X3V0aWxzLm1rCkBAIC0yNiw2ICsyNiw3IEBACiAgIC1EX0xB UkdFRklMRTY0X1NPVVJDRSBcCiAgIC1ERkVDX05PX0tMT0cgXAogICAtRFNRVUFTSEZTX05PX0tM T0cgXAorICAtREhBVkVfTElOVVhfVFlQRVNfTEUxNiBcCiAgIC1JL3Vzci9pbmNsdWRlL2FuZHJv aWQgXAogICAtSS91c3IvaW5jbHVkZS9zcXVhc2hmdXNlIFwKICAgLUlzeXN0ZW0vY29yZS9saWJj dXRpbHMvaW5jbHVkZSBcCg== --===============0176952924424452452==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads