Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426730
| From | Michal Marek <mmarek@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kbuild: setlocalversion: print error to STDERR |
| Date | 2016-06-20 18:00 +0200 |
| Message-ID | <rM9Me-1Iv-15@gated-at.bofh.it> (permalink) |
| References | <rH84p-vG-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 06, 2016 at 09:00:38PM +0200, Wolfram Sang wrote: > I tried to use 'make O=...' from an unclean source tree. This triggered > the error path of setlocalversion. But by printing to STDOUT, it created > a broken localversion which then caused another (unrelated) error: > > "4.7.0-rc2Error: kernelrelease not valid - run make prepare to update it" exceeds 64 characters > > After printing to STDERR, the true build error gets displayed later: > > /home/wsa/Kernel/linux is not clean, please run 'make mrproper' > in the '/home/wsa/Kernel/linux' directory. > > Signed-off-by: Wolfram Sang <wsa@the-dreams.de> > --- > scripts/setlocalversion | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to kbuild.git#kbuild. But this points at another problem, namely that filechk is ignoring the exit status of the command. Michal
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] kbuild: setlocalversion: print error to STDERR Michal Marek <mmarek@suse.com> - 2016-06-20 18:00 +0200
csiph-web