Trepan-Debuggers / Trepan-Debuggers/remake

autogen.sh should exit with non-zero if one of its commands fails

Open
#137 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

volunteer wanted if feature is to be added
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.