Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nuclearsandwich
Created January 17, 2017 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuclearsandwich/a429552a22420939ca7ad1951d924b2e to your computer and use it in GitHub Desktop.
Save nuclearsandwich/a429552a22420939ca7ad1951d924b2e to your computer and use it in GitHub Desktop.
Attempting to build for arm.
fish$ env GOARCH=arm GOOS=linux buffalo build -o perfect-doors-arm
Buffalo version 0.7.0
--> running webpack
Hash: 14f5aea55408a4ae8362
Version: webpack 1.14.0
Time: 1922ms
Asset Size Chunks Chunk Names
af7ae505a9eed503f8b8e6982036873e.woff2 77.2 kB [emitted]
f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted]
fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted]
e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted]
89889688147bd7575d6327160d64e760.svg 109 kB [emitted]
674f50d287a8c48dc19ba404d20fe713.eot 166 kB [emitted]
448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted]
fee66e712a8a08eef5805a46892932ad.woff 98 kB [emitted]
b06871f281fee6b241d60582ae9369b9.ttf 166 kB [emitted]
912ec66d7572ff821749319396470bde.svg 444 kB [emitted]
application.js 372 kB 0 [emitted] main
application.css 183 kB 0 [emitted] main
images/logo.svg 66 kB [emitted]
[0] multi main 52 bytes {0} [built]
+ 21 hidden modules
Child extract-text-webpack-plugin:
+ 15 hidden modules
--> running go build -v -o perfect-doors-arm -ldflags -X main.version=2a86a30 -X main.buildTime="2017-01-17T10:00:44-08:00"
runtime/internal/sys
runtime/internal/atomic
runtime
internal/race
errors
math
unicode/utf8
sync/atomic
unicode
sort
container/list
crypto/subtle
internal/nettrace
github.com/markbates/going/defaults
encoding
unicode/utf16
golang.org/x/net/html/atom
github.com/lib/pq/oid
github.com/mattn/anko/ast
container/heap
sync
io
syscall
internal/singleflight
github.com/markbates/going/wait
hash
crypto/cipher
hash/crc32
hash/adler32
crypto/hmac
hash/fnv
bytes
strings
github.com/shurcooL/sanitized_anchor_name
strconv
math/rand
path
vendor/golang_org/x/net/lex/httplex
html
bufio
github.com/sourcegraph/annotate
reflect
crypto
crypto/aes
encoding/base64
regexp/syntax
crypto/rc4
encoding/base32
time
crypto/sha512
crypto/md5
internal/syscall/unix
crypto/sha1
crypto/sha256
encoding/pem
github.com/mattn/go-isatty
golang.org/x/sys/unix
regexp
os
path/filepath
github.com/mattn/go-colorable
os/signal
fmt
encoding/binary
github.com/jmoiron/sqlx/reflectx
io/ioutil
crypto/des
compress/flate
github.com/GeertJohan/go.rice/embedded
debug/dwarf
github.com/kardianos/osext
log
context
math/big
encoding/hex
vendor/golang_org/x/net/http2/hpack
mime
mime/quotedprintable
net
net/http/internal
net/url
perfect-doors/a
encoding/json
encoding/xml
github.com/aymerick/raymond/ast
github.com/aymerick/raymond/lexer
archive/zip
compress/zlib
debug/macho
debug/pe
debug/elf
compress/gzip
github.com/aymerick/raymond/parser
github.com/Sirupsen/logrus
github.com/markbates/inflect
github.com/pkg/errors
golang.org/x/net/html
github.com/russross/blackfriday
github.com/sergi/go-diff/diffmatchpatch
crypto/elliptic
github.com/daaku/go.zipexe
encoding/asn1
crypto/rand
crypto/rsa
crypto/dsa
github.com/dustin/go-humanize
text/scanner
text/template/parse
crypto/ecdsa
crypto/x509/pkix
go/token
github.com/gobuffalo/envy
net/textproto
net/http/httptrace
github.com/gorilla/schema
crypto/x509
github.com/microcosm-cc/bluemonday
encoding/gob
github.com/markbates/going/randx
go/scanner
mime/multipart
github.com/fatih/color
github.com/fsnotify/fsnotify
os/exec
gopkg.in/yaml.v2
database/sql/driver
os/user
text/template
github.com/markbates/pop/columns
github.com/mattn/anko/parser
database/sql
crypto/tls
github.com/mitchellh/go-homedir
github.com/markbates/going/clam
flag
github.com/daviddengcn/go-colortext
github.com/markbates/validate
github.com/gorilla/securecookie
github.com/jmoiron/sqlx
golang.org/x/net/context
github.com/sourcegraph/syntaxhighlight
html/template
github.com/mattn/go-sqlite3
# github.com/mattn/go-sqlite3
../github.com/mattn/go-sqlite3/tracecallback_noimpl.go:39: undefined: Error
github.com/satori/go.uuid
github.com/shurcooL/highlight_diff
github.com/shurcooL/highlight_go
github.com/mattn/anko/vm
github.com/newrelic/go-agent/internal/jsonx
github.com/newrelic/go-agent/internal/logger
github.com/shurcooL/github_flavored_markdown
github.com/newrelic/go-agent/internal/sysinfo
perfect-doors/models/relay
github.com/markbates/refresh/refresh
github.com/gobuffalo/velvet
net/http
github.com/go-sql-driver/mysql
github.com/lib/pq
github.com/mattn/anko/builtins/encoding/json
github.com/mattn/anko/builtins/errors
github.com/mattn/anko/builtins/flag
github.com/mattn/anko/builtins/fmt
github.com/mattn/anko/builtins/github.com/daviddengcn/go-colortext
github.com/mattn/anko/builtins/io
github.com/mattn/anko/builtins/io/ioutil
github.com/mattn/anko/builtins/math
github.com/mattn/anko/builtins/math/rand
github.com/mattn/anko/builtins/net
github.com/mattn/anko/builtins/net/url
github.com/mattn/anko/builtins/os
github.com/mattn/anko/builtins/os/exec
github.com/mattn/anko/builtins/os/signal
github.com/mattn/anko/builtins/path
github.com/mattn/anko/builtins/path/filepath
github.com/mattn/anko/builtins/regexp
github.com/mattn/anko/builtins/runtime
github.com/mattn/anko/builtins/sort
github.com/mattn/anko/builtins/strings
github.com/mattn/anko/builtins/time
github.com/GeertJohan/go.rice
github.com/gorilla/websocket
github.com/gorilla/context
github.com/gorilla/mux
github.com/mattn/anko/builtins/net/http
github.com/markbates/refresh/refresh/web
github.com/newrelic/go-agent/internal
github.com/newrelic/go-agent/internal/utilization
github.com/gorilla/sessions
github.com/mattn/anko/builtins
github.com/gobuffalo/buffalo/render/resolvers
github.com/gobuffalo/buffalo/render
github.com/markbates/pop/fizz
github.com/markbates/pop/fizz/translators
github.com/gobuffalo/buffalo
github.com/newrelic/go-agent
--> cleaning up build
--> cleaning up buffalo_build_main.go
--> cleaning up a
--> cleaning up a/a.go
--> cleaning up a/database.go
--> cleaning up buffalo_build_main.go
Error: exit status 2
Usage:
buffalo build [flags]
Aliases:
build, b, bill
Flags:
-o, --output string set the name of the binary (default "bin/perfect-doors")
-z, --zip zips the assets to the binary, this requires zip installed
exit status 2
@markbates
Copy link

The problem is definitely SQLite. :( I wasn't able to reproduce the problem until I pulled down the latest version of github.com/mattn/go-sqlite3. Looks like he broke the package again.

@markbates
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment