[DRE-maint] Bug#894754: vagrant: Invalid gemspec in rbnacl-libsodium stack level too deep
Nicholas Capo
nicholas.capo at gmail.com
Tue Apr 3 22:17:51 BST 2018
Package: vagrant
Version: 2.0.2+dfsg-3
Severity: normal
Dear Maintainer,
When running any `vagrant` command the following is error appears and the
command seems to never complete.
```
$ vagrant status
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-
libsodium.gemspec]: stack level too deep
```
At one point I typed Ctrl+C quickly and got this (possibly related) stack
trace:
```
$ vagrant status
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-
libsodium.gemspec]: stack level too deep
^CTraceback (most recent call last):
998: from /usr/bin/vagrant:23:in `<main>'
997: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in `activate_bin_path'
996: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in `synchronize'
995: from /usr/lib/ruby/2.5.0/rubygems.rb:311:in `block in
activate_bin_path'
994: from /usr/lib/ruby/2.5.0/rubygems.rb:239:in `finish_resolve'
993: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:68:in
`require'
992: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1084:in
`find_active_stub_by_path'
991: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:850:in `stubs'
990: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:782:in
`installed_stubs'
989: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`map_stubs'
988: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`flat_map'
987: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in `each'
986: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:793:in `block
in map_stubs'
985: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in
`gemspec_stubs_in'
984: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in `select'
983: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:208:in
`valid?'
982: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:139:in
`data'
981: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:197:in
`to_spec'
980: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1194:in `load'
979: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1194:in `eval'
[ elided many copies of the same stack]
34: from /usr/share/rubygems-integration/all/specifications/rbnacl-
libsodium.gemspec:2:in `load'
33: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:68:in
`require'
32: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1084:in
`find_active_stub_by_path'
31: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:850:in `stubs'
30: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:782:in
`installed_stubs'
29: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`map_stubs'
28: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`flat_map'
27: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in `each'
26: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:793:in `block
in map_stubs'
25: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in
`gemspec_stubs_in'
24: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in `select'
23: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:208:in
`valid?'
22: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:139:in
`data'
21: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:197:in
`to_spec'
20: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1194:in `load'
19: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1194:in `eval'
18: from /usr/share/rubygems-integration/all/specifications/rbnacl-
libsodium.gemspec:2:in `load'
17: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:68:in
`require'
16: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1084:in
`find_active_stub_by_path'
15: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:850:in `stubs'
14: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:782:in
`installed_stubs'
13: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`map_stubs'
12: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in
`flat_map'
11: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:790:in `each'
10: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:793:in `block
in map_stubs'
9: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in
`gemspec_stubs_in'
8: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:768:in `select'
7: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:208:in
`valid?'
6: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:118:in
`data'
5: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:118:in
`open'
4: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:129:in
`block in data'
3: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:129:in
`new'
2: from /usr/lib/ruby/2.5.0/rubygems/stub_specification.rb:42:in
`initialize'
1: from /usr/lib/ruby/2.5.0/rubygems/version.rb:173:in `correct?'
/usr/lib/ruby/2.5.0/rubygems/version.rb:173:in `=~': Interrupt
```
I have tried removing `ruby-rbnacl` (which removes `vagrant`) and reinstalling,
but the issue persists.
```
$ sudo apt autoremove --purge ruby-rbnacl
[...]
$ sudo apt install vagrant
$ vagrant status
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-
libsodium.gemspec]: stack level too deep
^C
```
I do not beleive I have any gems installed (other than what comes from apt),
but here is the list just in case:
```
sudo gem list
*** LOCAL GEMS ***
bcrypt_pbkdf (1.0.0)
bigdecimal (default: 1.3.4)
blankslate (3.1.3)
builder (3.2.2)
bundler (1.16.1)
childprocess (0.9.0, 0.5.9)
cmath (default: 1.0.0)
csv (default: 1.0.0)
date (default: 1.0.0)
did_you_mean (1.0.0)
domain_name (0.5.20160216)
erubis (2.7.0)
etc (default: 1.0.0)
excon (0.60.0)
fcntl (default: 1.0.0)
ffi (1.9.10)
fiddle (default: 1.0.0)
fileutils (default: 1.0.2)
fog-core (1.44.3)
fog-json (1.0.0)
fog-libvirt (0.3.0)
fog-xml (0.1.1)
formatador (0.2.5)
gdbm (default: 2.0.0)
http-cookie (1.0.2)
httparty (0.16.1)
i18n (0.7.0)
iniparse (1.4.4)
io-console (default: 0.4.6)
ipaddr (default: 1.2.0)
json (default: 2.1.0)
listen (3.1.5)
log4r (1.1.10)
mime-types (3.1)
mime-types-data (3.2015.1120)
minitest (5.10.3)
multi_json (1.12.1)
multi_xml (0.6.0)
net-scp (1.2.1)
net-sftp (2.1.2)
net-ssh (4.2.0)
net-telnet (0.1.1)
netrc (0.11.0)
nokogiri (1.8.2)
oj (3.4.0)
openssl (default: 2.1.0)
overcommit (0.44.0)
parslet (1.8.2)
pkg-config (1.2.9)
power_assert (0.2.7)
psych (default: 3.0.2)
rake (12.3.1)
rake-compiler (1.0.4)
rb-fsevent (0.10.3)
rb-inotify (0.9.7)
rbnacl (5.0.0)
rbnacl-libsodium (1.0.16)
rdoc (default: 6.0.1)
rest-client (2.0.2)
ruby-libvirt (0.7.0)
rubyzip (1.2.1)
sass (3.5.5)
sass-listen (4.0.0)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
sqlite3 (1.3.13)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
test-unit (3.2.5)
thor (0.20.0)
toml (0.2.0)
unf (0.1.4)
unf_ext (0.0.7.4)
vagrant (2.0.2)
vagrant-libvirt (0.0.43)
webrick (default: 1.4.2)
with_env (1.1.0)
xml-simple (1.1.5)
zlib (default: 1.0.0)
```
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages vagrant depends on:
ii bsdtar 3.2.2-3.1
ii curl 7.58.0-2
ii openssh-client 1:7.6p1-4
ii ruby 1:2.5.1
ii ruby-childprocess 0.5.9-1
ii ruby-erubis 2.7.0-3
ii ruby-i18n 0.7.0-2
ii ruby-listen 3.1.5-1
ii ruby-log4r 1.1.10-4
ii ruby-net-scp 1.2.1-5
ii ruby-net-sftp 1:2.1.2-4
ii ruby-net-ssh 1:4.2.0-2
ii ruby-rest-client 2.0.2-3
Versions of packages vagrant recommends:
ii vagrant-libvirt 0.0.43-2
Versions of packages vagrant suggests:
ii virtualbox 5.2.8-dfsg-5
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list