mankyKitty / fantastic-waddle

Generative Art Experiments using Haskell, GHCJS, and Reflex (FRP)
19 stars 4 forks source link

Build error on Ubuntu 18.04 #2

Open newhoggy opened 5 years ago

newhoggy commented 5 years ago

I get the following build error on Ubuntu 18.04:

nix-user@nixuser-virtualbox:~/local-wrk/fantastic-waddle$ ob run
./.obelisk/impl: command not cached, building ...
Ctrl+e pressed; making output verbose (-v)
these derivations will be built:
  /nix/store/f1qhnrjqa0ywi2r8gvg6zq4lnlmzw6q4-go-1.4-bootstrap-20161024.drv
  /nix/store/0xzgxvdfjk6zk2jcjvxnmma2sy66v65g-go-bootstrap.drv
  /nix/store/ymib2p831hzm4f05qqavy2yvcvbqhlhr-uuid-types-1.0.3.drv
  /nix/store/4knzk5ags8zapkjsjl73l03g0slg9dki-aeson-1.2.2.0.drv
  /nix/store/3ppd0ddbf9f9gawxiyfg0vpdh7nrd5z8-aeson-qq-0.8.2.drv
  /nix/store/5sqk9frjybrhs1qv4gqriq1317r1ffds-yaml-0.8.23.3.drv
  /nix/store/4p1yd4l3yzf06yklixsglm9m21mkjcqd-aeson-compat-0.3.6.drv
  /nix/store/rgnkr2q6kkjl54689jqsvwivxkwblrmk-x509-1.7.2.drv
  /nix/store/xcwf4fd7kkvan51bjm3yjqy2gn4f3rq1-x509-store-1.6.5.drv
  /nix/store/4m8h9j2bsrp572z2vlz9y8m2953rc19x-x509-system-1.6.6.drv
  /nix/store/hxz3fr4zd2gq6cxljmynqmp03xlfpdr6-x509-validation-1.6.9.drv
  /nix/store/m9npxizpf52x27cvy14mcrbvj7bbi4nr-tls-1.3.11.drv
  /nix/store/7pkli1566izvn78az6axby5al68gq8nh-connection-0.2.8.drv
  /nix/store/55r9f2868bpg3zmfg5vf8zqf5xgg7d9a-http-client-tls-0.3.5.1.drv
  /nix/store/q5d67az4da0ir3znwcxr54ns8xiw2i9n-vector-instances-3.4.drv
  /nix/store/wjmagzffd17nb7qlidhvvhh0swv5mwvk-vector-binary-instances-0.2.3.5.drv
  /nix/store/r1lqrcpl5pb2ppfsyyr0rbpl67fhd7kf-binary-orphans-0.1.6.0.drv
  /nix/store/smjb9hh89wc32r909lbvwaglakz1ms8h-uri-bytestring-0.2.3.3.drv
  /nix/store/bbai9vmkb1n7sp0ff085i7a10j5s8z17-http-api-data-0.3.7.1.drv
  /nix/store/fnf9qfg6c6bnbbdc7s8mpm6rnf39w6ng-unexceptionalio-0.3.0.drv
  /nix/store/lcb7vvk9dm70ssj31kc3184xzcpdwx6r-errors-2.2.2.drv
  /nix/store/ryrjv2kr7lilrd9zlwv49gywyqgbxzvy-http-link-header-1.0.3.drv
  /nix/store/jrw2n5pazvfnas82vviw1aja451v4f14-github-0.16.0.drv
  /nix/store/n5w6xcrqp03kj8093xrzjqxq0qnx6lxl-aeson-pretty-0.8.5.drv
  /nix/store/42pa0507qjwyn0s2szww4il3dl2d0aaa-obelisk-command-0.1.drv
  /nix/store/cxsw2w9z4g2qh2gki33yp1gihyn9gnj7-go-1.9.drv
  /nix/store/a2a7scgfxpbqif4krlk7bbm0775x1mks-hub-2.2.9.drv
  /nix/store/ll4ikh5irsi3gpghdg3ggv9n3qr3y5d6-obelisk-command-0.1.drv
building '/nix/store/f1qhnrjqa0ywi2r8gvg6zq4lnlmzw6q4-go-1.4-bootstrap-20161024.drv'...
unpacking sources
unpacking source archive /nix/store/kqph82736vz5w3fh0ar9xa6dg9xdf0ml-79d85a4965ea7c46db483314c3981751909d7883.tar.gz
source root is go-79d85a4965ea7c46db483314c3981751909d7883
/nix/store/j1ly0zzpnzb8y8ry6k4vi4prk8vwq233-set-source-date-epoch-to-latest.sh: line 7: warning: command substitution: ignored null byte in input
setting SOURCE_DATE_EPOCH to timestamp 1477362498 of file go-79d85a4965ea7c46db483314c3981751909d7883/test/zerodivide.go
patching sources
patching script interpreter paths in ./
./doc/progs/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./doc/progs/update.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./doc/codewalk/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./doc/articles/wiki/test.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./lib/time/update.bash: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./lib/codereview/test.sh: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/git/pre-commit: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./misc/arm/a: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/makerelease/darwin/scripts/preinstall: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/makerelease/darwin/scripts/postinstall: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/cgo/testso/test.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/nacl/go_nacl_amd64p32_exec: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/nacl/go_nacl_386_exec: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/nacl/go_nacl_arm_exec: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./misc/benchcmp: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./test/bench/shootout/timing.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./test/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/nacltest.bash: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/cmd/gc/mkbuiltin: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./src/cmd/gc/bisonerrors: interpreter directive changed from "/usr/bin/awk -f" to "/nix/store/kdv4ckxy78n18348f65q6r28yr7hwdlf-gawk-4.1.4/bin/awk -f"
./src/cmd/gc/mkopnames: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./src/cmd/go/mkdoc.sh: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./src/cmd/go/script: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./src/cmd/go/test.bash: interpreter directive changed from "/bin/bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/clean.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/syscall/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/syscall/mksysnum_plan9.sh: interpreter directive changed from "/bin/sh" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/sh"
./src/syscall/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/androidtest.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/all.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/race.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
/nix/store/xfgjfjcq34fwfbfi1idp2nh81kpigch7-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/xfgjfjcq34fwfbfi1idp2nh81kpigch7-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
./src/make.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/sudo.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
./src/run.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x3b5ybd9wizph5xm3zwnfrpsg6vnym28-bash-4.4-p12/bin/bash"
applying patch /nix/store/609lpv5y8931waya24xhvqcvds9dlhcw-remove-tools-1.4.patch
patching file misc/makerelease/makerelease.go
patching file src/cmd/dist/build.c
patching file src/cmd/go/pkg.go
patching file src/go/build/build.go
patching file src/runtime/extern.go
applying patch /nix/store/rg4cccxd0n1hh6qn4z0dcaqhayix7l2n-creds-test-1.4.patch
patching file src/syscall/creds_test.go
applying patch /nix/store/1x6qz496idarcyi5x4r61m5w2dldmwcn-91563ced5897faf729a34be7081568efcfedda31.patch
patching file src/time/format_test.go
Hunk #1 succeeded at 183 (offset -62 lines).
Hunk #2 succeeded at 229 (offset -62 lines).
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
libbio
liblink
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
/nix/store/6q173nk6vzpg6rkdw8zsa5gh9rn94jbq-go-1.4-bootstrap-20161024/share/go/src/cmd/6c/txt.c: In function 'gmove':
/nix/store/6q173nk6vzpg6rkdw8zsa5gh9rn94jbq-go-1.4-bootstrap-20161024/share/go/src/cmd/6c/txt.c:995:28: warning: left shift of negative value [-Wshift-negative-value]
     f->vconst |= (vlong)~0 << 32;
                            ^~
/nix/store/6q173nk6vzpg6rkdw8zsa5gh9rn94jbq-go-1.4-bootstrap-20161024/share/go/src/cmd/6c/txt.c:1045:28: warning: left shift of negative value [-Wshift-negative-value]
     f->vconst |= (vlong)~0 << 32;
                            ^~
cmd/6g
runtime
errors
sync/atomic
sync
io
unicode
unicode/utf8
unicode/utf16
bytes
math
strings
strconv
bufio
sort
container/heap
encoding/base64
syscall
time
os
reflect
fmt
encoding
encoding/json
flag
path/filepath
path
io/ioutil
log
regexp/syntax
regexp
go/token
go/scanner
go/ast
go/parser
os/exec
os/signal
net/url
text/template/parse
text/template
go/doc
go/build
cmd/go

# Building packages and commands for linux/amd64.
runtime
errors
sync/atomic
unicode
unicode/utf8
math
sort
sync
container/heap
encoding
io
syscall
hash
bytes
strings
bufio
text/tabwriter
unicode/utf16
hash/crc32
path
container/list
crypto/subtle
html
crypto/cipher
time
crypto/hmac
internal/syscall
strconv
math/rand
compress/bzip2
hash/adler32
container/ring
hash/crc64
os
reflect
regexp/syntax
crypto
crypto/md5
encoding/base64
net/url
path/filepath
crypto/aes
regexp
crypto/rc4
io/ioutil
os/exec
fmt
encoding/binary
crypto/sha1
crypto/des
crypto/sha256
crypto/sha512
encoding/pem
net
os/signal
cmd/pprof/internal/svg
cmd/internal/goobj
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
debug/dwarf
debug/gosym
debug/elf
debug/macho
debug/pe
debug/plan9obj
flag
log
go/token
cmd/internal/objfile
encoding/json
go/scanner
encoding/xml
go/ast
cmd/addr2line
go/parser
go/printer
text/template/parse
compress/flate
text/template
cmd/cgo
go/format
cmd/fix
go/doc
compress/gzip
math/big
go/build
crypto/elliptic
encoding/asn1
crypto/rand
crypto/rsa
crypto/ecdsa
crypto/dsa
crypto/x509/pkix
encoding/hex
mime
crypto/x509
net/textproto
net/http/internal
mime/multipart
runtime/pprof
cmd/nm
cmd/gofmt
crypto/tls
cmd/objdump
cmd/pack
net/http
cmd/pprof/internal/profile
html/template
cmd/pprof/internal/plugin
cmd/pprof/internal/tempfile
cmd/pprof/internal/symbolz
cmd/pprof/internal/symbolizer
cmd/yacc
archive/tar
cmd/pprof/internal/report
cmd/go
cmd/pprof/internal/fetch
archive/zip
cmd/pprof/internal/commands
cmd/pprof/internal/driver
compress/lzw
compress/zlib
database/sql/driver
encoding/ascii85
database/sql
cmd/pprof
encoding/base32
encoding/csv
encoding/gob
expvar
hash/fnv
image/color
image
image/color/palette
image/draw
image/jpeg
image/gif
image/png
index/suffixarray
log/syslog
math/cmplx
net/http/cgi
net/http/cookiejar
net/http/httptest
net/http/fcgi
net/http/httputil
net/http/pprof
net/mail
net/rpc
net/smtp
os/user
runtime/debug
runtime/race
net/rpc/jsonrpc
testing
testing/iotest
testing/quick
text/scanner

# Testing packages.
ok      cmd/addr2line   0.580s
?       cmd/cgo [no test files]
ok      cmd/fix 0.020s
ok      cmd/go  0.010s
ok      cmd/gofmt       0.042s
ok      cmd/nm  0.635s
ok      cmd/objdump     1.620s
ok      cmd/pack        2.740s
?       cmd/pprof       [no test files]
?       cmd/yacc        [no test files]
ok      archive/tar     0.011s
ok      archive/zip     0.390s
ok      bufio   0.123s
ok      bytes   0.070s
ok      cmd/internal/goobj      0.005s
?       cmd/internal/objfile    [no test files]
?       cmd/pprof/internal/commands     [no test files]
?       cmd/pprof/internal/driver       [no test files]
?       cmd/pprof/internal/fetch        [no test files]
?       cmd/pprof/internal/plugin       [no test files]
?       cmd/pprof/internal/profile      [no test files]
?       cmd/pprof/internal/report       [no test files]
?       cmd/pprof/internal/svg  [no test files]
?       cmd/pprof/internal/symbolizer   [no test files]
?       cmd/pprof/internal/symbolz      [no test files]
?       cmd/pprof/internal/tempfile     [no test files]
ok      compress/bzip2  0.056s
ok      compress/flate  0.485s
ok      compress/gzip   0.012s
ok      compress/lzw    0.087s
ok      compress/zlib   1.200s
ok      container/heap  0.006s
ok      container/list  0.003s
ok      container/ring  0.018s
?       crypto  [no test files]
ok      crypto/aes      0.046s
ok      crypto/cipher   0.007s
ok      crypto/des      0.011s
ok      crypto/dsa      0.011s
ok      crypto/ecdsa    0.020s
ok      crypto/elliptic 0.050s
ok      crypto/hmac     0.004s
ok      crypto/md5      0.007s
ok      crypto/rand     0.024s
ok      crypto/rc4      0.159s
ok      crypto/rsa      0.185s
ok      crypto/sha1     0.008s
ok      crypto/sha256   0.005s
ok      crypto/sha512   0.005s
ok      crypto/subtle   0.014s
ok      crypto/tls      1.223s
ok      crypto/x509     1.213s
?       crypto/x509/pkix        [no test files]
ok      database/sql    0.046s
ok      database/sql/driver     0.006s
ok      debug/dwarf     0.006s
ok      debug/elf       0.033s
ok      debug/gosym     0.235s
ok      debug/macho     0.006s
ok      debug/pe        0.023s
ok      debug/plan9obj  0.004s
?       encoding        [no test files]
ok      encoding/ascii85        0.007s
ok      encoding/asn1   0.005s
ok      encoding/base32 0.005s
ok      encoding/base64 0.005s
ok      encoding/binary 0.004s
ok      encoding/csv    0.004s
ok      encoding/gob    0.087s
ok      encoding/hex    0.005s
ok      encoding/json   0.171s
ok      encoding/pem    0.004s
ok      encoding/xml    0.025s
ok      errors  0.003s
ok      expvar  0.010s
ok      flag    0.008s
ok      fmt     0.088s
ok      go/ast  0.007s
ok      go/build        0.178s
ok      go/doc  0.135s
ok      go/format       0.037s
ok      go/parser       0.030s
ok      go/printer      0.421s
ok      go/scanner      0.010s
ok      go/token        0.040s
?       hash    [no test files]
ok      hash/adler32    0.012s
ok      hash/crc32      0.005s
ok      hash/crc64      0.006s
ok      hash/fnv        0.006s
ok      html    0.005s
ok      html/template   0.047s
ok      image   0.112s
ok      image/color     0.012s
?       image/color/palette     [no test files]
ok      image/draw      0.087s
ok      image/gif       0.084s
ok      image/jpeg      0.221s
ok      image/png       0.047s
ok      index/suffixarray       0.011s
?       internal/syscall        [no test files]
ok      io      0.029s
ok      io/ioutil       0.006s
ok      log     0.009s
ok      log/syslog      2.037s
ok      math    0.004s
ok      math/big        0.264s
ok      math/cmplx      0.005s
ok      math/rand       0.160s
ok      mime    0.006s
ok      mime/multipart  0.201s
ok      net     1.719s
ok      net/http        7.306s
ok      net/http/cgi    0.054s
ok      net/http/cookiejar      0.022s
ok      net/http/fcgi   0.006s
ok      net/http/httptest       0.009s
ok      net/http/httputil       0.018s
ok      net/http/internal       0.005s
?       net/http/pprof  [no test files]
ok      net/mail        0.010s
ok      net/rpc 0.018s
ok      net/rpc/jsonrpc 0.017s
ok      net/smtp        0.026s
ok      net/textproto   0.005s
ok      net/url 0.006s
--- FAIL: TestChown (0.00s)
        os_unix_test.go:51: gid: 100
        os_unix_test.go:63: groups:  [65534 65534 65534 65534 65534 65534 65534 65534 100]
        os_unix_test.go:66: chown /tmp/_Go_TestChown205965034 -1 65534: chown /tmp/_Go_TestChown205965034: invalid argument
FAIL
FAIL    os      0.633s
ok      os/exec 0.160s
ok      os/signal       1.538s
ok      os/user 0.003s
ok      path    0.003s
ok      path/filepath   0.021s
ok      reflect 0.042s
ok      regexp  0.130s
ok      regexp/syntax   0.390s
ok      runtime 9.700s
ok      runtime/debug   0.008s
ok      runtime/pprof   6.342s
?       runtime/race    [no test files]
ok      sort    0.063s
ok      strconv 0.187s
ok      strings 0.072s
ok      sync    0.112s
ok      sync/atomic     0.207s
ok      syscall 0.025s
ok      testing 1.174s
?       testing/iotest  [no test files]
ok      testing/quick   0.031s
ok      text/scanner    0.005s
ok      text/tabwriter  0.006s
ok      text/template   0.029s
ok      text/template/parse     0.012s
ok      time    2.506s
ok      unicode 0.005s
ok      unicode/utf16   0.003s
ok      unicode/utf8    0.011s
?       unsafe  [no test files]

real    0m35.489s
user    1m26.847s
sys     0m18.824s
builder for '/nix/store/f1qhnrjqa0ywi2r8gvg6zq4lnlmzw6q4-go-1.4-bootstrap-20161024.drv' failed with exit code 1
cannot build derivation '/nix/store/cxsw2w9z4g2qh2gki33yp1gihyn9gnj7-go-1.9.drv': 1 dependencies couldn't be built
building '/nix/store/fnf9qfg6c6bnbbdc7s8mpm6rnf39w6ng-unexceptionalio-0.3.0.drv'...
cannot build derivation '/nix/store/a2a7scgfxpbqif4krlk7bbm0775x1mks-hub-2.2.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ll4ikh5irsi3gpghdg3ggv9n3qr3y5d6-obelisk-command-0.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ll4ikh5irsi3gpghdg3ggv9n3qr3y5d6-obelisk-command-0.1.drv' failed
Process exited with code 100; 'nix-build' './.obelisk/impl' '-A' 'command' '--out-link' './.obelisk/impl/.attr-cache/command.out'
✖ Running nix-build on ./.obelisk/impl [command]
mankyKitty commented 5 years ago

That build failure is coming from build the go compiler, I think because of the hub dependency.

I would investigate whether all the required binary caches are in place.