Linux bootstrap script fails on both outdated and newish distros
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 82k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
I tried to run the bootstrap script on Lubuntu 18.04 and Debian 12 (in a VM, if it matters), but neither of them had python3.8-dev as an available package (18.04 had 3.6 and 3.7, Debian had 3.11), which prevented pycairo from building, and at that point I stopped trying to force the issue.
The deadsnakes PPA didn't help either, as I was unable to add it in the Debian VM, and it only supports Ubuntu>=20.04, not 18.04.
I eventually tried (in the Debian VM) to do everything listed in the script with python 3.11 (as well as installing the packages related to cairo itself, which would probably be good to add to the script), and it ended up working perfectly! (at least it did as far as I know, I don't currently have anything to test the ligatures, though the build succeded with no errors)
Since it will work with other python versions, could the script be changed to accomodate them?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the bootstrap script and its Python and Cairo package requirements, then reproduce the setup on Lubuntu 18.04 and Debian 12 as described. Done means the script works with the available Python versions and includes any required Cairo packages without relying on an unavailable or unsupported PPA.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100