Skip to content

TOOL-30782 add python3-setuptools to build deps for resolute - #77

Merged
prakashsurya merged 1 commit into
os-upgradefrom
projects/tool-30782-resolute-build
Aug 10, 2026
Merged

prakashsurya merged 1 commit into
os-upgradefrom
projects/tool-30782-resolute-build

Conversation

@prakashsurya

Copy link
Copy Markdown

Problem

drgn fails to build on Ubuntu 26.04 (resolute) in build-packages/post-push #5:

ModuleNotFoundError: No module named 'setuptools'
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.14 --parallel=2 returned exit code 13

Resolute ships Python 3.14, which no longer bundles setuptools; it was reached implicitly on noble's 3.12.

Solution

The solution is to declare python3-setuptools in Build-Depends. Same change already landed for crash-python (#12) and savedump (#19) for the identical failure.

Note this branch is currently 60 commits behind develop (purely behind, no divergence). Patching in place deliberately, so this known fix isn't conflated with untested drift; the re-reset is worth doing separately. develop's debian/control lacks the build-dep too, so the change is needed regardless of which base it lands on.

Testing Done

Not yet built; validated by the next build-packages/post-push BUILD_POLICY=ALL run. Results on TOOL-30782.

Resolute's Python 3.14 no longer bundles setuptools, so setup.py fails during
dh_auto_clean:

  ModuleNotFoundError: No module named 'setuptools'
  dh_auto_clean: error: pybuild --clean -i python{version} -p 3.14 returned exit code 13

It was reaching setuptools implicitly on noble's 3.12. Same change already made
for crash-python and savedump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@prakashsurya
prakashsurya merged commit 8644248 into os-upgrade Aug 10, 2026
@prakashsurya
prakashsurya deleted the projects/tool-30782-resolute-build branch August 10, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant