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

File does not exist: score_suffix/score_suffix #7

Closed
yegor256 opened this issue Nov 14, 2018 · 10 comments
Closed

File does not exist: score_suffix/score_suffix #7

yegor256 opened this issue Nov 14, 2018 · 10 comments

Comments

@yegor256
Copy link
Contributor

I'm trying to use zold-score 0.3.0 in zold project, and can do that. Rake doesn't pass. It says:

File does not exist: score_suffix/score_suffix
@yegor256
Copy link
Contributor Author

@DronMDF can you take a look?

@DronMDF
Copy link
Contributor

DronMDF commented Nov 15, 2018

@yegor256 This is a packing issue...

Package should contain lib/score_suffix/score_suffix.so
But i don't see it in installed module

$ ls /var/lib/gems/2.5.0/gems/zold-score-0.3.0/lib/
zold

May be need to modify filelist in zold-score.gemspec?

Need to add lib/score_suffix, this is not git file.

yegor256 added a commit that referenced this issue Nov 15, 2018
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.3.1

@rultor
Copy link
Collaborator

rultor commented Nov 15, 2018

@rultor release, tag is 0.3.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Nov 15, 2018

@rultor release, tag is 0.3.1

@yegor256 Oops, I failed. You can see the full log here (spent 2min)

\u001b[32mFetching rspec-expectations 3.8.2\u001b[0m
\u001b[32mInstalling rspec-expectations 3.8.2\u001b[0m
\u001b[32mFetching rspec-mocks 3.8.0\u001b[0m
\u001b[32mInstalling rspec-mocks 3.8.0\u001b[0m
\u001b[32mFetching rspec-rails 3.8.1\u001b[0m
\u001b[32mInstalling rspec-rails 3.8.1\u001b[0m
\u001b[32mFetching ruby-progressbar 1.10.0\u001b[0m
\u001b[32mInstalling ruby-progressbar 1.10.0\u001b[0m
\u001b[32mFetching unicode-display_width 1.4.0\u001b[0m
\u001b[32mInstalling unicode-display_width 1.4.0\u001b[0m
\u001b[32mFetching rubocop 0.58.1\u001b[0m
\u001b[32mInstalling rubocop 0.58.1\u001b[0m
GemWrappers: Can not wrap missing file: rubocop
\u001b[32mFetching rubocop-rspec 1.30.0\u001b[0m
\u001b[32mInstalling rubocop-rspec 1.30.0\u001b[0m
Using zold-score 0.0.0 from source at `.`
\u001b[32mBundle complete! 8 Gemfile dependencies, 48 gems now installed.\u001b[0m
\u001b[32mUse `bundle info [gemname]` to see where a bundled gem is installed.\u001b[0m
+ rake
mkdir -p lib/score_suffix
mkdir -p tmp/x86_64-linux/score_suffix/2.5.1
cd tmp/x86_64-linux/score_suffix/2.5.1
/usr/local/rvm/rubies/ruby-2.5.1/bin/ruby -I. ../../../../ext/score_suffix/extconf.rb
creating Makefile
cd -
cd tmp/x86_64-linux/score_suffix/2.5.1
/usr/bin/make
compiling ../../../../ext/score_suffix/ScoreSuffix.cpp
linking shared-object score_suffix/score_suffix.so
cd -
mkdir -p tmp/x86_64-linux/stage/lib/score_suffix
install -c tmp/x86_64-linux/score_suffix/2.5.1/score_suffix.so lib/score_suffix/score_suffix.so
cp tmp/x86_64-linux/score_suffix/2.5.1/score_suffix.so tmp/x86_64-linux/stage/lib/score_suffix/score_suffix.so
/usr/local/rvm/rubies/ruby-2.5.1/bin/ruby -I"lib:lib:test" -I"/home/r/.ruby/gems/rake-12.3.1/lib" "/home/r/.ruby/gems/rake-12.3.1/lib/rake/rake_test_loader.rb" "test/zold/test_score.rb" 
Run options: --seed 46384

# Running:

\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m

Finished in 0.007242s, 1795.1037 runs/s, 4004.4621 assertions/s.
13 runs, 29 assertions, 0 failures, 0 errors, 0 skips
Running RuboCop...
Inspecting 6 files
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m

6 files inspected, \u001b[32mno offenses\u001b[0m detected
grep -q -r '2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/0\.0\.0/0.3.1/g' zold-score.gemspec
+ git add zold-score.gemspec
+ git commit -m 'Version set to 0.3.1'
[__rultor 2b79a83] Version set to 0.3.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build zold-score.gemspec
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["lib/score_suffix/score_suffix.bundle"] are not files
container 7af4a8bfb64473f2586445bdef6f01e71d0f7ceac2296bc73268affc1abc4cb2 is dead
Thu Nov 15 09:02:15 CET 2018

yegor256 added a commit that referenced this issue Nov 15, 2018
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.3.1

@rultor
Copy link
Collaborator

rultor commented Nov 15, 2018

@rultor release, tag is 0.3.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Nov 15, 2018

@rultor release, tag is 0.3.1

@yegor256 Done! FYI, the full log is here (took me 2min)

@0crat
Copy link

0crat commented Nov 15, 2018

Job gh:zold-io/zold-score#7 is not assigned, can't get performer

@0crat
Copy link

0crat commented Nov 15, 2018

This job is not in scope

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