Created attachment 643550 [details] build log xz-compressed I get a strange error when trying to build android-tools Thanks for a hint what's going on. [82/244] x86_64-pc-linux-gnu-g++ -std=gnu++17 -march=native -O3 -maes -mavx -mavx2 -mf16c -mfma -mmmx -mpclmul -mpopcnt -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4a -mssse3 -pipe -std=c++17 -DFASTBOOT_VERSION="\"9.0.0_r3\"" -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -DUSE_F2FS -Icore/base/include -Icore/include -Icore/adb -Icore/libsparse/include -Icore/mkbootimg -Iextras/ext4_utils/include -Iextras/f2fs_utils -Icore/libziparchive/include -Icore/mkbootimg/include/bootimg -c core/fastboot/protocol.cpp -o core/fastboot/protocol.cpp.o FAILED: core/fastboot/protocol.cpp.o x86_64-pc-linux-gnu-g++ -std=gnu++17 -march=native -O3 -maes -mavx -mavx2 -mf16c -mfma -mmmx -mpclmul -mpopcnt -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4a -mssse3 -pipe -std=c++17 -DFASTBOOT_VERSION="\"9.0.0_r3\"" -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -DUSE_F2FS -Icore/base/include -Icore/include -Icore/adb -Icore/libsparse/include -Icore/mkbootimg -Iextras/ext4_utils/include -Iextras/f2fs_utils -Icore/libziparchive/include -Icore/mkbootimg/include/bootimg -c core/fastboot/protocol.cpp -o core/fastboot/protocol.cpp.o core/fastboot/protocol.cpp: In function 'int fb_download_data_sparse_write(void*, const void*, int)': core/fastboot/protocol.cpp:30:8: error: 'typeof' was not declared in this scope 30 | ({ typeof(a) _a = (a); typeof(b) _b = (b); _a - (_a % _b); }) | ^~~~~~ core/fastboot/protocol.cpp:303:20: note: in expansion of macro 'round_down' 303 | to_write = round_down(len, TRANSPORT_BUF_SIZE); | ^~~~~~~~~~ core/fastboot/protocol.cpp:30:48: error: '_a' was not declared in this scope 30 | ({ typeof(a) _a = (a); typeof(b) _b = (b); _a - (_a % _b); }) | ^~ core/fastboot/protocol.cpp:303:20: note: in expansion of macro 'round_down' 303 | to_write = round_down(len, TRANSPORT_BUF_SIZE); | ^~~~~~~~~~ core/fastboot/protocol.cpp:30:59: error: '_b' was not declared in this scope 30 | ({ typeof(a) _a = (a); typeof(b) _b = (b); _a - (_a % _b); }) | ^~ core/fastboot/protocol.cpp:303:20: note: in expansion of macro 'round_down' 303 | to_write = round_down(len, TRANSPORT_BUF_SIZE); | ^~~~~~~~~~ core/fastboot/protocol.cpp:30:5: error: void value not ignored as it ought to be 30 | ({ typeof(a) _a = (a); typeof(b) _b = (b); _a - (_a % _b); }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/fastboot/protocol.cpp:303:20: note: in expansion of macro 'round_down' 303 | to_write = round_down(len, TRANSPORT_BUF_SIZE); | ^~~~~~~~~~
Created attachment 643552 [details] emerge --info output The ebuild is in my local overlay, the only difference beeing PYTHON_COMPAT=( python3_{7,8} )
I've just checked that the errors occurs with kernel 5.6.16, as well