Trepan-Debuggers / Trepan-Debuggers/remake
autogen.sh should exit with non-zero if one of its commands fails
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 850
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
Right now, if, say configure fails, autogen.sh would continue execution and exit with the exit code of the last command. (Caught this on a box with missing libreadline.)
This is rarely needed, because distributions normally use tarballs (and thus skip autogen.sh altogether), but it affects the scripting of building from git.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with autogen.sh, especially the configure command around line 19, and reproduce the failure described when libreadline is missing. Done means a failed command causes autogen.sh to stop and return a non-zero exit status instead of returning the status of its last command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100