← Back to issue list

Bug: Edgecase: Error when shellcheck is not installed

View original Github issue

Metadata

Project
rockcraft
Number
#886
Type
issue
State
open
Author
RafaelJohn9
Labels
—
Created
Updated
Closed
—

Current evaluation

make lint fails with 'xargs: shellcheck: No such file or directory' when shellcheck is absent; lint-shellcheck target lacks an install-shellcheck dependency. Unlabelled and without maintainer response.

Suggested action: needs triage

Reason: The issue has no labels, assignee, or maintainer comments, so it has not been triaged. Code inspection confirms the report: common.mk's lint-shellcheck target does not depend on install-shellcheck, while setup-lint does include it, making the failure reproducible and the likely fix straightforward.

Evaluated by: mr-cal-bot

Impact: 25 Quick Win: 15 Complexity: 25 Confidence: 85 Actionability: 80

Issue body

### Bug Description When running `make lint`. I got this error ``` git ls-files | file --mime-type -Nnf- | grep shellscript | cut -f1 -d: | xargs -r shellcheck xargs: shellcheck: No such file or directory make: *** [common.mk:157: lint-shellcheck] Error 127 ``` Root cause: seems to happen if `shellcheck` hasn't been installed in the system ### To Reproduce - Ensure you don't have shellcheck installed in the system - Run `make lint` ### Environment Ubuntu 24.04 LTS ### rockcraft.yaml ```yaml None ``` ### Relevant log output ```shell None ```

Evaluation history

Date Model Scores Action Summary
~deepseek/deepseek-pro-latest
Impact: 25
Quick Win: 15
Complexity: 25
Confidence: 85
Actionability: 80
needs triage make lint fails with 'xargs: shellcheck: No such file or directory' when shellcheck is absent; lint-shellcheck target lacks an install-shellcheck dependency. Unlabelled and without maintainer response.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 22
Complexity: 10
Confidence: 85
Actionability: 80
keep open make lint fails with shellcheck not found error when shellcheck is not installed. The lint-shellcheck target is missing install-shellcheck as a dependency.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 14
Staleness: 80
Complexity: 10
Confidence: 75
Support Request: 10
needs triage make lint fails with 'xargs: shellcheck: No such file or directory' when shellcheck is missing; lint-shellcheck lacks an install-shellcheck prerequisite. Still reproducible in current common.mk; unlabelled with no maintainer activity for ~15 months.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 10
Confidence: 80
Support Request: 10
close stale Report of make lint failing with xargs shellcheck not found when the tool is missing. Issue has been inactive for over a year with no maintainer response or progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
needs triage Fails make lint with a shellcheck not found error when the tool is missing. Unlabeled, no maintainer interaction, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 85
Support Request: 20
needs triage make lint fails with exit code 127 when shellcheck is missing from the system. Unlabelled, no maintainer response, inactive for over a year.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.