Open the repository in a fresh GitPod instance --> Fails
Try after that from the terminal gem install sidtool --> Fails
Details:
After opening the repository in GitPod:
HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
bin/setup
}
gitpod /workspace/sidtool (master) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> bin/setup
> }
bundle install
+ bundle install
Bundler 2.3.21 is running, but your lockfile was generated with 2.1.4. Installing Bundler 2.1.4 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.1.4
Installing bundler 2.1.4
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.Fetching gem metadata from https://rubygems.org/.......Fetching rake 10.5.0Installing rake 10.5.0Using bundler 2.1.4Fetching coderay 1.1.2Installing coderay 1.1.2Fetching diff-lcs 1.3Installing diff-lcs 1.3Fetching libv8-node 16.10.0.0 (x86_64-linux-musl)Installing libv8-node 16.10.0.0 (x86_64-linux-musl)Fetching method_source 0.9.2Installing method_source 0.9.2Fetching mini_racer 0.6.2Installing mini_racer 0.6.2 with native extensionsGem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.2/ext/mini_racer_extension/home/gitpod/.rvm/rubies/ruby-3.1.2/bin/ruby -I /home/gitpod/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0 -r ./siteconf20220911-676-dmcsal.rb extconf.rbchecking for -lpthread... yescreating Makefilecurrent directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.2/ext/mini_racer_extensionmake DESTDIR\= cleancurrent directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.2/ext/mini_racer_extensionmake DESTDIR\=compiling mini_racer_extension.cclinking shared-object mini_racer_extension.sog++: error: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux/libv8/obj/libv8_monolith.a: No suchfile or directorymake: *** [Makefile:263: mini_racer_extension.so] Error 1make failed, exit code 2Gem files will remain installed in /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.2 for inspection.Results logged to /home/gitpod/.rvm/gems/ruby-3.1.2/extensions/x86_64-linux/3.1.0/mini_racer-0.6.2/gem_make.outAn error occurred while installing mini_racer (0.6.2), and Bundler cannot continue.Make sure that `gem install mini_racer -v '0.6.2' --source 'https://rubygems.org/'` succeeds before bundling.In Gemfile: sidtool was resolved to 0.0.5, which depends on mos6510 was resolved to 0.1.2, which depends on mini_racer
After doing gem install sidtool:
gitpod /workspace/sidtool (master) $ gem install sidtool
Fetching mini_racer-0.6.3.gem
Fetching sidtool-0.0.5.gem
Fetching mos6510-0.1.2.gem
Building native extensions. This could take a while...
ERROR: Error installing sidtool:
ERROR: Failed to build gem native extension.
current directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.3/ext/mini_racer_extension
/home/gitpod/.rvm/rubies/ruby-3.1.2/bin/ruby -I /home/gitpod/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0 -r ./siteconf20220911-1633-njl3lr.rb extconf.rb
checking for -lpthread... yes
checking for whether -Wl,--exclude-libs=ALL is accepted as LDFLAGS... no
creating Makefile
current directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.3/ext/mini_racer_extension
make DESTDIR\= clean
current directory: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.3/ext/mini_racer_extension
make DESTDIR\=
compiling mini_racer_extension.cc
linking shared-object mini_racer_extension.so
g++: error: /home/gitpod/.rvm/gems/ruby-3.1.2/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux/libv8/obj/libv8_monolith.a: No such file or directory
make: *** [Makefile:263: mini_racer_extension.so] Error 1
make failed, exit code 2
Gem files will remain installed in /home/gitpod/.rvm/gems/ruby-3.1.2/gems/mini_racer-0.6.3 for inspection.
Results logged to /home/gitpod/.rvm/gems/ruby-3.1.2/extensions/x86_64-linux/3.1.0/mini_racer-0.6.3/gem_make.out
Currently we round all notes to the nearest MIDI note. This actually works pretty well, but some songs use a lot of "sliding". Maybe we should enable using frequencies between MIDI notes through a command-line option?
Having the songs shown as sheet music would be totally awesome!
However, it's probably not totally straightforward. For example, which key should be used, and how long would a measure be? Maybe just require that as arguments on the command-line.