Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should error out immediately if a perl version does not (yet) exist #32

Open
xtaran opened this issue May 9, 2016 · 1 comment
Open

Comments

@xtaran
Copy link
Contributor

xtaran commented May 9, 2016

Trying to specify 5.24 currently results in the following error:

5.24 is not installed; attempting download
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

But the build continues:

$ perlbrew use 5.24
ERROR: The installation "5.24" is unknown.
$ perl --version
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi

IMHO the whole build should stop if an error like tar: Error is not recoverable is encountered.

Example log: https://travis-ci.org/xtaran/unburden-home-dir/jobs/127297497
Example .travis.yml: https://github.com/xtaran/unburden-home-dir/blob/travis-tests/.travis.yml

@xtaran xtaran changed the title Should error out if a perl version does not (yet) exist Should error out immediately if a perl version does not (yet) exist May 9, 2016
@xtaran
Copy link
Contributor Author

xtaran commented May 9, 2016

This actually also happens with dev instead of a explicit version number, see https://travis-ci.org/xtaran/unburden-home-dir/jobs/128909030#L108

Then again, it works fine if I use 5.24.0 instead of just 5.24.

chocolateboy added a commit to chocolateboy/autobox that referenced this issue Aug 26, 2016
chocolateboy added a commit to chocolateboy/wax that referenced this issue Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant