* 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
@ 2017-12-27 18:52 Toralf Förster
2017-12-27 19:53 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Toralf Förster @ 2017-12-27 18:52 UTC (permalink / raw)
To: stable
I do get:
CC /usr/src/linux-4.x/tools/objtool/libstring.o
HOSTLLD -shared scripts/gcc-plugins/latent_entropy_plugin.so
HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o
CC /usr/src/linux-4.x/tools/objtool/str_error_r.o
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o
HOSTLLD -shared scripts/gcc-plugins/structleak_plugin.so
make[2]: execvp: ./sync-check.sh: Permission denied
make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool]
Error 127
make[1]: *** [Makefile:62: objtool] Error 2
make: *** [Makefile:1629: tools/objtool] Error 2
make: *** Waiting for unfinished jobs....
HOSTLLD -shared scripts/gcc-plugins/randomize_layout_plugin.so
t
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-27 18:52 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied Toralf Förster
@ 2017-12-27 19:53 ` Greg KH
2017-12-28 19:25 ` Toralf Förster
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2017-12-27 19:53 UTC (permalink / raw)
To: Toralf Förster; +Cc: stable
On Wed, Dec 27, 2017 at 07:52:11PM +0100, Toralf F�rster wrote:
> I do get:
>
> CC /usr/src/linux-4.x/tools/objtool/libstring.o
> HOSTLLD -shared scripts/gcc-plugins/latent_entropy_plugin.so
> HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o
> CC /usr/src/linux-4.x/tools/objtool/str_error_r.o
> LD /usr/src/linux-4.x/tools/objtool/objtool-in.o
> HOSTLLD -shared scripts/gcc-plugins/structleak_plugin.so
> make[2]: execvp: ./sync-check.sh: Permission denied
> make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool]
> Error 127
> make[1]: *** [Makefile:62: objtool] Error 2
> make: *** [Makefile:1629: tools/objtool] Error 2
> make: *** Waiting for unfinished jobs....
> HOSTLLD -shared scripts/gcc-plugins/randomize_layout_plugin.so
> t
Use 'git quiltimport' to import the patches, that should give you an
executable that works.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-27 19:53 ` Greg KH
@ 2017-12-28 19:25 ` Toralf Förster
2017-12-29 9:15 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Toralf Förster @ 2017-12-28 19:25 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On 12/27/2017 08:53 PM, Greg KH wrote:
> Use 'git quiltimport' to import the patches, that should give you an
> executable that works.
Well, I never needed quilt before, so I just made a chmod a+x after applying the content of the patch file to the kernel sources.
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-28 19:25 ` Toralf Förster
@ 2017-12-29 9:15 ` Greg KH
2017-12-29 9:51 ` Toralf Förster
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2017-12-29 9:15 UTC (permalink / raw)
To: Toralf Förster; +Cc: stable
On Thu, Dec 28, 2017 at 08:25:32PM +0100, Toralf F�rster wrote:
> On 12/27/2017 08:53 PM, Greg KH wrote:
> > Use 'git quiltimport' to import the patches, that should give you an
> > executable that works.
>
> Well, I never needed quilt before, so I just made a chmod a+x after
> applying the content of the patch file to the kernel sources.
I am saying to use git, not quilt, for the patches. You will only see
the permissions error if you only use quilt, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 9:15 ` Greg KH
@ 2017-12-29 9:51 ` Toralf Förster
2017-12-29 16:40 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Toralf Förster @ 2017-12-29 9:51 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On 12/29/2017 10:15 AM, Greg KH wrote:
> I am saying to use git, not quilt, for the patches. You will only see
> the permissions error if you only use quilt, right?
nope, I do just use Git.
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 9:51 ` Toralf Förster
@ 2017-12-29 16:40 ` Greg KH
2017-12-29 17:14 ` Toralf Förster
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2017-12-29 16:40 UTC (permalink / raw)
To: Toralf Förster; +Cc: stable
On Fri, Dec 29, 2017 at 10:51:56AM +0100, Toralf F�rster wrote:
> On 12/29/2017 10:15 AM, Greg KH wrote:
> > I am saying to use git, not quilt, for the patches. You will only see
> > the permissions error if you only use quilt, right?
>
> nope, I do just use Git.
And how do you apply the patches? Or are you using the linux-stable-rc
kernel tree?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 16:40 ` Greg KH
@ 2017-12-29 17:14 ` Toralf Förster
2017-12-29 17:26 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Toralf Förster @ 2017-12-29 17:14 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On 12/29/2017 05:40 PM, Greg KH wrote:
> And how do you apply the patches? Or are you using the linux-stable-rc
> kernel tree?
>
> thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
and as root:
cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
and this yields into:
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o
make[2]: execvp: ./sync-check.sh: Permission denied
make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127
make[1]: *** [Makefile:62: objtool] Error 2
make: *** [Makefile:1629: tools/objtool] Error 2
make: *** Waiting for unfinished jobs....
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
What helped is a :
chmod u+x ./tools/objtool/sync-check.sh
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 17:14 ` Toralf Förster
@ 2017-12-29 17:26 ` Greg KH
2017-12-29 17:32 ` Toralf Förster
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2017-12-29 17:26 UTC (permalink / raw)
To: Toralf Förster; +Cc: stable
On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf F�rster wrote:
> On 12/29/2017 05:40 PM, Greg KH wrote:
> > And how do you apply the patches? Or are you using the linux-stable-rc
> > kernel tree?
> >
> > thanks,
>
> I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
Which exact repo of "mine" did you use here?
> as common user:
>
> cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
There was no 4.14.10 in my repo at the time, so how did this get created?
> and as root:
> cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
>
> and this yields into:
>
> LD /usr/src/linux-4.x/tools/objtool/objtool-in.o
> make[2]: execvp: ./sync-check.sh: Permission denied
> make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127
> make[1]: *** [Makefile:62: objtool] Error 2
> make: *** [Makefile:1629: tools/objtool] Error 2
> make: *** Waiting for unfinished jobs....
> CHK include/generated/asm-offsets.h
> UPD include/generated/asm-offsets.h
> CALL scripts/checksyscalls.sh
>
>
> What helped is a :
>
> chmod u+x ./tools/objtool/sync-check.sh
Odd, oh well, 4.14.10 is now out, hopefully you do not have to do this
by hand anymore.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 17:26 ` Greg KH
@ 2017-12-29 17:32 ` Toralf Förster
2017-12-29 17:37 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Toralf Förster @ 2017-12-29 17:32 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On 12/29/2017 06:26 PM, Greg KH wrote:
> On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf Förster wrote:
>> On 12/29/2017 05:40 PM, Greg KH wrote:
>>> And how do you apply the patches? Or are you using the linux-stable-rc
>>> kernel tree?
>>>
>>> thanks,
>>
>> I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
>
> Which exact repo of "mine" did you use here?
~/devel/linux $ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "stable"]
url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
fetch = +refs/heads/*:refs/remotes/stable/*
>> as common user:
>>
>> cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
>
> There was no 4.14.10 in my repo at the time, so how did this get created?
Sure, I started with 3.x, the command line above is from today few minutes after you pushed out the tag
>> and as root:
>> cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
>>
>> and this yields into:
>>
>> LD /usr/src/linux-4.x/tools/objtool/objtool-in.o
>> make[2]: execvp: ./sync-check.sh: Permission denied
>> make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127
>> make[1]: *** [Makefile:62: objtool] Error 2
>> make: *** [Makefile:1629: tools/objtool] Error 2
>> make: *** Waiting for unfinished jobs....
>> CHK include/generated/asm-offsets.h
>> UPD include/generated/asm-offsets.h
>> CALL scripts/checksyscalls.sh
>>
>>
>> What helped is a :
>>
>> chmod u+x ./tools/objtool/sync-check.sh
>
> Odd, oh well, 4.14.10 is now out, hopefully you do not have to do this
> by hand anymore.
it *happened* with the pushed out version - FFWIW the procedrue abve I do use since 3 years her at my desktop and since over 1 year at my server.
>
> thanks,
>
> greg k-h
>
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 17:32 ` Toralf Förster
@ 2017-12-29 17:37 ` Greg KH
2017-12-29 17:40 ` Toralf Förster
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2017-12-29 17:37 UTC (permalink / raw)
To: Toralf Förster; +Cc: stable
On Fri, Dec 29, 2017 at 06:32:26PM +0100, Toralf F�rster wrote:
> On 12/29/2017 06:26 PM, Greg KH wrote:
> > On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf F�rster wrote:
> >> On 12/29/2017 05:40 PM, Greg KH wrote:
> >>> And how do you apply the patches? Or are you using the linux-stable-rc
> >>> kernel tree?
> >>>
> >>> thanks,
> >>
> >> I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
> >
> > Which exact repo of "mine" did you use here?
>
> ~/devel/linux $ cat .git/config
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = false
> logallrefupdates = true
> [remote "origin"]
> url = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> fetch = +refs/heads/*:refs/remotes/origin/*
> [branch "master"]
> remote = origin
> merge = refs/heads/master
> [remote "stable"]
> url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> fetch = +refs/heads/*:refs/remotes/stable/*
This did not have the 4.14.10-rc tree in it, but now, yes, that will
show up.
> >> as common user:
> >>
> >> cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
> >
> > There was no 4.14.10 in my repo at the time, so how did this get created?
>
> Sure, I started with 3.x, the command line above is from today few minutes after you pushed out the tag
Be careful with 'patch', odds are it is not keeping the permissions that
git is telling it to use.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied
2017-12-29 17:37 ` Greg KH
@ 2017-12-29 17:40 ` Toralf Förster
0 siblings, 0 replies; 11+ messages in thread
From: Toralf Förster @ 2017-12-29 17:40 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On 12/29/2017 06:37 PM, Greg KH wrote:
> Be careful with 'patch', odds are it is not keeping the permissions that
> git is telling it to use.
Yep, I tend to blame "patch" here too in the moment.
--
Toralf
PGP C4EACDDE 0076E94E
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-12-29 17:40 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 18:52 4.14.10-rc : make[2]: execvp: ./sync-check.sh: Permission denied Toralf Förster
2017-12-27 19:53 ` Greg KH
2017-12-28 19:25 ` Toralf Förster
2017-12-29 9:15 ` Greg KH
2017-12-29 9:51 ` Toralf Förster
2017-12-29 16:40 ` Greg KH
2017-12-29 17:14 ` Toralf Förster
2017-12-29 17:26 ` Greg KH
2017-12-29 17:32 ` Toralf Förster
2017-12-29 17:37 ` Greg KH
2017-12-29 17:40 ` Toralf Förster
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.