canonical / rockcraft

Tool to create OCI Images using the language from Snapcraft and Charmcraft.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recent merge in craft-cli causes rockcraft build to fail

yanksyoon opened this issue · comments

Bug Description

The recent rockcraft branch merge in craft-cli causes the rockcraft build to fail.
Merge: canonical/craft-cli#258

Failing builds:

To Reproduce

Environment

rockcraft.yaml

-

Relevant log output

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.

yes, it's a temporary issue that hopefully we fix today