Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 890704

Summary: dev-util/android-tools-33.0.3-r1: /var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:1:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
Product: Gentoo Linux Reporter: HougeLangley <hougelangley1987>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build_log
emerge --info

Description HougeLangley 2023-01-13 15:29:51 UTC
[31mFAILED: [0mvendor/CMakeFiles/libadb.dir/adb/client/file_sync_client.cpp.o 
/usr/sbin/x86_64-pc-linux-gnu-g++ -DADB_HOST=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3_build/vendor -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/base/libs/androidfw/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/boringssl/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/crypto/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/pairing_auth/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/pairing_connection/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/tls/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/core/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/core/libcrypto_utils/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/core/libcutils/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/libbase/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/libziparchive/include -I/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/native/include  -march=skylake -O2 -pipe -Wno-attributes -std=gnu++20 -MD -MT vendor/CMakeFiles/libadb.dir/adb/client/file_sync_client.cpp.o -MF vendor/CMakeFiles/libadb.dir/adb/client/file_sync_client.cpp.o.d -o vendor/CMakeFiles/libadb.dir/adb/client/file_sync_client.cpp.o -c /var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/client/file_sync_client.cpp
In file included from /var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/client/file_sync_client.h:22,
                 from /var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/client/file_sync_client.cpp:17:
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:41:5: error: ‘uint32_t’ does not name a type
   41 |     uint32_t id;           // ID_STAT, et cetera.
      |     ^~~~~~~~
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:1:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  +++ |+#include <cstdint>
    1 | /*
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:42:5: error: ‘uint32_t’ does not name a type
   42 |     uint32_t path_length;  // <= 1024
      |     ^~~~~~~~
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:42:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:47:5: error: ‘uint32_t’ does not name a type
   47 |     uint32_t id;
      |     ^~~~~~~~
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:47:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/dev-util/android-tools-33.0.3-r1/work/android-tools-33.0.3/vendor/adb/file_sync_protocol.h:48:5: error: ‘uint32_t’ does not name a type
   48 |     uint32_t mode;
      |     ^~~~~~~~
...

Reproducible: Always
Comment 1 HougeLangley 2023-01-13 15:30:32 UTC
Created attachment 848382 [details]
build_log
Comment 2 HougeLangley 2023-01-13 15:30:46 UTC
Created attachment 848384 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-13 15:41:39 UTC

*** This bug has been marked as a duplicate of bug 875575 ***