On Thu, Jan 10, 2019 at 5:16 PM Than McIntosh <th...@google.com> wrote:

Thanks for the help. Comments inline.

> Can you send a link to the specific RPM you installed? Perhaps it is
putting the "vet" tool in the wrong location.

The package was installed using YAST (openSUSE GUI package manager).
Package name is gcc8-go, package version is 8.2.1+r264010-lp150.2.3. I was
not able to find the URL of the package.

> Something to try:
> % go test
> ...
> % strace -f -o trace.txt go test
>
> Then examine the trace output to locate the error ("no such tool"), walk
back to see where it is trying to locate it, e.g. something like

Here it goes:

684   rt_sigaction(SIGSTKFLT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1],
sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO,
sa_restorer=0x7f256b1a9160},  <unfinished ...>
675   stat("/usr/lib64/gcc/x86_64-suse-linux/8/vet",  <unfinished ...>
684   <... rt_sigaction resumed> NULL, 8) = 0
664   <... select resumed> )            = 0 (Timeout)
684   rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1],
sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO,
sa_restorer=0x7f256b1a9160},  <unfinished ...>
675   <... stat resumed> 0xc4203a2ac8)  = -1 ENOENT (No such file or
directory)
684   <... rt_sigaction resumed> NULL, 8) = 0
664   clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
684   rt_sigaction(SIGURG, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1],
sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO,
sa_restorer=0x7f256b1a9160},  <unfinished ...>
664   <... clock_gettime resumed> {tv_sec=20734, tv_nsec=365171602}) = 0
684   <... rt_sigaction resumed> NULL, 8) = 0
684   rt_sigaction(SIGXCPU, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1],
sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO,
sa_restorer=0x7f256b1a9160},  <unfinished ...>
675   rt_sigprocmask(SIG_BLOCK, NULL,  <unfinished ...>
684   <... rt_sigaction resumed> NULL, 8) = 0
675   <... rt_sigprocmask resumed> [], 8) = 0
684   rt_sigaction(SIGXFSZ, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1],
sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO,
sa_restorer=0x7f256b1a9160},  <unfinished ...>
675   write(2, "go tool: no such tool \"vet\"\n", 28 <unfinished ...>
684   <... rt_sigaction resumed> NULL, 8) = 0


-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to