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

rake dependency problem neocities-ruby installation debian 10 i686 #32

Open
gateway2000 opened this issue Feb 1, 2021 · 0 comments
Open

Comments

@gateway2000
Copy link

Hello, I see the issue #12 and the pull request #15 but still ran into same problem

rkw@rose:~$ sudo apt install ruby-full
[sudo] password for rkw: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  fonts-lato libgmp-dev libgmpxx4ldbl libruby2.5 rake ri ruby ruby-dev ruby-did-you-mean ruby-minitest ruby-net-telnet
  ruby-power-assert ruby-test-unit ruby-xmlrpc ruby2.5 ruby2.5-dev ruby2.5-doc rubygems-integration
Suggested packages:
  gmp-doc libgmp10-doc libmpfr-dev bundler
The following NEW packages will be installed:
  fonts-lato libgmp-dev libgmpxx4ldbl libruby2.5 rake ri ruby ruby-dev ruby-did-you-mean ruby-full ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc ruby2.5 ruby2.5-dev ruby2.5-doc rubygems-integration
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.2 MB of archives.
After this operation, 50.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://deb.debian.org/debian buster/main i386 fonts-lato all 2.0-2 [2,698 kB]
Get:2 https://deb.debian.org/debian buster/main i386 libgmpxx4ldbl i386 2:6.1.2+dfsg-4 [23.2 kB]
Get:3 https://deb.debian.org/debian buster/main i386 libgmp-dev i386 2:6.1.2+dfsg-4 [648 kB]
Get:4 https://deb.debian.org/debian buster/main i386 rubygems-integration all 1.11+deb10u1 [5,212 B]
Get:5 https://deb.debian.org/debian buster/main i386 ruby2.5 i386 2.5.5-3+deb10u3 [400 kB]
Get:6 https://deb.debian.org/debian buster/main i386 ruby i386 1:2.5.1 [11.3 kB]
Get:7 https://deb.debian.org/debian buster/main i386 rake all 12.3.1-3+deb10u1 [67.1 kB]
Get:8 https://deb.debian.org/debian buster/main i386 ruby-did-you-mean all 1.2.1-1 [14.4 kB]
Get:9 https://deb.debian.org/debian buster/main i386 ruby-minitest all 5.11.3-1 [54.8 kB]
Get:10 https://deb.debian.org/debian buster/main i386 ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:11 https://deb.debian.org/debian buster/main i386 ruby-power-assert all 1.1.1-1 [10.9 kB]
Get:12 https://deb.debian.org/debian buster/main i386 ruby-test-unit all 3.2.8-1 [72.4 kB]
Get:13 https://deb.debian.org/debian buster/main i386 ruby-xmlrpc all 0.3.0-2 [23.7 kB]
Get:14 https://deb.debian.org/debian buster/main i386 libruby2.5 i386 2.5.5-3+deb10u3 [3,547 kB]
Get:15 https://deb.debian.org/debian buster/main i386 ruby2.5-doc all 2.5.5-3+deb10u3 [2,149 kB]
Get:16 https://deb.debian.org/debian buster/main i386 ri all 1:2.5.1 [10.1 kB]
Get:17 https://deb.debian.org/debian buster/main i386 ruby2.5-dev i386 2.5.5-3+deb10u3 [415 kB]
Get:18 https://deb.debian.org/debian buster/main i386 ruby-dev i386 1:2.5.1 [10.2 kB]
Get:19 https://deb.debian.org/debian buster/main i386 ruby-full all 1:2.5.1 [10.0 kB]
Fetched 10.2 MB in 3s (3,435 kB/s)     
Selecting previously unselected package fonts-lato.
(Reading database ... 187259 files and directories currently installed.)
Preparing to unpack .../00-fonts-lato_2.0-2_all.deb ...
Unpacking fonts-lato (2.0-2) ...
Selecting previously unselected package libgmpxx4ldbl:i386.
Preparing to unpack .../01-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_i386.deb ...
Unpacking libgmpxx4ldbl:i386 (2:6.1.2+dfsg-4) ...
Selecting previously unselected package libgmp-dev:i386.
Preparing to unpack .../02-libgmp-dev_2%3a6.1.2+dfsg-4_i386.deb ...
Unpacking libgmp-dev:i386 (2:6.1.2+dfsg-4) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../03-rubygems-integration_1.11+deb10u1_all.deb ...
Unpacking rubygems-integration (1.11+deb10u1) ...
Selecting previously unselected package ruby2.5.
Preparing to unpack .../04-ruby2.5_2.5.5-3+deb10u3_i386.deb ...
Unpacking ruby2.5 (2.5.5-3+deb10u3) ...
Selecting previously unselected package ruby.
Preparing to unpack .../05-ruby_1%3a2.5.1_i386.deb ...
Unpacking ruby (1:2.5.1) ...
Selecting previously unselected package rake.
Preparing to unpack .../06-rake_12.3.1-3+deb10u1_all.deb ...
Unpacking rake (12.3.1-3+deb10u1) ...
Selecting previously unselected package ruby-did-you-mean.
Preparing to unpack .../07-ruby-did-you-mean_1.2.1-1_all.deb ...
Unpacking ruby-did-you-mean (1.2.1-1) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../08-ruby-minitest_5.11.3-1_all.deb ...
Unpacking ruby-minitest (5.11.3-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../09-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../10-ruby-power-assert_1.1.1-1_all.deb ...
Unpacking ruby-power-assert (1.1.1-1) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../11-ruby-test-unit_3.2.8-1_all.deb ...
Unpacking ruby-test-unit (3.2.8-1) ...
Selecting previously unselected package ruby-xmlrpc.
Preparing to unpack .../12-ruby-xmlrpc_0.3.0-2_all.deb ...
Unpacking ruby-xmlrpc (0.3.0-2) ...
Selecting previously unselected package libruby2.5:i386.
Preparing to unpack .../13-libruby2.5_2.5.5-3+deb10u3_i386.deb ...
Unpacking libruby2.5:i386 (2.5.5-3+deb10u3) ...
Selecting previously unselected package ruby2.5-doc.
Preparing to unpack .../14-ruby2.5-doc_2.5.5-3+deb10u3_all.deb ...
Unpacking ruby2.5-doc (2.5.5-3+deb10u3) ...
Selecting previously unselected package ri.
Preparing to unpack .../15-ri_1%3a2.5.1_all.deb ...
Unpacking ri (1:2.5.1) ...
Selecting previously unselected package ruby2.5-dev:i386.
Preparing to unpack .../16-ruby2.5-dev_2.5.5-3+deb10u3_i386.deb ...
Unpacking ruby2.5-dev:i386 (2.5.5-3+deb10u3) ...
Selecting previously unselected package ruby-dev:i386.
Preparing to unpack .../17-ruby-dev_1%3a2.5.1_i386.deb ...
Unpacking ruby-dev:i386 (1:2.5.1) ...
Selecting previously unselected package ruby-full.
Preparing to unpack .../18-ruby-full_1%3a2.5.1_all.deb ...
Unpacking ruby-full (1:2.5.1) ...
Setting up fonts-lato (2.0-2) ...
Setting up ruby-power-assert (1.1.1-1) ...
Setting up rubygems-integration (1.11+deb10u1) ...
Setting up ruby-minitest (5.11.3-1) ...
Setting up libgmpxx4ldbl:i386 (2:6.1.2+dfsg-4) ...
Setting up ruby-test-unit (3.2.8-1) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up ruby-did-you-mean (1.2.1-1) ...
Setting up ruby-xmlrpc (0.3.0-2) ...
Setting up ruby2.5-doc (2.5.5-3+deb10u3) ...
Setting up libgmp-dev:i386 (2:6.1.2+dfsg-4) ...
Setting up ruby2.5 (2.5.5-3+deb10u3) ...
Setting up ri (1:2.5.1) ...
Setting up ruby (1:2.5.1) ...
Setting up rake (12.3.1-3+deb10u1) ...
Setting up libruby2.5:i386 (2.5.5-3+deb10u3) ...
Setting up ruby2.5-dev:i386 (2.5.5-3+deb10u3) ...
Setting up ruby-dev:i386 (1:2.5.1) ...
Setting up ruby-full (1:2.5.1) ...
Processing triggers for fontconfig (2.13.1-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...

rkw@rose:~$ sudo gem install neocities
Fetching: strings-ansi-0.2.0.gem (100%)
Successfully installed strings-ansi-0.2.0
Fetching: unicode_utils-1.4.0.gem (100%)
Successfully installed unicode_utils-1.4.0
Fetching: unicode-display_width-1.7.0.gem (100%)
Successfully installed unicode-display_width-1.7.0
Fetching: strings-0.1.8.gem (100%)
Successfully installed strings-0.1.8
Fetching: tty-screen-0.6.5.gem (100%)
Successfully installed tty-screen-0.6.5
Fetching: tty-color-0.4.3.gem (100%)
Successfully installed tty-color-0.4.3
Fetching: equatable-0.5.0.gem (100%)
Successfully installed equatable-0.5.0
Fetching: pastel-0.7.2.gem (100%)
Successfully installed pastel-0.7.2
Fetching: necromancer-0.4.0.gem (100%)
Successfully installed necromancer-0.4.0
Fetching: tty-table-0.10.0.gem (100%)
Successfully installed tty-table-0.10.0
Fetching: wisper-1.6.1.gem (100%)
Successfully installed wisper-1.6.1
Fetching: tty-cursor-0.4.0.gem (100%)
Successfully installed tty-cursor-0.4.0
Fetching: tty-prompt-0.12.0.gem (100%)
Successfully installed tty-prompt-0.12.0
Fetching: httpclient-2.8.3.gem (100%)
Successfully installed httpclient-2.8.3
Fetching: neocities-0.0.15.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing neocities:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/neocities-0.0.15/ext
/usr/bin/ruby2.5 mkrf_conf.rb

current directory: /var/lib/gems/2.5.0/gems/neocities-0.0.15/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15 RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/neocities-0.0.15 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15/gem_make.out

rkw@rose:~$ cat /var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15/gem_make.out
current directory: /var/lib/gems/2.5.0/gems/neocities-0.0.15/ext
/usr/bin/ruby2.5 mkrf_conf.rb

current directory: /var/lib/gems/2.5.0/gems/neocities-0.0.15/ext
/usr/bin/ruby2.5 -rrubygems /var/lib/gems/2.5.0/gems/rake-13.0.3/exe/rake RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15 RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86-linux/2.5.0/neocities-0.0.15

rkw@rose:~$ sudo gem install rake
Fetching: rake-13.0.3.gem (100%)
Successfully installed rake-13.0.3
Parsing documentation for rake-13.0.3
Installing ri documentation for rake-13.0.3
Done installing documentation for rake after 1 seconds
1 gem installed

rkw@rose:~$ sudo gem install neocities
Building native extensions. This could take a while...
Successfully installed neocities-0.0.15
Parsing documentation for neocities-0.0.15
Installing ri documentation for neocities-0.0.15
Done installing documentation for neocities after 0 seconds
1 gem installed

What's interesting to me is that Debian actually installs a package called rake but maybe there's a disconnect somewhere. Thanks for reading my report.

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

1 participant