← Back to issue list

Can't build for mantic (23.10) even on latest/edge

View original Github issue

Metadata

Project
charmcraft
Number
#1203
Type
issue
State
closed
Author
ajkavanagh
Labels
—
Created
Updated
Closed

Current evaluation

Mantic (ubuntu 23.10) builds failed due to a buildd image issue in craft-providers, fixed by canonical/craft-providers#330 (d214b8f); landed on edge and charmcraft 2.5. Reporter ajkavanagh confirmed the fix and the issue was closed.

Resolution: closed resolved

Reason: Maintainer lengau confirmed on 2023-10-24 that the problem was fixed on edge and shipping in charmcraft 2.5, following the craft-providers image fix in canonical/craft-providers#330; the reporter ajkavanagh acknowledged the fix two days later and the issue was closed. Mantic was later dropped from supported bases, but the reported failure was genuinely fixed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description I would like to build charms for mantic/23.10. Unfortunately, this is the result (even with latest/edge): ``` charmcraft -v pack --bases-index=8 Starting charmcraft version 2.4.0.post2+git31f7281 Logging execution to '/home/alex/.local/state/charmcraft/log/charmcraft-20230807-114746.906958.log' Packing the charm. Skipping 'bases[8].build-on[0]': base 'ubuntu' channel '23.10' is not yet supported (must be 'almalinux 9', 'centos 7', 'ubuntu 16.04', 'ubuntu 18.04', 'ubuntu 20.04', 'ubuntu 22.04', 'ubuntu 22.10', 'ubuntu 23.04' or 'ubuntu devel'). ``` ### To Reproduce Use a charmcraft with bases containing: ```yaml - build-on: - name: ubuntu channel: "23.10" architectures: [amd64] run-on: - name: ubuntu channel: "23.10" architectures: [amd64] ``` ### Environment Ubuntu 22.04 LTS. ### charmcraft.yaml ```shell type: charm parts: charm: plugin: reactive reactive-charm-build-arguments: - --binary-wheels-from-source build-packages: - tox - git - python3-dev - libffi-dev - libpython3-dev - libssl-dev - libxml2-dev - libxslt1-dev - rustc - cargo - pkg-config source: src/ build-snaps: - charm/latest/edge build-environment: - CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/ - CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/ bases: - build-on: - name: ubuntu channel: "23.10" architectures: [amd64] run-on: - name: ubuntu channel: "23.10" architectures: [amd64] ``` ### Relevant log output ```shell $ charmcraft -v pack --bases-index=8 Starting charmcraft version 2.4.0.post2+git31f7281 Logging execution to '/home/alex/.local/state/charmcraft/log/charmcraft-20230807-115143.616635.log' Packing the charm. Skipping 'bases[8].build-on[0]': base 'ubuntu' channel '23.10' is not yet supported (must be 'almalinux 9', 'centos 7', 'ubuntu 16.04', 'ubuntu 18.04', 'ubuntu 20.04', 'ubuntu 22.04', 'ubuntu 22.10', 'ubuntu 23.04' or 'ubuntu devel'). No suitable 'build-on' environment found in 'bases[8]' configuration. No suitable 'build-on' environment found in any 'bases' configuration. Full execution log: '/home/alex/.local/state/charmcraft/log/charmcraft-20230807-115143.616635.log' ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Mantic (ubuntu 23.10) builds failed due to a buildd image issue in craft-providers, fixed by canonical/craft-providers#330 (d214b8f); landed on edge and charmcraft 2.5. Reporter ajkavanagh confirmed the fix and the issue was closed.
stealth/space-bunny-alpha — closed resolved Fixed by craft-providers#330 (d214b8f), released on edge for Charmcraft 2.5; the reporter confirmed the build now works.
qwen3.6-35b-a3b-mtp-q6 — — Ubuntu 23.10 build failures in charmcraft were caused by a buildd image issue in craft-providers. The fix was merged in craft-providers PR #330 and released in charmcraft 2.5.
qwen/qwen3.6-35b-a3b — — Resolved in craft-providers PR #330 and released in charmcraft 2.5. The Ubuntu 23.10 build failure was caused by a missing buildd image, which has been patched and deployed to the edge channel.
qwen/qwen3.6-35b-a3b — — Charmcraft could not build for Ubuntu 23.10 due to missing buildd image support. Resolved via craft-providers PR #330 and released in charmcraft 2.5 and the edge channel.
qwen3.6-35b-a3b-mtp-q6 — — Ubuntu 23.10 build failures stemmed from missing buildd images in craft-providers. Resolved via craft-providers PR #330, deployed to the edge channel, and included in charmcraft 2.5 release.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-providers#330 (confidence 90%)

    syu-w linked this as the buildd image fix for ubuntu 23.10; released on edge and in charmcraft 2.5

  • Related To: canonical/charmcraft#1849 (confidence 45%)

    Mantic spread test existed then and was later removed; mantic eventually dropped from supported bases (commit 9ff19c32, PR #2014)

Related issues

Issue Project State Summary Similarity
#330 feat(buildd): add support for ubuntu 23.10 craft-providers merged Merged as commit d214b8f, adding Ubuntu 23.10 (Mantic) support to the buildd provider; the change shipped in craft-providers 1.19.0.
71%