[Android-tools-devel] Bug#882975: android-tools FTBFS with glibc 2.25

Juhani Numminen juhaninumminen0 at gmail.com
Sun Dec 3 20:01:32 UTC 2017


Control: tags -1 patch

On Tue, 28 Nov 2017 11:05:03 +0200 Adrian Bunk <bunk at debian.org> wrote:> 
/build/1st/android-tools-5.1.1.r38/system/core/adb/usb_linux_client.c:38:25: 
error: initializer element is not constant
>  #define cpu_to_le32(x)  htole32(x)
>                          ^

There is a patch that makes the package build again. It can be applied 
to the current debian package.
http://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-devtools/android-tools/android-tools/fix-big-endian-build.patch

BTW, I noticed upstream git master doesn't contain the file 
adb/usb_linux_client.c anymore.
https://android.googlesource.com/platform/system/core/+/master/adb

Cheers,
Juhani



More information about the Android-tools-devel mailing list