git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[Question] How to fix 'static-analysis' build on Ubuntu 20.04

From
Derrick Stolee <derrickstolee@github.com>
Date
Aug 22, 2022, 15:19 UTC
Message-ID
<eb8779bc-fc41-f601-05f2-024e6bf3f316@github.com>

While preparing my latest series, I noticed that the GitHub Actions CI builds were cancelling the 'static-analysis' job because of a brownout of Ubuntu 18.04. We are recommended to upgrade to 20.04.

However, we explicitly chose 18.04 in d051ed77ee6 (.github/workflows/main.yml: run static-analysis on bionic, 2021-02-08) because coccinelle was not available in 20.04. It still isn't available since I tried the basic update and it failed [1]

[1] https://github.com/gitgitgadget/git/runs/7955077955?check_suite_focus=true#step:3:98

Does anyone have an idea of how to install coccinelle on this newer version? Should we try compiling it from source for this job? Should we consider moving off of coccinelle and onto a different tool?

Thanks, -Stolee

Next: SZEDER Gábor
Message 1 of 3 in “[Question] How to fix 'static-analysis' build on Ubuntu 20.04”
  1. Derrick StoleeAug 22, 2022
  2. SZEDER GáborAug 22, 2022
  3. Derrick StoleeAug 23, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.