Article View: linux.debian.bugs.rc
Article #3196Bug#1154027: android-platform-tools: FTBFS on 64-bit architectures due to __le64 typedef conflict in squashfs_fs.h
From: 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==--
Technical Details
Message-ID:
<NZFv3-c1dz-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Viktor Pashaiev <w.paszajew@gmail.com>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1154027: android-platform-tools: FTBFS on 64-bit architectures due to __le64 typedef conflict in squashfs_fs.h
Date: Sun, 15 Nov 2026 11:20:01 +0100
Message-ID: <NZFv3-c1dz-7@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sun Nov 15 10:17:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.547
Reply-To: Viktor Pashaiev <w.paszajew@gmail.com>, 1154027@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: android-tools-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1154027
X-Debian-Pr-Package: android-platform-tools
X-Debian-Pr-Keywords: ftbfs patch
X-Debian-Pr-Source: android-platform-tools
X-Gm-Message-State: APuU4Z9jroyJcyejhvvenZ+d4onOeZs21xHB8sUFfc0L5Tt/dM51DeQO
fXpAR6yHUA3dt3NSWSmOADtg9JWB8dCgCalWZ7UvbdJ2Sd5RaQXoS9wXStJ+jzONefY=
X-Gm-Gg: AYBFou1dW4Xc/R9hyqSLro0BohMz9yDdiKPMDL7cdGrbKM6OB8jYkER5DyD4bO7smsq
Yx/5k2S7CDUNMaFPEfyKbQX2cGothej7rygS3P/IJYU8I68jnkeXoYLcD5omVDF5sMva47R+N0P
kx8tpJBgrDpTRcmvKL0hfrdvpI0uf7RycVsMvrorIsSv7hWvJy1LmsBVbxUUV2ZnqnXDParOl5O
fOpz6ao5rn2QOUzcVdbEMCFK++bftAvUI7rl4P6pP6+udOpwps1Qcu9nwFWKCX8OM48l3yCD+dU
Ejg6EDbF6I4azdDZ1frFz2IqzW13Hv1FvG/0wzh0C6e6TUr2GacoJrGU803PJTq+jifPivIUIlb
dqMjOMi2+bhA2DNHzTg40NVb6093iQSMfjxNFkdhnOcO4Z+JJlEZ+kPEPSzK9lXKX0XSQ3v2iPe
HXrLJix4yB5KFJAELlqeogDH05RqZbmZAkMRb2hOXVLm47IjrYv9nz6nk+QnBvXbTOry9iai42C
PzeBc7ty0LdzJCHZpNxWuP0tt80lZAk4vrrv1piWzWdsrT1coXidPFzd+GnNotIcZ5Z/F6C3pYi
IBVAZRllE7gqFq5LGDPMRf0H7uyqXYZjkd/kxRpycQ44dJExyzioya4LuRLdmt0KYREuSf9z6B1
8YZdVLsSg
X-Received: by 2002:a05:600c:c4a3:b0:4a1:6992:f861 with SMTP id 5b1f17b1804b1-4bb55a02932mr150571825e9.1.1794737669138;
Sun, 15 Nov 2026 02:14:29 -0800 (PST)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0176952924424452452=="
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838270
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 15 Nov 2026 11:14:27 +0100
X-Original-Message-ID: <179473766767.345022.16036200582027938952@gmail.com>