Bug 2164598

Summary: android-tools: FTBFS in Fedora Rawhide with GCC 13
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: android-toolsAssignee: Ivan Afonichev <ivan.afonichev>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: admiller, epel-packagers-sig, go-sig, ivan.afonichev, jeroen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/android-tools
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Beasley 2023-01-25 19:02:55 UTC
Description of problem:
Package android-tools fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
33.0.3p1-1.fc38

Steps to Reproduce:
koji build --scratch f38 android-tools-33.0.3p1-1.fc38.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/android-tools

[ 22%] Building C object vendor/CMakeFiles/libext2fs.dir/e2fsprogs/lib/ext2fs/extent.c.o
In file included from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/adb/client/file_sync_client.h:22,
                 from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/adb/client/file_sync_client.cpp:17:
/builddir/build/BUILD/android-tools-33.0.3p1/vendor/adb/file_sync_protocol.h:41:5: error: 'uint32_t' does not name a type
   41 |     uint32_t id;           // ID_STAT, et cetera.
      |     ^~~~~~~~

https://www.gnu.org/software/gcc/gcc-13/porting_to.html

Comment 1 Ben Cotton 2023-02-07 15:06:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.