Skip to content

Instantly share code, notes, and snippets.

View pointlessone's full-sized avatar
🍍
Pineapple a day keeps a pinedoctor away

Alexander Mankuta pointlessone

🍍
Pineapple a day keeps a pinedoctor away
View GitHub Profile
@pointlessone
pointlessone / Instructions.md
Created September 8, 2020 14:14
Gentoo, nsswitch.conf, and glibc

Once in a while I get issues intalling glibs. This is the message:

>>> Emerging (1 of 3) sys-libs/glibc-2.32-r1::pointlessone
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * glibc-2.32.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                       [ ok ]
 * glibc-2.32-patches-1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                             [ ok ]
 * locale-gen-2.10.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                  [ ok ]
target :example do
check 'example.rb'
signature 'example.rbs'
end
-=>> which irb
/Users/cheba/.rvm/rubies/rbx-head/bin/irb
-=>> which gem
/Users/cheba/.rvm/rubies/rbx-head/bin/gem
-=>> echo $GEM_PATH
/Users/cheba/.rvm/gems/rbx-head:/Users/cheba/.rvm/gems/rbx-head@global
-=>> echo $GEM_HOME
/Users/cheba/.rvm/gems/rbx-head
-=>> which gem
/Users/cheba/.rvm/rubies/rbx-head/bin/gem
ERROR: While executing gem ... (RuntimeError)
can't modify frozen object
kernel/common/marshal.rb:549:in `construct'
kernel/common/marshal.rb:585:in `construct_array'
kernel/common/integer.rb:194:in `times'
kernel/common/marshal.rb:584:in `construct_array'
kernel/common/marshal.rb:488:in `construct'
kernel/common/marshal.rb:1176:in `load'
/Users/cheba/.rvm/rubies/rbx-head/lib/rubygems/specification.rb:1134:in `_load'
kernel/common/marshal.rb:805:in `construct_user_defined'
ERROR: While executing gem ... (RuntimeError)
can't modify frozen object
kernel/common/marshal.rb:549:in `construct'
kernel/common/marshal.rb:585:in `construct_array'
kernel/common/integer.rb:194:in `times'
kernel/common/marshal.rb:584:in `construct_array'
kernel/common/marshal.rb:488:in `construct'
kernel/common/marshal.rb:1176:in `load'
/Users/cheba/.rvm/rubies/rbx-head/lib/rubygems/specification.rb:1134:in `_load'
kernel/common/marshal.rb:805:in `construct_user_defined'
GEN vm/gen/config_variables.h
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/config_vars.rb vm/gen/config_variables.h
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/encoding_extract.rb /private/tmp/rubinius/vendor/oniguruma vm/gen/encoding_database.cpp
mkdir -p /private/tmp/rubinius/staging//lib/encoding/converter
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/transcoders_extract.rb /private/tmp/rubinius/vendor/oniguruma/enc/trans vm/gen/transcoder_database.cpp
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/field_extract.rb vm/builtin/basicobject.hpp vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/constant_table.hpp vm/builtin/class.hpp vm/builtin/compiledc
[2013-09-23 14:20:20] env
current path: /Users/cheba/.rvm/src/rbx-head
command(8): env /Users/cheba/.rvm/wrappers/ruby-2.0.0-p247@rubinius/ruby ./configure --prefix=/Users/cheba/.rvm/rubies/rbx-head --with-opt-dir=/usr/local/opt/libyaml --with-opt-dir=/usr/local/opt/readline ❯
ERROR: Your gem push credentials file located at:
/Users/cheba/.gem/credentials
has file permissions of 0644 but 0600 is required.
To fix this error run:
[2013-09-23 13:58:11] env
current path: /Users/cheba/.rvm/src/rbx-head
command(8): env /Users/cheba/.rvm/wrappers/ruby-2.0.0-p247/ruby ./configure --prefix=/Users/cheba/.rvm/rubies/rbx-head --with-opt-dir=/usr/local/opt/libyaml --with-opt-dir=/usr/local/opt/readline --with-opt-dir=/usr/local/opt/libksba --with-opt-dir=/usr/local/opt/openssl
/Users/cheba/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:296:in `resolve': Could not find gem 'rubinius-ast (~> 2.0) ruby' in the gems available on this machine. (Bundler::GemNotFound)
from /Users/cheba/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:168:in `start'
from /Users/cheba/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:129:in `block in resolve'
from /Users/cheba/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:128:in `catch'
from /Users/cheba/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:128:in `resolve'
from /Use
CALL COUNT
__disable_threadsignal 1
__mac_syscall 1
__semwait_signal 1
access 1
audit_session_self 1
bsdthread_create 1
bsdthread_register 1
bsdthread_terminate 1
exit 1
@pointlessone
pointlessone / gist:5886974
Created June 28, 2013 18:39
Rubinius Crash Report #rbxcrashreport
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
[[System Info]]
sysname: Darwin
nodename: Ches-MBP.local
release: 12.4.0