← Back to issue list

Recent merge in craft-cli causes rockcraft build to fail

View original Github issue

Metadata

Project
rockcraft
Number
#621
Type
issue
State
closed
Author
yanksyoon
Labels
—
Created
Updated
Closed

Current evaluation

Merged rockcraft#624 (commit 849cbc30) replaced the missing craft-cli rockcraft-branch requirement with released-version constraints, fixing the build failure.

Resolution: closed resolved

Reason: craft-cli#258 removed the rockcraft branch required by Rockcraft. rockcraft#624 was merged as commit 849cbc30 to use proper craft-library versions, and the maintainer described the incident as temporary.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description The recent rockcraft branch merge in craft-cli causes the rockcraft build to fail. Merge: https://github.com/canonical/craft-cli/pull/258 Failing builds: - https://github.com/canonical/operator-workflows/actions/runs/9764035008/job/26970906912?pr=370#step:4:3825 - https://github.com/canonical/rockcraft/actions/runs/9769609405/job/26969371080#step:3:1077 ### To Reproduce - ### Environment - ### rockcraft.yaml ```shell - ``` ### Relevant log output ```shell 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.250 :: Collecting craft-cli@ git+https://github.com/canonical/craft-cli@rockcraft (from -r requirements.txt (line 6)) 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.251 :: Cloning https://github.com/canonical/craft-cli (to revision rockcraft) to /tmp/pip-install-256u04tg/craft-cli_c1585a2765e24c6aaa381b08ca816856 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.253 :: Running command git clone --filter=blob:none --quiet https://github.com/canonical/craft-cli /tmp/pip-install-256u04tg/craft-cli_c1585a2765e24c6aaa381b08ca816856 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.791 :: WARNING: Did not find branch or tag 'rockcraft', assuming revision or ref. 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.793 :: Running command git checkout -q rockcraft 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.796 :: error: pathspec 'rockcraft' did not match any file(s) known to git 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: error: subprocess-exited-with-error 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: × git checkout -q rockcraft did not run successfully. 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: │ exit code: 1 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: ╰─> See above for output. 2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: 2024-07-03 01:06:35.513 :: 2024-07-03 01:06:34.801 :: note: This error originates from a subprocess, and is likely not a problem with pip. ``` ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged rockcraft#624 (commit 849cbc30) replaced the missing craft-cli rockcraft-branch requirement with released-version constraints, fixing the build failure.
stealth/space-bunny-alpha — closed not a bug PR #258 merged the rockcraft branch into main, removing the branch required by Rockcraft builds. The report was closed after the maintainer confirmed a temporary issue.
qwen/qwen3.6-35b-a3b — — A craft-cli merge removed the rockcraft branch, causing rockcraft builds to fail. Maintainers acknowledged it as a temporary issue and resolved it, closing the report.
qwen/qwen3.6-35b-a3b — — Rockcraft builds failed after a craft-cli merge removed the required rockcraft branch. Maintainers identified it as a temporary issue, applied a fix, and closed the report.
qwen/qwen3.6-35b-a3b — — A craft-cli merge deleted the rockcraft branch, breaking rockcraft builds. The issue was fixed and closed after maintainers confirmed it was a temporary dependency resolution problem.
qwen3.6-35b-a3b-mtp-q6 — — A craft-cli merge removed the rockcraft branch, breaking builds. The issue was fixed and closed after maintainers addressed the temporary dependency error.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/craft-cli#258 (confidence 98%)

    The cited merge removed the branch required by Rockcraft builds.

  • Likely Fixed By: rockcraft#624 (confidence 93%)

    Its dependency update removed reliance on the deleted craft-cli rockcraft branch.

Related issues

Issue Project State Summary Similarity
#369 fix: craft-cli branch ref to main (rockcraft branch merged) craft-application closed PR closed unmerged by author yanksyoon; the craft-cli branch-ref fix was relocated to canonical/rockcraft#622, and the underlying build failure (rockcraft#621) was finally fixed by merged rockcraft#624 (commit 849cbc30).
81%
#372 Merge `rockcraft` craft-application merged PR #372 merged into the temporary 2.x branch, adding reviewed rockcraft work and commit ccfe498d's corrected craft-cli/craft-parts constraints for the planned 2.9.0 release.
80%
#258 Merge `rockcraft` back into `main` craft-cli merged Merged PR #258 restored the rockcraft branch to main and added the missing Craft CLI 2.6.0 changelog entries.
76%
#32 requirements: update dependencies rockcraft merged Merged in canonical/rockcraft#32 (commit 261961c1), updating dependencies to include the craft-parts symlink fix and resolve the stage-package installation failure in #28.
75%
#276 requirements: update craft-archives rockcraft merged Merged rockcraft#276 in commit 94346ab5, updating craft-archives requirements across three files (+3/-3).
74%
#596 chore: point to temporary build dependencies rockcraft merged Merged PR #596 in d09f1816, pointing craft-parts and craft-application dependencies to their temporary rockcraft branches. PR #624 later restored proper released versions.
72%
#472 build(deps): update dependencies rockcraft merged Merged dependency updates across four files into Rockcraft via PR #472 in commit 17d6a044.
71%
#590 Merge `rockcraft` back into `main` craft-providers merged Merged the rockcraft branch into main via #590 after individual review, adding 2.6.0 changelog entries across six files; approved by two reviewers.
70%