Source: android-platform-system-tools-aidl Version: 1:8.1.0+r23-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200802 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > g++ aidl.cpp aidl_language.cpp ast_cpp.cpp ast_java.cpp code_writer.cpp > generate_cpp.cpp generate_java.cpp generate_java_binder.cpp > import_resolver.cpp line_reader.cpp io_delegate.cpp options.cpp type_cpp.cpp > type_java.cpp type_namespace.cpp debian/out/aidl_language_l.cpp > debian/out/aidl_language_y.cpp -o debian/out/libaidl-common.so.0 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 > -I/usr/include/android -I. -Idebian/out -Wl,-z,relro -fPIC -shared > -Wl,-soname,libaidl-common.so.0 -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android > -L/usr/lib/x86_64-linux-gnu/android -lbase > debian/out/aidl_language_l.cpp:634:5: error: ‘YYSTYPE’ does not name a type; > did you mean ‘YYSTATE’? > 634 | YYSTYPE * yylval_r; > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:636:5: error: ‘YYLTYPE’ does not name a type > 636 | YYLTYPE * yylloc_r; > | ^~~~~~~ > debian/out/aidl_language_l.cpp:685:1: error: ‘YYSTYPE’ does not name a type; > did you mean ‘YYSTATE’? > 685 | YYSTYPE * yyget_lval ( yyscan_t yyscanner ); > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:26:20: error: variable or field ‘yyset_lval’ > declared void > 26 | #define yyset_lval yyset_lval > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:687:6: note: in expansion of macro ‘yyset_lval’ > 687 | void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:687:19: error: ‘YYSTYPE’ was not declared in > this scope; did you mean ‘YYSTATE’? > 687 | void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:687:29: error: ‘yylval_param’ was not declared > in this scope > 687 | void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:687:53: error: expected primary-expression > before ‘yyscanner’ > 687 | void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); > | ^~~~~~~~~ > debian/out/aidl_language_l.cpp:689:8: error: ‘YYLTYPE’ does not name a type > 689 | YYLTYPE *yyget_lloc ( yyscan_t yyscanner ); > | ^~~~~~~ > debian/out/aidl_language_l.cpp:38:20: error: variable or field ‘yyset_lloc’ > declared void > 38 | #define yyset_lloc yyset_lloc > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:691:14: note: in expansion of macro > ‘yyset_lloc’ > 691 | void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner > ); > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:691:27: error: ‘YYLTYPE’ was not declared in > this scope > 691 | void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner > ); > | ^~~~~~~ > debian/out/aidl_language_l.cpp:691:37: error: ‘yylloc_param’ was not declared > in this scope > 691 | void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner > ); > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:691:61: error: expected primary-expression > before ‘yyscanner’ > 691 | void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner > ); > | ^~~~~~~~~ > debian/out/aidl_language_l.cpp:808:12: warning: ‘yylex’ initialized and > declared ‘extern’ > 808 | extern int yylex \ > | ^~~~~ > debian/out/aidl_language_l.cpp:809:17: error: ‘YYSTYPE’ was not declared in > this scope; did you mean ‘YYSTATE’? > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:809:27: error: ‘yylval_param’ was not declared > in this scope > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:809:41: error: ‘YYLTYPE’ was not declared in > this scope > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | ^~~~~~~ > debian/out/aidl_language_l.cpp:809:51: error: ‘yylloc_param’ was not declared > in this scope > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:809:75: error: expected primary-expression > before ‘yyscanner’ > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | > ^~~~~~~~~ > debian/out/aidl_language_l.cpp:809:84: error: expression list treated as > compound expression in initializer [-fpermissive] > 809 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner); > | > ^ > debian/out/aidl_language_l.cpp:811:21: error: redefinition of ‘int yylex’ > 811 | #define YY_DECL int yylex \ > | ^~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:808:12: note: ‘int yylex’ previously defined > here > 808 | extern int yylex \ > | ^~~~~ > debian/out/aidl_language_l.cpp:812:17: error: ‘YYSTYPE’ was not declared in > this scope; did you mean ‘YYSTATE’? > 812 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner) > | ^~~~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:812:27: error: ‘yylval_param’ was not declared > in this scope > 812 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner) > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:812:41: error: ‘YYLTYPE’ was not declared in > this scope > 812 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner) > | ^~~~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:812:51: error: ‘yylloc_param’ was not declared > in this scope > 812 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner) > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:812:75: error: expected primary-expression > before ‘yyscanner’ > 812 | (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , > yyscan_t yyscanner) > | > ^~~~~~~~~ > debian/out/aidl_language_l.cpp:832:1: note: in expansion of macro ‘YY_DECL’ > 832 | YY_DECL > | ^~~~~~~ > debian/out/aidl_language_l.cpp:2198:1: error: ‘YYSTYPE’ does not name a type; > did you mean ‘YYSTATE’? > 2198 | YYSTYPE * yyget_lval (yyscan_t yyscanner) > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:26:20: error: variable or field ‘yyset_lval’ > declared void > 26 | #define yyset_lval yyset_lval > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:2204:6: note: in expansion of macro > ‘yyset_lval’ > 2204 | void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:2204:18: error: ‘YYSTYPE’ was not declared in > this scope; did you mean ‘YYSTATE’? > 2204 | void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) > | ^~~~~~~ > | YYSTATE > debian/out/aidl_language_l.cpp:2204:29: error: ‘yylval_param’ was not > declared in this scope > 2204 | void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:2204:53: error: expected primary-expression > before ‘yyscanner’ > 2204 | void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) > | ^~~~~~~~~ > debian/out/aidl_language_l.cpp:2210:1: error: ‘YYLTYPE’ does not name a type > 2210 | YYLTYPE *yyget_lloc (yyscan_t yyscanner) > | ^~~~~~~ > debian/out/aidl_language_l.cpp:38:20: error: variable or field ‘yyset_lloc’ > declared void > 38 | #define yyset_lloc yyset_lloc > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:2216:6: note: in expansion of macro > ‘yyset_lloc’ > 2216 | void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) > | ^~~~~~~~~~ > debian/out/aidl_language_l.cpp:2216:18: error: ‘YYLTYPE’ was not declared in > this scope > 2216 | void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) > | ^~~~~~~ > debian/out/aidl_language_l.cpp:2216:29: error: ‘yylloc_param’ was not > declared in this scope > 2216 | void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) > | ^~~~~~~~~~~~ > debian/out/aidl_language_l.cpp:2216:53: error: expected primary-expression > before ‘yyscanner’ > 2216 | void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) > | ^~~~~~~~~ > make[2]: *** [debian/libaidl-common.mk:23: build] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/08/02/android-platform-system-tools-aidl_8.1.0+r23-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.