-
Hi There, Former Semmle / GitHub employee here 👋 I'm currently doing some demonstration / evaluation work on a Java 11 codebase that is build using gradle. I'm using the CodeQL CLI on a new Macbook Pro with an M1 Pro, and creating the database with A bit more information:
I imagine that there's something strange going on here with CodeQL's instrumentation of the build, but I'm scratching my head as to what. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Sam! Build tracing on M1 Macs has been a bit of a challenge, mostly due to the instrumentation needing to work with a mixed-architecture process tree. We thought we had gotten it to work with the most recent releases of CodeQL, but it is possible there are still corner cases where something goes wrong. On the other hand, it sounds a bit strange that it would be only some of the files that go missing, rather than all of them. Are the missing files scattered randomly throughout the source tree, or concentrated in particular subdirectories? The In particular, you can try grepping through If you don't find any obvious problem you can handle yourself, can you open an "issue" on this repo rather than this "discussion" (issues are easier to assign to engineering teams for looking into), and attach a zip of the log directory from a |
Beta Was this translation helpful? Give feedback.
-
Thanks @hmakholm for the pointers. Looking at the logs was very helpful. It looks like it was actually unrelated to M1 macs, and the missing files were due to use of Lombok. Following the advice on #4984 allowed me to produce a complete database. Thanks! |
Beta Was this translation helpful? Give feedback.
Thanks @hmakholm for the pointers. Looking at the logs was very helpful.
It looks like it was actually unrelated to M1 macs, and the missing files were due to use of Lombok. Following the advice on #4984 allowed me to produce a complete database. Thanks!