Created
April 3, 2019 03:08
-
-
Save GauntletWizard/f09ea6a692267af4bb2f83fcdcc10ba2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### What version of rules_go are you using? | |
| 0.18.1 | |
| ### What version of gazelle are you using? | |
| 0.15.0 | |
| ### What version of Bazel are you using? | |
| 0.24.0 | |
| ### Does this issue reproduce with the latest releases of all the above? | |
| ### What operating system and processor architecture are you using? | |
| Ubuntu Linux 16.04 in a docker container on OSX (cpuinfo shows i7-4770HQ, flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm kaiser fsgsbase bmi1 avx2 bmi2 erms xsaveopt arat) | |
| ### Any other potentially useful information about your toolchain? | |
| I have tested my repository on my development workstation (OSX 10.14.3, Bazel 0.21.0) and had no problems. | |
| ### What did you do? | |
| I ran `bazel build ...` on a simple test repository: https://gitlab.com/gauntletwizard/bazel-go | |
| ### What did you expect to see? | |
| I expected builds to complete | |
| ### What did you see instead? | |
| SUBCOMMAND: # @io_bazel_rules_go//:stdlib [action 'GoStdlib external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib%/pkg'] | |
| (cd /root/.cache/bazel/_bazel_root/59780dcb742d55c0fe9af6a012f9b672/execroot/__main__ && \ | |
| exec env - \ | |
| CC=/usr/bin/gcc \ | |
| CGO_CFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted"' \ | |
| CGO_ENABLED=0 \ | |
| CGO_LDFLAGS='-fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lstdc++ -lm' \ | |
| GOARCH=amd64 \ | |
| GOOS=linux \ | |
| GOROOT=external/go_sdk \ | |
| GOROOT_FINAL=GOROOT \ | |
| PATH=/usr/bin:/bin \ | |
| bazel-out/host/bin/external/go_sdk/builder stdlib -sdk external/go_sdk -installsuffix linux_amd64 -out bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib%) | |
| ERROR: /root/.cache/bazel/_bazel_root/59780dcb742d55c0fe9af6a012f9b672/external/io_bazel_rules_go/BUILD.bazel:8:1: GoStdlib external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib%/pkg failed (Exit 1) | |
| missing $GOPATH | |
| stdlib: error running subcommand: exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment