As a reminder: This preview is not a full platform update and only for reference.
It is not expected that everything will build, as it only contains updates to some projects. For this breakage in particular, you'll need a change like this one, which fixes up a bunch of things around how mesa was using flex/bison: https://android-review.googlesource.com/c/platform/external/mesa3d/+/1203548 - Dan On Mon, Mar 30, 2020 at 7:58 AM Michael Goffioul <[email protected]> wrote: > I'm experimenting with android-r-preview-2 and found a problem compiling > mesa, which didn't occur with android-10. The error occurs when running > flex: > > 23:56:24 Disallowed PATH tool "m4" used: []string{"m4", "-P"} > 23:56:24 See > https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools > for more information. > [ 0% 1/74788] Mesa Lex: libmesa_glsl <= > external/mesa/src/compiler/glsl/glcpp/glcpp-lex.l > FAILED: > out/target/product/x86/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/glcpp/glcpp-lex.c > /bin/bash -c "prebuilts/build-tools/linux-x86/bin/flex --nounistd > -oout/target/product/x86/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/glcpp/glcpp-lex.c > external > /mesa/src/compiler/glsl/glcpp/glcpp-lex.l" > "m4" is not allowed to be used. See > https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools > for more information. > > From what I understand, flex internally calls "m4" (according to this > reference: > https://www.cs.virginia.edu/~cr4bd/flex-manual/M4-Dependency.html). > > Any pointer in the right direction would be appreciated, thanks. > > Michael. > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/CAB-99LtxMUAWGZG2SbnjKB0iOiNAQV5R5oZP%2BHaUaeeW%3D1LZMA%40mail.gmail.com > <https://groups.google.com/d/msgid/android-building/CAB-99LtxMUAWGZG2SbnjKB0iOiNAQV5R5oZP%2BHaUaeeW%3D1LZMA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHd%3DKLk8dSES94QAgJqgre99PrGJKBiBLwHSOOAcwudSeZg%40mail.gmail.com.
