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

mruby head breaks build #23

Closed
hone opened this issue Oct 2, 2015 · 7 comments
Closed

mruby head breaks build #23

hone opened this issue Oct 2, 2015 · 7 comments

Comments

@hone
Copy link
Owner

hone commented Oct 2, 2015

Seeing these two failures:

/tmp/d20151002-93-1okckhj/hello_world/mruby/test/report.rb:3:in `<top (required)>': mrbtest failed (KO:1, Crash:0) (RuntimeError)
    from test/bintest.rb:18:in `load'
    from test/bintest.rb:18:in `<main>'
rake aborted!
Command failed with status (1): [ruby test/bintest.rb "/tmp/d20151002-93-1o...]
/tmp/d20151002-93-1okckhj/hello_world/mruby/tasks/mruby_build.rake:276:in `run_bintest'
/tmp/d20151002-93-1okckhj/hello_world/Rakefile:52:in `block (4 levels) in <top (required)>'
/tmp/d20151002-93-1okckhj/hello_world/Rakefile:42:in `clean_env'
/tmp/d20151002-93-1okckhj/hello_world/Rakefile:51:in `block (3 levels) in <top (required)>'
/tmp/d20151002-93-1okckhj/hello_world/mruby/tasks/mruby_build.rake:13:in `instance_eval'
/tmp/d20151002-93-1okckhj/hello_world/mruby/tasks/mruby_build.rake:13:in `block in each_target'
/tmp/d20151002-93-1okckhj/hello_world/mruby/tasks/mruby_build.rake:12:in `each'
/tmp/d20151002-93-1okckhj/hello_world/mruby/tasks/mruby_build.rake:12:in `each_target'
/tmp/d20151002-93-1okckhj/hello_world/Rakefile:50:in `block (2 levels) in <top (required)>'
Tasks: TOP => test:bintest
(See full trace by running task with --trace)
Fail: setup can compile and run the generated app
 - Assertion[6] Failed: Process did not exit cleanly
    Expected: true
      Actual: false
Fail: Compiling multiple files without new line in last line. #2361
 - Assertion[1] Failed: Expected to be equal
    Expected: "bin\\mrbc.exe:/tmp/a.rb20151002-93-1tide85:Syntax OK"
      Actual: "sh: 1: binmrbc.exe: not found"
 - Assertion[2] Failed: Expected to be equal
    Expected: 0
      Actual: 127

Link to Travis

@hone
Copy link
Owner Author

hone commented Oct 2, 2015

When running the bintests inside of a generated mruby-cli app, you get this failure.

..F
Fail: Compiling multiple files without new line in last line. #2361
 - Assertion[1] Failed: Expected to be equal
    Expected: "bin\\mrbc.exe:/tmp/a.rb20151002-1518-1rwlvnq:Syntax OK"
      Actual: "sh: 1: binmrbc.exe: not found"
 - Assertion[2] Failed: Expected to be equal
    Expected: 0
      Actual: 127
Total: 3
   OK: 2
   KO: 1
Crash: 0
 Time: 0.05 seconds
/home/mruby/code/mruby/test/report.rb:3:in `<top (required)>': mrbtest failed (KO:1, Crash:0) (RuntimeError)
        from test/bintest.rb:18:in `load'
        from test/bintest.rb:18:in `<main>'

Reverting this commit fixes it.

Any ideas @mattn?

@mattn
Copy link

mattn commented Oct 2, 2015

do you set $SHELL environment variable?

@toch
Copy link
Collaborator

toch commented Oct 12, 2015

@zzak thanks!

toch added a commit to toch/mruby-cli that referenced this issue Oct 12, 2015
@zzak
Copy link
Contributor

zzak commented Oct 13, 2015

@toch Does this work if you docker pull hone/mruby-cli:latest?

@hone
Copy link
Owner Author

hone commented Oct 21, 2015

@mattn no we don't, is that now a requirement?

@mattn
Copy link

mattn commented Oct 21, 2015

Could you please show me the log? If you set $SHELL, paths should be treated as slash separator.

@zzak
Copy link
Contributor

zzak commented Oct 22, 2015

We do as of zzak/mruby-cli-docker@6df6d15

hone added a commit to hone/mruby-cli-docker that referenced this issue Nov 5, 2015
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

4 participants