← 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

rockcraft remote-build fails with 'Build request failed' when using build-base: devel; maintainer suspects craft-application/Launchpad remote-build path, not Rockcraft logic.

Suggested action: keep open

Reason: A maintainer (gcomneno) triaged the issue on 2026-03-31, confirming the failure occurs in craft_application.services.remotebuild during build creation and suggesting upstream triage in craft-application or a linked upstream issue. The issue is acknowledged and scoped but not yet resolved, so it should remain open pending upstream action.

Impact: 40 Quick Win: 16.0 Staleness: 45 Complexity: 60 Confidence: 65 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 40
Quick Win: 16.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 45
Confidence: 85
Support Request: 10
needs triage remote-build fails with build-base devel because Launchpad does not recognize the devel identifier. The error originates in craft-application and requires upstream triage or a linked upstream issue. Currently unassigned and awaiting upstream resolution.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1262 Rockcraft is unable to build rock with "devel" build-bases rockcraft open Rockcraft fails to build rocks with `build-base: devel` due to `ValueError: '26.10' is not a valid BuilddBaseAlias`. Unlabeled and inactive.
74%