* trying to build rt kernel, fails quickly
@ 2017-11-16 13:28 Gene Heskett
2017-11-17 16:31 ` Julia Cartwright
0 siblings, 1 reply; 5+ messages in thread
From: Gene Heskett @ 2017-11-16 13:28 UTC (permalink / raw)
To: linux-rt-users
Greetings all;
I've had this downloaded for 2 or 3 weeks so its old.
Tried to build it on a rock64 just now, and got this:
rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ time make
HOSTCC scripts/kconfig/conf.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
"4.11.12-rt16--- localversion-rt +++ localversion-rt @@ -1 +1 @@ --rt15
+-rt16" exceeds 64 characters
Makefile:1107: recipe for target 'include/generated/utsrelease.h' failed
make: *** [include/generated/utsrelease.h] Error 1
real 0m7.793s
user 0m4.585s
sys 0m2.396s
rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ cat
include/generated/utsrelease.h
#define UTS_RELEASE "4.11.12-rt16"
That doesn't look like 64+ chars.
What might be the real problem?
This is on the rock64, but is being built on a 1TB spinning rust drive
plugged in and mounted at /media/slash. This did build a 4.10.0-rc3
just fine a month ago but its not been boot tested because I'm a
greenhorn at u-boot. If there is a boot updater for it, I've not found
it yet so its actually running an "ayufan" kernel, which is not real
time. Original debian stretch install.
Looks like I need some help.
Thank you.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trying to build rt kernel, fails quickly
2017-11-16 13:28 trying to build rt kernel, fails quickly Gene Heskett
@ 2017-11-17 16:31 ` Julia Cartwright
2017-11-17 18:13 ` Gene Heskett
0 siblings, 1 reply; 5+ messages in thread
From: Julia Cartwright @ 2017-11-17 16:31 UTC (permalink / raw)
To: Gene Heskett; +Cc: linux-rt-users
On Thu, Nov 16, 2017 at 08:28:32AM -0500, Gene Heskett wrote:
> Greetings all;
>
> I've had this downloaded for 2 or 3 weeks so its old.
>
> Tried to build it on a rock64 just now, and got this:
>
> rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ time make
> HOSTCC scripts/kconfig/conf.o
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf --silentoldconfig Kconfig
> CHK include/config/kernel.release
> UPD include/config/kernel.release
> CHK include/generated/uapi/linux/version.h
> CHK include/generated/utsrelease.h
> "4.11.12-rt16--- localversion-rt +++ localversion-rt @@ -1 +1 @@ --rt15
> +-rt16" exceeds 64 characters
My suspicion is that your localversion-rt file in your working tree has
a bizarre value, it should just contain "-rt16\n", instead it contains
garbage which lookes like a patch/merge conflict.
Can you check it's contents?
I've checked the tags pushed to git, and they look just fine, so perhaps
this is a leftover merge problem on your end?
Julia
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trying to build rt kernel, fails quickly
2017-11-17 16:31 ` Julia Cartwright
@ 2017-11-17 18:13 ` Gene Heskett
2017-11-17 18:25 ` Julia Cartwright
0 siblings, 1 reply; 5+ messages in thread
From: Gene Heskett @ 2017-11-17 18:13 UTC (permalink / raw)
To: linux-rt-users
On Friday 17 November 2017 11:31:55 Julia Cartwright wrote:
> On Thu, Nov 16, 2017 at 08:28:32AM -0500, Gene Heskett wrote:
> > Greetings all;
> >
> > I've had this downloaded for 2 or 3 weeks so its old.
> >
> > Tried to build it on a rock64 just now, and got this:
> >
> > rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ time
> > make HOSTCC scripts/kconfig/conf.o
> > HOSTLD scripts/kconfig/conf
> > scripts/kconfig/conf --silentoldconfig Kconfig
> > CHK include/config/kernel.release
> > UPD include/config/kernel.release
> > CHK include/generated/uapi/linux/version.h
> > CHK include/generated/utsrelease.h
> > "4.11.12-rt16--- localversion-rt +++ localversion-rt @@ -1 +1 @@
> > --rt15 +-rt16" exceeds 64 characters
>
> My suspicion is that your localversion-rt file in your working tree
> has a bizarre value, it should just contain "-rt16\n", instead it
> contains garbage which lookes like a patch/merge conflict.
>
> Can you check it's contents?
>
> I've checked the tags pushed to git, and they look just fine, so
> perhaps this is a leftover merge problem on your end?
>
> Julia
Thanks for the reply Julia, but that is not the clanging bell, darn it.
rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ cat localversion-rt
-rt16
rt15, FWIW, built just fine. An ls -l of that build directory shows a
full build worked on Oct 17th 2017.
Thank you Julia.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trying to build rt kernel, fails quickly
2017-11-17 18:13 ` Gene Heskett
@ 2017-11-17 18:25 ` Julia Cartwright
2017-11-18 2:22 ` Gene Heskett
0 siblings, 1 reply; 5+ messages in thread
From: Julia Cartwright @ 2017-11-17 18:25 UTC (permalink / raw)
To: Gene Heskett; +Cc: linux-rt-users
On Fri, Nov 17, 2017 at 01:13:41PM -0500, Gene Heskett wrote:
> On Friday 17 November 2017 11:31:55 Julia Cartwright wrote:
>
> > On Thu, Nov 16, 2017 at 08:28:32AM -0500, Gene Heskett wrote:
> > > Greetings all;
> > >
> > > I've had this downloaded for 2 or 3 weeks so its old.
> > >
> > > Tried to build it on a rock64 just now, and got this:
> > >
> > > rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ time
> > > make HOSTCC scripts/kconfig/conf.o
> > > HOSTLD scripts/kconfig/conf
> > > scripts/kconfig/conf --silentoldconfig Kconfig
> > > CHK include/config/kernel.release
> > > UPD include/config/kernel.release
> > > CHK include/generated/uapi/linux/version.h
> > > CHK include/generated/utsrelease.h
> > > "4.11.12-rt16--- localversion-rt +++ localversion-rt @@ -1 +1 @@
> > > --rt15 +-rt16" exceeds 64 characters
> >
> > My suspicion is that your localversion-rt file in your working tree
> > has a bizarre value, it should just contain "-rt16\n", instead it
> > contains garbage which lookes like a patch/merge conflict.
> >
> > Can you check it's contents?
> >
> > I've checked the tags pushed to git, and they look just fine, so
> > perhaps this is a leftover merge problem on your end?
> >
> > Julia
>
> Thanks for the reply Julia, but that is not the clanging bell, darn it.
>
> rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ cat localversion-rt
> -rt16
Another guess: do you have any files in the source or build directories
whose names start with 'localversion'? Like, 'localversion-rt.patch',
perhaps?
The kernel's build systems concatenates these files together to try to
construct a release version, if there are extra files around, that will
cause problems.
Julia
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trying to build rt kernel, fails quickly
2017-11-17 18:25 ` Julia Cartwright
@ 2017-11-18 2:22 ` Gene Heskett
0 siblings, 0 replies; 5+ messages in thread
From: Gene Heskett @ 2017-11-18 2:22 UTC (permalink / raw)
To: linux-rt-users
On Friday 17 November 2017 13:25:50 Julia Cartwright wrote:
> On Fri, Nov 17, 2017 at 01:13:41PM -0500, Gene Heskett wrote:
> > On Friday 17 November 2017 11:31:55 Julia Cartwright wrote:
> > > On Thu, Nov 16, 2017 at 08:28:32AM -0500, Gene Heskett wrote:
> > > > Greetings all;
> > > >
> > > > I've had this downloaded for 2 or 3 weeks so its old.
> > > >
> > > > Tried to build it on a rock64 just now, and got this:
> > > >
> > > > rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$
> > > > time make HOSTCC scripts/kconfig/conf.o
> > > > HOSTLD scripts/kconfig/conf
> > > > scripts/kconfig/conf --silentoldconfig Kconfig
> > > > CHK include/config/kernel.release
> > > > UPD include/config/kernel.release
> > > > CHK include/generated/uapi/linux/version.h
> > > > CHK include/generated/utsrelease.h
> > > > "4.11.12-rt16--- localversion-rt +++ localversion-rt @@ -1 +1 @@
> > > > --rt15 +-rt16" exceeds 64 characters
> > >
> > > My suspicion is that your localversion-rt file in your working
> > > tree has a bizarre value, it should just contain "-rt16\n",
> > > instead it contains garbage which lookes like a patch/merge
> > > conflict.
> > >
> > > Can you check it's contents?
> > >
> > > I've checked the tags pushed to git, and they look just fine, so
> > > perhaps this is a leftover merge problem on your end?
> > >
> > > Julia
> >
> > Thanks for the reply Julia, but that is not the clanging bell, darn
> > it.
> >
> > rock64@rock64:/media/slash/home/rock64/4.11.12.rt15/linux-4.11$ cat
> > localversion-rt -rt16
>
> Another guess: do you have any files in the source or build
> directories whose names start with 'localversion'? Like,
> 'localversion-rt.patch', perhaps?
>
> The kernel's build systems concatenates these files together to try to
> construct a release version, if there are extra files around, that
> will cause problems.
>
> Julia
That was it. there was a .rej from patch. Nuked it, build in progress.
Thank you Julia.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-11-18 2:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 13:28 trying to build rt kernel, fails quickly Gene Heskett
2017-11-17 16:31 ` Julia Cartwright
2017-11-17 18:13 ` Gene Heskett
2017-11-17 18:25 ` Julia Cartwright
2017-11-18 2:22 ` Gene Heskett
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.