Skip to content

Instantly share code, notes, and snippets.

View bdha's full-sized avatar
☂️
ಠ_ಠ

Bryan Horstmann-Allen bdha

☂️
ಠ_ಠ
View GitHub Profile
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/local/bin/ruby200 extconf.rb
creating Makefile
Compiling v8 for x64
Using python 2.7.9
Using compiler: /opt/local/bin/c++ (GCC version 2.11)
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
../src/checks.cc:110:3: fatal error: opening dependency file /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/.deps//var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o.d.raw: No such file or directory
[root@gp1 (us-east-1) ~]# vmadm list | grep damson
7913a1eb-91c1-6f60-9c28-c1e7449fb4b1 LX 2048 running damson0.dev
b8a1392c-9b92-ca47-a433-cd3928ba7e56 LX 2048 running damson1.dev
f79b1c8f-75e7-4c12-9e0e-daceb8b99d9b LX 2048 running damson2.dev
# uname -a
SunOS damson0.dev.helium.systems 5.11 joyent_20150430T051511Z i86pc i386 i86pc
# zonename
7913a1eb-91c1-6f60-9c28-c1e7449fb4b1
[20150625-02:47:45]::[root@lx-test]:[~]# /native/usr/sbin/dtrace -n 'syscall:::entry /execname == "snapboard"/ { @num[probefunc] = count(); }'
dtrace: description 'syscall:::entry ' matched 233 probes
^C
lwp_continue 2
lwp_create 2
mprotect 2
processor_bind 2
schedctl 2
yield 2
{
"v": "1",
"creator_uuid": "00000000-0000-0000-0000-000000000000",
"uuid": "4166453a-9408-11e5-9b45-f73b5f117b18",
"name": "omnios",
"version": "r151016",
"description": "OmniOS",
"state": "active",
"public": true,
"disabled": false,
[root@headnode (nyc-1) ~]# zpool status -v
pool: zones
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zones ONLINE 0 0 0
c3t5000CCA0153E92E9d0 ONLINE 0 0 0
logs
"filesystems": [
{
"source": "/opt/chef",
"target": "/opt/chef",
"options": [ "ro" ],
"type": "lofs"
},
admin@ip-172-31-2-30:~$ sudo su - operable
operable@ip-172-31-2-30:~$ ./setup.sh
Loading environemnt variables from /home/operable/cog.vars.
Erlang installed...../usr/local/bin/erl
Elixir installed...../usr/local/bin/iex
Mix installed...../usr/local/bin/mix
Make installed...../usr/bin/make
Git installed...../usr/bin/git
Erlang dirty CPU schedulers supported.....Yes
Prequisite checks completed.
#!/usr/bin/env perl
use File::Basename;
my $WORKDIR=$ENV{PWD};
my $PKGDIR=$WORKDIR . "/chef";
chdir $PKGDIR;
my $file = "pkgmap";
open my $fh, '<', $file or die "Could not open '$file' $!";
/opt/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': ld.so.1: ruby22: fatal: relocation error: file /opt/local/lib/ruby/2.2.0/x86_64-solaris2.11/openssl.so: symbol SSLv2_method: referenced symbol not found - /opt/local/lib/ruby/2.2.0/x86_64-solaris2.11/openssl.so (LoadError)
#!/bin/bash -e
# This script translates a Solaris SVR4 Chef Omnibus package into a tarball.
# It parses the pkgmap to set up required symlinks, tars, and drops the file in
# /var/tmp.
CHEF_VERSION=12.3.0-1
PKG_ROOT=/var/tmp/chef-$CHEF_VERSION