← Back to issue list

Snapcraft requires autogen.sh to be executable

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1530995
Type
issue
State
closed
Author
~andreas-pokorny
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by ubuntu-core/snapcraft PR #206 (merged as 209a587d7), which made the Autotools plugin set autogen.sh executable before running it.

Resolution: closed resolved

Reason: PR #206 was merged in commit 209a587d7. Its change, commit 85405240f, updates the Autotools plugin to set autogen.sh executable.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Snapcraft requires autogen.sh to have the executable bit set. There are quite a few repositories in the wild with an autogen.sh without that..

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by ubuntu-core/snapcraft PR #206 (merged as 209a587d7), which made the Autotools plugin set autogen.sh executable before running it.
stealth/space-bunny-alpha — closed resolved Snapcraft now makes autogen.sh executable when needed; fixed by merged PR canonical/snapcraft#206 (commit 85405240f).
stealth/space-bunny-alpha — closed resolved Fixed in canonical/snapcraft#206 (commit 85405240f): the Autotools plugin now makes autogen.sh executable before running it.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. Snapcraft requires autogen.sh to have executable permissions, but no action was taken to enforce or document this requirement.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft continues to require autogen.sh to be executable, leaving the reported packaging requirement unaddressed.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#206 (confidence 100%)

    PR #206 explicitly references bug 1530995 and was merged with commit 209a587d7.

Related issues

Issue Project State Summary Similarity
#1507648 Autotools doesn't work without autogen.sh snapcraft (launchpad) closed Added an autoreconf-based Autotools option in commit 9d9a357b7 and released it in Snapcraft 0.4; later #3398 added autogen.sh/bootstrap support to v2.
77%
#1882425 autotools plugin should still honour autogen.sh if present snapcraft (launchpad) closed Autotools v2 gained autogen.sh/bootstrap fallback support in canonical/snapcraft#3398, merged as 3fabd01b9 and released before the issue was closed.
75%
#1951645 chmod 777 in autotools plugin snapcraft (launchpad) closed Fixed in snapcore/snapcraft#3601 (commit 08a347754), replacing the autotools v1 plugin's overly broad permissions with correct permissions for scripts.
71%
#206 Autotools plugin: Set autogen.sh executable. snapcraft merged Merged PR #206 fixed LP #1530995 by making autogen.sh executable when needed and adding Autotools plugin tests (commit 85405240f).
70%