Skip to content

Install pkg-config in builder images#9297

Open
ShahanaFarooqui wants to merge 2 commits into
ElementsProject:masterfrom
ShahanaFarooqui:repro-add-pkg-config
Open

Install pkg-config in builder images#9297
ShahanaFarooqui wants to merge 2 commits into
ElementsProject:masterfrom
ShahanaFarooqui:repro-add-pkg-config

Conversation

@ShahanaFarooqui

@ShahanaFarooqui ShahanaFarooqui commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

All three reproducible builds started failing after our last commit to pin coincurve builds from source. This is an environment gap in the repro images, not a problem with the coincurve pin itself.

coincurve==20.0.0 shipped prebuilt wheels, so nothing was ever compiled during uv sync. The git pin has no wheels, so the repro build now compiles coincurve from source, and its CMake build hard-requires pkg-config. Regular CI already installs pkg-config via .github/scripts/setup.sh, which is why PR CI passed; the repro Dockerfiles keep a separate apt list and were missing it.

Failed Action: https://github.com/ElementsProject/lightning/actions/runs/28993800082

Changelog-None.

Since we pinned coincurve to a git revision, it no longer installs from prebuilt wheels but builds from source, and coincurve's CMake build requires pkg-config. Regular CI installs it via .github/scripts/setup.sh but the repro Dockerfiles maintain their own package list and were missing it.

Changelog-None.
@ShahanaFarooqui ShahanaFarooqui marked this pull request as ready for review July 9, 2026 05:05
@ShahanaFarooqui ShahanaFarooqui requested a review from cdecker as a code owner July 9, 2026 05:05
@madelinevibes madelinevibes added this to the v26.09 milestone Jul 9, 2026
Also updated Arch linux instructions to use necessary dependencies, uv and rust

Removed python plugin instructions, they can not be generalized and this repo no
longer has any python plugins that need extra dependencies in production.
Python plugins from the plugins repo have their own documentation.

Changelog-None
@daywalker90

Copy link
Copy Markdown
Collaborator

The installation instructions also need updating. I took the liberty to update arch linux instructions as a whole, since they were horribly outdated. pkg-config command is provided by different package names, depending on the distro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants