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

Unbound variable in joshua-decoder script #234

Open
lewismc opened this issue Nov 6, 2015 · 5 comments
Open

Unbound variable in joshua-decoder script #234

lewismc opened this issue Nov 6, 2015 · 5 comments

Comments

@lewismc
Copy link
Contributor

lewismc commented Nov 6, 2015

This was reported by the Homebrew Jenkins CI build server

Error Message

failed: brew test --verbose joshua

Stacktrace

        Testing joshua
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20151106-70367-hbqww0.sb /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/test.rb /usr/local/Library/Formula/joshua.rb --verbose
==> /usr/local/Cellar/joshua/6.0.5/bin/joshua-decoder -version
/usr/local/Cellar/joshua/6.0.5/bin/joshua-decoder: line 27: JOSHUA: unbound variable
Error: joshua: failed
Failed executing: /usr/local/Cellar/joshua/6.0.5/bin/joshua-decoder -version
/usr/local/Library/Homebrew/formula.rb:1431:in `block in system'
/usr/local/Library/Homebrew/formula.rb:1368:in `open'
/usr/local/Library/Homebrew/formula.rb:1368:in `system'
/usr/local/Library/Formula/joshua.rb:59:in `block in <class:Joshua>'
/usr/local/Library/Homebrew/formula.rb:1277:in `block in run_test'
/usr/local/Library/Homebrew/extend/fileutils.rb:17:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:1273:in `run_test'
/usr/local/Library/Homebrew/test.rb:28:in `block in <main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
/usr/local/Library/Homebrew/test.rb:27:in `<main>'


@mjpost
Copy link
Member

mjpost commented Nov 6, 2015

$JOSHUA/bin/joshua-decoder requires that $JOSHUA be defined. I will push up a change that instead sets this from within the script based on the path of the called file.

@lewismc
Copy link
Contributor Author

lewismc commented Nov 6, 2015

That would be nice. Please feel free to rename this issue @mjpost

@mjpost
Copy link
Member

mjpost commented Nov 6, 2015

Should be fixed now, in the dist. tarballs as well.

@lewismc
Copy link
Contributor Author

lewismc commented Nov 7, 2015

@mjpost

in the dist. tarballs as well.

Do you mean that this is present in the new Joshua 6.0.5? Did you respin the release? I've cleared my cache and spinning it from scratch.

@mjpost
Copy link
Member

mjpost commented Nov 7, 2015

Yes, this is now fixed in the downloadable tarballs.

matt (from my phone)

On Nov 6, 2015, at 9:42 PM, Lewis John McGibbney [email protected] wrote:

@mjpost

in the dist. tarballs as well.

Do you mean that this is present in the new Joshua 6.0.5? Did you respin the release?


Reply to this email directly or view it on GitHub.

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

2 participants