#228 closed defect (fixed)
Error while compiling from swing - error while downloading stc from swing (OpenSuSE)
Reported by: | Patrik Svestka | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 8.0.0 |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
Error while downloading stc from swing:
tukan@localhost:~/build/stx-jv8> rake /home/tukan/build/stx-jv8/rakelib/dsl.rb:21: warning: constant ::Fixnum is deprecated rake aborted! Exception: No binary component "'stc" found: https://swing.fit.cvut.cz/jenkins/job/stx_jv/lastStableBuild/artifact/artifacts/ /home/tukan/build/stx-jv8/rakelib/extensions.rb:64:in `error' /home/tukan/build/stx-jv8/specs/stx-jv.rbspec:30:in `download_binary_component' /home/tukan/build/stx-jv8/specs/stx-jv.rbspec:72:in `block (2 levels) in <top (required)>' /home/tukan/build/stx-jv8/rakelib/checkout.rake:43:in `_checkout_or_update' /home/tukan/build/stx-jv8/rakelib/checkout.rake:72:in `block (3 levels) in <top (required)>' Tasks: TOP => default => checkout => checkout:all => checkout:main => checkout:packages => checkout:package:stx:stc => build/stx/stc (See full trace by running task with --trace)
Change History (7)
comment:2 Changed 5 years ago by
The command:
ruby -e "puts RbConfig::CONFIG['target']"
Produces an output:
x86_64-suse-linux-gnu
The command:
./build.rb -t x86_64-pc-linux-gnu checkout compile
Does not succeed with log:
cd /home/tukan/build/stx-jv8/build/stx/stc rake aborted! Errno::ENOTDIR: Not a directory @ dir_chdir - /home/tukan/build/stx-jv8/build/stx/stc /usr/lib64/ruby/2.5.0/fileutils.rb:122:in `chdir' /usr/lib64/ruby/2.5.0/fileutils.rb:122:in `cd' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/file_utils_ext.rb:38:in `chdir' /home/tukan/build/stx-jv8/rakelib/setup.rake:173:in `block (3 levels) in <top (required)>' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:217:in `block in invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:217:in `block in invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:217:in `block in invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:217:in `block in invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `invoke_prerequisites' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:160:in `invoke_task' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block (2 levels) in top_level' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `each' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block in top_level' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:125:in `run_with_threads' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:110:in `top_level' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:83:in `block in run' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:186:in `standard_exception_handling' /usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:80:in `run' ./build.rb:69:in `run' ./build.rb:72:in `<main>' Tasks: TOP => compile => compile:all => compile:main => compile:stc => /home/tukan/build/stx-jv8/build/stx/stc/makefile tukan@localhost:~/build/stx-jv8>
Running /config.guess
like you have suggested:
wget http://git.savannah.gnu.org/cgit/config.git/plain/config.guess wget http://git.savannah.gnu.org/cgit/config.git/plain/config.su sh ./config.guess
Produces:
x86_64-pc-linux-gnu
comment:3 Changed 5 years ago by
Today I have re-run from scratch:
./build.rb -t x86_64-pc-linux-gnu checkout compile
and it works!
Compilation ends with:
warning: option abortOnSEGV is deprecated. Use --abortOnSIGSEGV. OKay, VM runs cd - cd - ** Execute compile:all ** Execute compile
Tried to run the environment and it started and works correctly.
comment:4 Changed 5 years ago by
Summary: | Error while compiling from swing - error while downloading stc from swing → Error while compiling from swing - error while downloading stc from swing (OpenSuSE) |
---|
comment:5 Changed 5 years ago by
Status: | new → testing |
---|
I believe commit b02b6cf48a23/stx.goodies.builder.rake fixes the problem. It'd be nice if you can update rakefiles and try again. Thanks!
comment:6 Changed 5 years ago by
Yes, that commit fixes the issue
Version 0, edited 5 years ago
by
(next)
comment:7 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | testing → closed |
Note: See
TracTickets for help on using
tickets.
Annoying indeed. My wild guess is that it cannot find binaries for current
BUILD_TARGET
.Could you please:
ruby -e "puts RbConfig::CONFIG['target']"
?./build.rb -t x86_64-pc-linux-gnu checkout compile
and tell me if it succeeds?Could you also download newest
config.guess
and tell me what it returns: