https://bugs.freedesktop.org/show_bug.cgi?id=83355
Priority: medium Bug ID: 83355 Assignee: mesa-dev@lists.freedesktop.org Summary: FTBFS: src/mesa/program/program_lexer.l:122:64: error: unknown type name 'YYSTYPE' Severity: blocker Classification: Unclassified OS: Linux (All) Reporter: k...@dev.carbon-project.org Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Mesa core Product: Mesa Created attachment 105562 --> https://bugs.freedesktop.org/attachment.cgi?id=105562&action=edit buildlog showing the FTBFS When trying to build Mesa from Git master (d571f2b15d), I get: > libtool: compile: gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" > -DPACKAGE_VERSION=\"10.4.0-devel\" "-DPACKAGE_STRING=\"Mesa 10.4.0-devel\"" > "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" > -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\" > 10.4.0-devel\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWA > P32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 > -DHAVE_PTHREAD=1 -I. -I../../../../src/mesa -DUSE_EXTERNAL_DXTN_LIB=1 > -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_SSE41 -DTEXTURE_FLOAT_ENABLED > -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_US > E_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING > -DGLX_USE_TLS -DHAVE_PTHREAD -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE > -DHAVE_LLVM=0x0306 -DLLVM_VERSION_PATCH=0 -I../../../../include > -I../../../../src -I../../../../src/glsl -I../../src/glsl > -I../../../../src/glsl > /glcpp -I../../../../src/mesa -I../../src/mesa -I../../../../src/mesa/main > -I../../src/mesa/main -I../../../../src/mapi -I../../src/mapi > -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary > -I./x86-64 -I../../../../src/mesa/x86-64 -D_FORTIFY_SOURCE=2 -I/usr/lib/llv > m-3.6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS > -D__STDC_LIMIT_MACROS -fvisibility=hidden -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wall -Wall -std=c99 > -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-a > liasing -fno-builtin-memcmp -MT lex.yy.lo -MD -MP -MF .deps/lex.yy.Tpo -c > ../../src/mesa/program/lex.yy.c -fPIC -DPIC -o .libs/lex.yy.o > ../../../../src/mesa/program/program_lexer.l:122:64: error: unknown type name > 'YYSTYPE' > handle_ident(struct asm_parser_state *state, const char *text, YYSTYPE *lval) > ^ > ../../src/mesa/program/lex.yy.c:1226:5: error: unknown type name 'YYSTYPE' > YYSTYPE * yylval_r; > ^ > ../../src/mesa/program/lex.yy.c:1277:1: error: unknown type name 'YYSTYPE' > YYSTYPE * _mesa_program_lexer_get_lval (yyscan_t yyscanner ); > ^ > ../../src/mesa/program/lex.yy.c:1279:36: error: unknown type name 'YYSTYPE' > void _mesa_program_lexer_set_lval (YYSTYPE * yylval_param ,yyscan_t > yyscanner ); > ^ > ../../src/mesa/program/lex.yy.c:1398:17: error: unknown type name 'YYSTYPE' > (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t > yyscanner); > ^ > ../../src/mesa/program/lex.yy.c:1401:17: error: unknown type name 'YYSTYPE' > (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t > yyscanner) > ^ > ../../src/mesa/program/lex.yy.c:1421:1: note: in expansion of macro 'YY_DECL' > YY_DECL > ^ > ../../src/mesa/program/lex.yy.c:3475:1: error: unknown type name 'YYSTYPE' > YYSTYPE * _mesa_program_lexer_get_lval (yyscan_t yyscanner) > ^ > ../../src/mesa/program/lex.yy.c:3481:36: error: unknown type name 'YYSTYPE' > void _mesa_program_lexer_set_lval (YYSTYPE * yylval_param , yyscan_t > yyscanner) > ^ > ../../src/mesa/program/lex.yy.c:2773:26: warning: 'yy_get_previous_state' > defined but not used [-Wunused-function] > static yy_state_type yy_get_previous_state (yyscan_t yyscanner) > ^ > ../../src/mesa/program/lex.yy.c:2806:26: warning: 'yy_try_NUL_trans' defined > but not used [-Wunused-function] > static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , > yyscan_t yyscanner) > ^ > ../../src/mesa/program/lex.yy.c:2638:12: warning: 'yy_get_next_buffer' > defined but not used [-Wunused-function] > static int yy_get_next_buffer (yyscan_t yyscanner) > ^ > ../../../../src/mesa/program/program_lexer.l:80:1: warning: 'mask_from_char' > defined but not used [-Wunused-function] > mask_from_char(char c) > ^ > ../../../../src/mesa/program/program_lexer.l:101:1: warning: 'swiz_from_char' > defined but not used [-Wunused-function] > swiz_from_char(char c) > ^ > ../../src/mesa/program/lex.yy.c:2831:17: warning: 'yyunput' defined but not > used [-Wunused-function] > static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner) The entire build log is attached to this bug. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev