{"action":"created","issue":{"url":"https://api.github.com/repos/constabulary/gb/issues/82","labels_url":"https://api.github.com/repos/constabulary/gb/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb/issues/82/comments","events_url":"https://api.github.com/repos/constabulary/gb/issues/82/events","html_url":"https://github.com/constabulary/gb/issues/82","id":75975934,"number":82,"title":"Using gb with golang.org/x/sys/unix fails","user":{"login":"pnasrat","id":13798,"avatar_url":"https://avatars.githubusercontent.com/u/13798?v=3","gravatar_id":"","url":"https://api.github.com/users/pnasrat","html_url":"https://github.com/pnasrat","followers_url":"https://api.github.com/users/pnasrat/followers","following_url":"https://api.github.com/users/pnasrat/following{/other_user}","gists_url":"https://api.github.com/users/pnasrat/gists{/gist_id}","starred_url":"https://api.github.com/users/pnasrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnasrat/subscriptions","organizations_url":"https://api.github.com/users/pnasrat/orgs","repos_url":"https://api.github.com/users/pnasrat/repos","events_url":"https://api.github.com/users/pnasrat/events{/privacy}","received_events_url":"https://api.github.com/users/pnasrat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/constabulary/gb/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T13:00:51Z","updated_at":"2015-05-14T10:56:58Z","closed_at":"2015-05-14T10:56:31Z","body":"Steps to reproduce\r\n\r\n* Install `gb` and `gb-vendor`\r\n* `mkdir -p delve/src/github.com/derekparker/delve`\r\n* `git clone https://github.com/derekparker/delve.git delve/src/github.com/derekparker/delve`\r\n* `cd delve`\r\n* `gb vendor golang.org/x/sys/unix`\r\n* `gb vendor github.com/emicklei/go-restful`\r\n* `gb vendor github.com/peterh/liner`\r\n* `gb build -v all`\r\n\r\nResults\r\n\r\nOS X\r\n```\r\n# /usr/local/go/pkg/tool/darwin_amd64/6a -o /var/folders/ng/qv4q6r9n7sbcv8s5mjxj_yzm0000gn/T/gb028435063/golang.org/x/sys/unix/as.6 -D GOOS_darwin -D GOARCH_amd64 /Users/pnasrat/Development/delve/vendor/src/golang.org/x/sys/unix/asm_darwin_amd64.s\r\n/Users/pnasrat/Development/delve/vendor/src/golang.org/x/sys/unix/asm_darwin_amd64.s:8 6a: No such file or directory: textflag.h\r\n# /usr/local/go/pkg/tool/darwin_amd64/6a -o /var/folders/ng/qv4q6r9n7sbcv8s5mjxj_yzm0000gn/T/gb028435063/golang.org/x/sys/unix/as.6 -D GOOS_darwin -D GOARCH_amd64 /Users/pnasrat/Development/delve/vendor/src/golang.org/x/sys/unix/asm.s\r\n/Users/pnasrat/Development/delve/vendor/src/golang.org/x/sys/unix/asm.s:8 6a: No such file or directory: textflag.h\r\n```\r\nLinux:\r\n```\r\n# /usr/local/go/pkg/tool/linux_amd64/6a -o /tmp/gb151227897/golang.org/x/sys/unix/as.6 -D GOOS_linux -D GOARCH_amd64 /home/pnasrat/delve/vendor/src/golang.org/x/sys/unix/asm.s\r\n/home/pnasrat/delve/vendor/src/golang.org/x/sys/unix/asm.s:8 6a: No such file or directory: textflag.h\r\n# /usr/local/go/pkg/tool/linux_amd64/6a -o /tmp/gb151227897/golang.org/x/sys/unix/as.6 -D GOOS_linux -D GOARCH_amd64 /home/pnasrat/delve/vendor/src/golang.org/x/sys/unix/asm_linux_amd64.s\r\n/home/pnasrat/delve/vendor/src/golang.org/x/sys/unix/asm_linux_amd64.s:8 6a: No such file or directory: textflag.h\r\nDEBUG build duration: 720.273975ms map[compile:688.508329ms asm:46.884575ms]\r\nFATAL command \"build\" failed: exit status 1\r\n```\r\n\r\ngo tool commands for `go get -u -v -x golang.org/x/sys/unix`\r\n\r\n```\r\n/usr/local/go/pkg/tool/linux_amd64/6g -o $WORK/golang.org/x/sys/unix.a -trimpath $WORK -p golang.org/x/sys/unix -D _/home/pnasrat/go/src/golang.org/x/sys/unix -I $WORK -pack ./constants.go ./env_unix.go ./env_unset.go ./flock.go ./race0.go ./sockcmsg_linux.go ./sockcmsg_unix.go ./str.go ./syscall.go ./syscall_linux.go ./syscall_linux_amd64.go ./syscall_unix.go ./zerrors_linux_amd64.go ./zsyscall_linux_amd64.go ./zsysnum_linux_amd64.go ./ztypes_linux_amd64.go\r\n/usr/local/go/pkg/tool/linux_amd64/6a -trimpath $WORK -I $WORK/golang.org/x/sys/unix/_obj/ -I /usr/local/go/pkg/linux_amd64 -o $WORK/golang.org/x/sys/unix/_obj/asm.6 -D GOOS_linux -D GOARCH_amd64 ./asm.s\r\n/usr/local/go/pkg/tool/linux_amd64/6a -trimpath $WORK -I $WORK/golang.org/x/sys/unix/_obj/ -I /usr/local/go/pkg/linux_amd64 -o $WORK/golang.org/x/sys/unix/_obj/asm_linux_amd64.6 -D GOOS_linux -D GOARCH_amd64 ./asm_linux_amd64.s\r\n```"},"comment":{"url":"https://api.github.com/repos/constabulary/gb/issues/comments/102003293","html_url":"https://github.com/constabulary/gb/issues/82#issuecomment-102003293","issue_url":"https://api.github.com/repos/constabulary/gb/issues/82","id":102003293,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T10:56:58Z","updated_at":"2015-05-14T10:56:58Z","body":"Thanks for the report. I think I've fixed this specific bug, but there may be others, please test it out and let me know."}}