Skip to content

Instantly share code, notes, and snippets.

@masone
Created July 15, 2015 20:34
Show Gist options
  • Save masone/d842f4f09bdaa5736b56 to your computer and use it in GitHub Desktop.
Save masone/d842f4f09bdaa5736b56 to your computer and use it in GitHub Desktop.
❯ gpsh heroku
Counting objects: 524, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (477/477), done.
Writing objects: 100% (524/524), 5.51 MiB | 664.00 KiB/s, done.
Total 524 (delta 72), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-go
remote: =====> Detected Framework: Go
remote: -----> Checking Godeps/Godeps.json file.
remote: -----> Installing go1.4.2... done
remote: -----> Running: godep go install -tags heroku ./...
remote: # github.com/martinhpedersen/libfap-go
remote: Godeps/_workspace/src/github.com/martinhpedersen/libfap-go/fap.go:7:17: fatal error: fap.h: No such file or directory
remote: #include <fap.h>
remote: ^
remote: compilation terminated.
remote: godep: go exit status 2
remote:
remote: ! Push rejected, failed to compile Multipack app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to ogn.
remote:
To [email protected]:ogn.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:ogn.git'
heroku run bash
~ $ echo $CGO_LDFLAGS
-L/app/.dpkg/usr/lib
~ $ echo $CGO_CFLAGS
-I/app/.dpkg/usr/include
~ $ ls /app/.dpkg/usr/lib
libfap.a libfap.so libfap.so.6 libfap.so.6.0.0 pkgconfig
~ $ ls /app/.dpkg/usr/include
fap.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment