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

Re: [rfh] where is coccinelle these days on Ubuntu?

From
Taylor Blau <me@ttaylorr.com>
Date
Feb 5, 2021, 01:53 UTC
Message-ID
<YBylBKMG4G4dbiOW@nand.local>
In-Reply-To
<xmqqeehv2t71.fsf@gitster.c.googlers.com>
On Thu, Feb 04, 2021 at 05:34:42PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
> This is probably something that is very obvious for GitHub folks or
> a debian person, but does anybody know what made it suddenly wrong
> that we have been doing to obtain coccinelle?
>
> https://github.com/git/git/runs/1835560289?check_suite_focus=true#step:3:108

Not obvious to me, but I did happen to notice it last night when waiting on some workflows to finish on ttaylorr/git.

From a quick search, it looks like coccinelle was moved to the "universe" repository, at least in the Azure mirrors (which is what GitHub Actions uses):

    http://azure.archive.ubuntu.com/ubuntu/pool/universe/c/coccinelle/

I just pushed the patch below the scissors line to my fork, and I'll watch the static analysis build to see if it works again:

    https://github.com/ttaylorr/git/actions/runs/539049631
--- >8 ---
Subject: [PATCH] ci/install-dependencies.sh: install coccinelle from universe

The apt package "coccinelle" moved to the universe repository in the package mirrors that are used by GitHub Actions. This causes coccinelle to be reported as missing, since it is no longer available in the main repository.

Since universe isn't sourced by default, add it as an apt repository before updating and installing coccinelle.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
---
 ci/install-dependencies.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index 0b1184e04a..0350538d52 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -61,6 +61,7 @@ osx-clang|osx-gcc)
 	esac
 	;;
 StaticAnalysis)
+	sudo add-apt-repository universe
 	sudo apt-get -q update
 	sudo apt-get -q -y install coccinelle libcurl4-openssl-dev libssl-dev \
 		libexpat-dev gettext make
--
2.30.0.667.g81c0cbc6fd
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 5 in “[rfh] where is coccinelle these days on Ubuntu?”
  1. Junio C HamanoFeb 5, 2021
  2. Taylor BlauFeb 5, 2021
  3. Junio C HamanoFeb 6, 2021
  4. Taylor BlauFeb 8, 2021
  5. Junio C HamanoFeb 10, 2021

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.