Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

gcc: WARN
gcc: WARN The following runtime dependencies have more than one version
gcc: WARN release in the full dependency chain:
gcc: WARN
gcc: WARN * core/gmp ( core/gmp/6.1.2/20170526062114 core/gmp/6.1.0/20170513202112 )
gcc: WARN
gcc: WARN The current situation usually arises when a Plan has a direct
gcc: WARN dependency on one version of a package (`acme/A/7.0/20160101200001`)
gcc: WARN and has a direct dependency on another package which itself depends
gcc: WARN on another version of the same package (`acme/A/2.0/20151201060001`).
@smith
smith / gist:94f365a71c4be25f08d732efefc13258
Created June 9, 2017 20:59
output from building opam
: Loading /src/opam/plan.sh
opam: Plan loaded
opam: Validating plan metadata
opam: hab-plan-build setup
opam: Using HAB_BIN=/hab/pkgs/core/hab/0.24.1/20170522083228/bin/hab for installs, signing, and hashing
opam: Resolving build dependencies
opam: Resolving run dependencies
» Installing core/aspcud
opam: Resolved dependency 'core/aspcud' to /hab/pkgs/core/aspcud/1.9.1/20170609203426
» Installing core/camlp4
@smith
smith / deps
Created February 21, 2017 17:11
frog-hornets-nest/automate/0.7.0-dev/20170221170131
frog-hornets-nest/automate-ctl/0.1.0/20170217222334
core/coreutils/8.25/20161208223423
core/glibc/2.22/20160612063629
core/linux-headers/4.3/20160612063537
core/acl/2.2.52/20161208223311
core/glibc/2.22/20160612063629
core/linux-headers/4.3/20160612063537
core/attr/2.4.47/20161208223238
core/glibc/2.22/20160612063629
@smith
smith / plan.sh
Created February 15, 2017 04:50
Lua 5.1 plan
pkg_origin=core
pkg_name=lua
pkg_version=5.1.5
pkg_description="A powerful, efficient, lightweight, embeddable scripting language"
pkg_upstream_url="https://www.lua.org/"
pkg_license=("MIT")
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_source="https://www.lua.org/ftp/lua-${pkg_version}.tar.gz"
pkg_shasum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
pkg_deps=(core/glibc core/readline core/ncurses)
@smith
smith / habitat.fish
Created November 28, 2016 20:31
generated fish completions
function __fish_using_command
set cmd (commandline -opc)
if [ (count $cmd) -eq (count $argv) ]
for i in (seq (count $argv))
if [ $cmd[$i] != $argv[$i] ]
return 1
end
end
return 0
end
@smith
smith / with RUST_LOG=debug
Last active November 9, 2016 21:23
what does it mean
[194][default:/src:0]# hab pkg exec smith/delivery-ctl delivery-ctl help
✗✗✗
✗✗✗ Exec format error (os error 8)
✗✗✗
[195][default:/src:1]# echo $?
1
[196][default:/src:0]# env PATH=$(hab pkg path core/ruby)/bin:$PATH $(hab pkg path smith/delivery-ctl)/bin/delivery-ctl help
omnibus-ctl: command (subcommand)
General Commands:
cleanse
# From running `shellcheck --exclude=SC1090,SC1091,SC2034,SC2039,SC2148,SC2153,SC2154 dotnet-core/plan.sh powershell/plan.sh`:
In dotnet-core/plan.sh line 38:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In dotnet-core/plan.sh line 40:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
[106][default:/hab/pkgs/smith/dotnet-core/1.0.0-preview2-003121/20160723182725/shared/Microsoft.NETCore.App/1.0.0:0]# ldd *.so
System.Globalization.Native.so:
linux-vdso.so.1 (0x00007fffe695b000)
libicuuc.so.50 => not found
libicui18n.so.50 => not found
libstdc++.so.6 => not found
libm.so.6 => /hab/pkgs/core/glibc/2.22/20160612063629/lib/libm.so.6 (0x00007fa84cb83000)
libgcc_s.so.1 => not found
libc.so.6 => /hab/pkgs/core/glibc/2.22/20160612063629/lib/libc.so.6 (0x00007fa84c7df000)
/hab/pkgs/core/glibc/2.22/20160612063629/lib64/ld-linux-x86-64.so.2 (0x0000564019dd1000)
@smith
smith / habitat-notes.md
Last active August 25, 2017 17:59
Habitat Notes

Habitat Notes

Things I'm learning while using Habitat, written down so I remember them.

Cache artifacts in a Mac studio

export HAB_DOCKER_OPTS="-v /Users/nathansmith/.hab/cache/artifacts /hab/studios/src/hab/cache/artifacts"

Find reverse dependencies for a package