← Back to issue list

Incorrect charm name listed in `Charms packed:` output after pack

View original Github issue

Metadata

Project
charmcraft
Number
#1070
Type
issue
State
closed
Author
sed-i
Labels
Created
Updated
Closed

Current evaluation

Author reported incorrect charm name in charmcraft pack output. After verifying the files were correct, the author closed the issue, stating it was a mistake and everything worked as expected.

Suggested action:

No scores available.

Issue body

The grafana-agent charm is a hybrid machine/k8s repo. After packing the machine charm, ``` tox -e render-machine charmcraft clean charmcraft pack ``` ``` Packing the charm Created 'grafana-agent_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm'. Charms packed: grafana-agent_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm ``` I then pack the k8s charm. ``` charmcraft clean tox -e render-k8s charmcraft pack ``` As a result, I see the same output: ``` Packing the charm Created 'grafana-agent-k8s_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm'. Charms packed: grafana-agent-k8s_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm ``` However, the k8s charm is there ``` $ ls *.charm grafana-agent-k8s_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm grafana-agent_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm k8s.charm machine.charm ``` and correct: ``` $ unzip -p grafana-agent-k8s_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm metadata.yaml | grep name name: grafana-agent-k8s ``` So seems like the output of the pack is picking up something incorrectly.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Author reported incorrect charm name in charmcraft pack output. After verifying the files were correct, the author closed the issue, stating it was a mistake and everything worked as expected.
qwen/qwen3.6-35b-a3b Author closed the issue as invalid, confirming the reported incorrect Charms packed output was a user error and the tool functioned correctly.
qwen/qwen3.6-35b-a3b Closed as abandoned. Reporter later confirmed the pack output was correct and self-resolved the false alarm.
qwen3.6-35b-a3b-mtp-q6 Author self-resolved the report, confirming the output discrepancy was a false alarm. Issue closed without code changes.
qwen3.6-35b-a3b-mtp-q6 Author reported incorrect charm names in charmcraft pack output but later confirmed it was a false alarm. Issue closed as not a bug with no code changes required.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2402 Odd error when packing charmcraft closed A typo in charmcraft caused a chown command to fail with a permission string. The author identified it should be chmod. The issue was closed, confirming the bug was fixed in charmcraft to resolve the packing error.
72%