← Back to issue list

remote-build fails with build-base devel

View original Github issue

Metadata

Project
rockcraft
Number
#1126
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Remote builds fail during Launchpad build creation with the documented build-base: devel value; the valid open report points to craft-application or Launchpad and awaits an upstream fix.

Suggested action: keep open

Reason: The report provides a complete YAML reproducer and a traceback showing failure inside craft_application's Launchpad remote-build path after the recipe is pushed. The documented devel build base is valid, and both the maintainer-authored report and later comment identify this as likely upstream, but no resolving commit or linked upstream fix exists.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 11 Complexity: 62 Confidence: 88 Actionability: 74

Issue body

### Check existing issues - [x] I've verified that this bug isn't described by any existing issues. ### Bug description Running remote-build fails when using build-base devel, with an internal error "Build request failed." This is probably a craft-application bug (and probably due to the fact that launchpad doesn't know what devel is), but I'm on a roll with other things so I'm avoiding triaging for the moment, sorry. ### Steps to reproduce run `rockcraft remote-build` with the given YAML file. ### Environment Remote build ### rockcraft.yaml ```yaml name: python-apt-wheels base: bare build-base: devel adopt-info: wheels summary: Wheels for python-apt description: Wheels for python-apt platforms: # the platforms this rock should be built on and run on amd64: arm64: armhf: ppc64el: riscv64: s390x: parts: wheels: plugin: nil build-snaps: - astral-uv build-packages: - python3.13-dev - python3.14-dev - python-apt-dev - libapt-pkg-dev override-pull: | sed -i 's/deb/deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources || sed -i 's/# deb-src/deb-src/' /etc/apt/sources.list apt-get update apt-get --yes full-upgrade override-build: | apt source python-apt export GLIBC_VERSION="$(ldd --version | grep GLIBC | cut -d' ' -f4 | cut -d- -f1 | tr . _)" export DEBVER="$(apt-cache show python3-apt|grep Version | head -n 1|cut -d' ' -f2)" craftctl set version="${DEBVER}" cd python-apt-*[0-9] for python_version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.14t; do uv venv --python=$python_version venv-$python_version VIRTUAL_ENV=venv-$python_version uv run --python=$python_version --with=setuptools setup.py bdist_wheel --plat-name "manylinux_${GLIBC_VERSION}_$(uname -m)" --dist-dir "${CRAFT_PART_INSTALL}" & VIRTUAL_ENV=venv-$python_version uv run --python=$python_version --with=setuptools setup.py sdist --dist-dir "${CRAFT_PART_INSTALL}" & done # Wait for all jobs to complete. while fg; do true; done ``` ### Log output ```shell 2026-03-06 17:58:25.810 Total 8 (delta 0), reused 0 (delta 0), pack-reused 0 2026-03-06 17:58:27.504 remote: 2026-03-06 17:58:27.505 remote: Create a merge proposal for 'main' on Launchpad by visiting: 2026-03-06 17:58:27.505 remote: https://code.launchpad.net/~lengau/lengau-craft-remote-build/+git/rockcraft-python-apt-wheels-01c4fcc12399f16978ba210b87091036/+ref/main/+register-merge 2026-03-06 17:58:27.505 remote: 2026-03-06 17:58:27.526 To https://git.launchpad.net/~lengau/lengau-craft-remote-build/+git/rockcraft-python-apt-wheels-01c4fcc12399f16978ba210b87091036 2026-03-06 17:58:27.526 + 2c1926e...ed6f88a main -> main (forced update) 2026-03-06 17:58:27.538 Trying to get rock recipe 'rockcraft-python-apt-wheels-01c4fcc12399f16978ba210b87091036' (attempt 1/6) 2026-03-06 17:58:28.386 Trying to create rock recipe 'rockcraft-python-apt-wheels-01c4fcc12399f16978ba210b87091036' (attempt 1/6) 2026-03-06 17:58:30.183 rockcraft internal error: BuildError('Build request failed') 2026-03-06 17:58:30.185 Traceback (most recent call last): 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/application.py", line 676, in run 2026-03-06 17:58:30.185 return_code = self._run_inner() 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/application.py", line 653, in _run_inner 2026-03-06 17:58:30.185 return_code = dispatcher.run() or os.EX_OK 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_cli/dispatcher.py", line 564, in run 2026-03-06 17:58:30.185 return self._loaded_command.run(self._parsed_command_args) 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/commands/base.py", line 222, in run 2026-03-06 17:58:30.185 result = self._run(parsed_args, **kwargs) or result 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/commands/remote.py", line 162, in _run 2026-03-06 17:58:30.185 builds = builder.start_builds(project_dir, **build_args) 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/services/remotebuild.py", line 138, in start_builds 2026-03-06 17:58:30.185 self._builds = list(self._new_builds(self._recipe)) 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/services/remotebuild.py", line 382, in _new_builds 2026-03-06 17:58:30.185 return recipe.build(deadline=self._deadline) 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/launchpad/models/recipe.py", line 493, in build 2026-03-06 17:58:30.185 return self._build(deadline, kwargs) 2026-03-06 17:58:30.185 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-03-06 17:58:30.185 File "/snap/rockcraft_edge/4211/lib/python3.12/site-packages/craft_application/launchpad/models/recipe.py", line 150, in _build 2026-03-06 17:58:30.185 raise errors.BuildError("Build request failed") 2026-03-06 17:58:30.185 craft_application.launchpad.errors.BuildError: Build request failed 2026-03-06 17:58:30.185 Full execution log: '/home/lengau/.local/state/rockcraft/log/rockcraft-20260306-175749.655330.log' ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 11
Complexity: 62
Confidence: 88
Actionability: 74
keep open Remote builds fail during Launchpad build creation with the documented build-base: devel value; the valid open report points to craft-application or Launchpad and awaits an upstream fix.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 17
Complexity: 40
Confidence: 70
Actionability: 70
keep open remote-build fails with BuildError when using build-base: devel because Launchpad doesn't recognize the devel base. Issue is valid, triaged by maintainers, and points to an upstream craft-application bug.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 16
Staleness: 45
Complexity: 60
Confidence: 65
Support Request: 10
keep open rockcraft remote-build fails with 'Build request failed' when using build-base: devel; maintainer suspects craft-application/Launchpad remote-build path, not Rockcraft logic.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 55
Confidence: 75
Support Request: 10
needs triage Remote build fails with Build request failed when using build-base: devel. Suspected craft-application bug due to Launchpad not recognizing devel. Unlabeled, unassigned, and awaiting upstream triage or Rockcraft-side resolution.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 55
Confidence: 85
Support Request: 15
needs triage Remote build fails with Build request failed when using build-base: devel. Suspected craft-application bug due to Launchpad not recognizing devel. Unlabelled and awaiting upstream triage or linking.
qwen3.6-35b-a3b-mtp-q6
Staleness: 68
Complexity: 52
Confidence: 78
Support Request: 8
needs triage Remote build fails with Build request failed when using build-base: devel, likely because Launchpad does not recognize the devel base. The issue is unlabelled and lacks maintainer assessment, awaiting triage to determine if it should be tracked upstream or kept open.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.