Some errors occurred when compiling with ondemand.spec#5056
Some errors occurred when compiling with ondemand.spec#5056zhangwenlong8911 wants to merge 1 commit intoOSC:masterfrom
Conversation
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
| BuildRequires: ondemand-nodejs = %{runtime_version_full} | ||
| BuildRequires: rsync | ||
| BuildRequires: git | ||
| BuildRequires: rubygem-bundler rubygem-rake ruby-devel npm sqlite-devel libxslt-devel |
There was a problem hiding this comment.
Hmmmmm I feel like ondemand-ruby should have these things. @treydock please advise.
There was a problem hiding this comment.
Correct, these come from ondemand-ruby:
There was a problem hiding this comment.
OK so I'm thinking we just close this? Not sure how @zhangwenlong8911 encountered this error though...
There was a problem hiding this comment.
OSC/ondemand-packaging#318 leads me to believe custom RPMs were being build for a new architecture but without first building ondemand-runtime.
There was a problem hiding this comment.
Ah yea that makes sense.
|
Seems like we don't need this. Seems like we'd actually just need Thanks for your interest and attempt to fix this, but unfortunately we're going to have to close this in favor of the other solution. |
Some errors occurred when compiling with ondemand.spec
1、+ bundle config set --global force_ruby_platform true
/var/tmp/sclCJVdy3: line 9: bundle: command not found
2、+ rake --trace -mj12 build
/var/tmp/scl5y0IqD: line 13: rake: command not found
3、Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/root/rpmbuild/BUILD/ondemand-4.1.1/gems-build/gems/bigdecimal-4.0.1/ext/bigdecimal
/usr/bin/ruby -I/usr/share/rubygems extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h
4、/usr/share/gems/gems/rake-13.0.6/lib/rake/file_utils.rb:67:in `block in create_shell_runner': Command failed with status (127): [npm install --production --prefix tmp yarn...] (RuntimeError)
5、conftest.c:3:10: fatal error: sqlite3.h: No such file or directory
3 | #include <sqlite3.h>