Re: [PATCH] tools/perf: fix use of alternatives to find JDIR

2018-10-16 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 16, 2018 at 03:09:59PM +0200, Jiri Olsa escreveu: > On Mon, Sep 10, 2018 at 10:05:46AM +0200, Jiri Olsa wrote: > > On Thu, Sep 06, 2018 at 06:18:12PM -0400, Jarod Wilson wrote: > > > When a build is run from something like a cron job, the user's $PATH is > > > rather minimal, of note, n

Re: [PATCH] tools/perf: fix use of alternatives to find JDIR

2018-10-16 Thread Jiri Olsa
On Mon, Sep 10, 2018 at 10:05:46AM +0200, Jiri Olsa wrote: > On Thu, Sep 06, 2018 at 06:18:12PM -0400, Jarod Wilson wrote: > > When a build is run from something like a cron job, the user's $PATH is > > rather minimal, of note, not including /usr/sbin in my own case. Because > > of that, an automat

Re: [PATCH] tools/perf: fix use of alternatives to find JDIR

2018-09-10 Thread Jiri Olsa
On Thu, Sep 06, 2018 at 06:18:12PM -0400, Jarod Wilson wrote: > When a build is run from something like a cron job, the user's $PATH is > rather minimal, of note, not including /usr/sbin in my own case. Because > of that, an automated rpm package build ultimately fails to find > libperf-jvmti.so, b

[PATCH] tools/perf: fix use of alternatives to find JDIR

2018-09-06 Thread Jarod Wilson
When a build is run from something like a cron job, the user's $PATH is rather minimal, of note, not including /usr/sbin in my own case. Because of that, an automated rpm package build ultimately fails to find libperf-jvmti.so, because somewhere within the build, this happens... /bin/sh: alternati