* Error when recompiling linux-ti-staging kernel
@ 2015-04-30 0:50 Craig McQueen
2015-05-01 20:02 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Craig McQueen @ 2015-04-30 0:50 UTC (permalink / raw)
To: meta-ti@yoctoproject.org
I'm using meta-ti with Poky dizzy to build linux-ti-staging 3.14.x for a BeagleBone Black based system.
When I do a rebuild of linux-ti-staging, it does most of the compile but then fails with an error:
| touch: cannot touch '/home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-poky-linux-gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/image/lib/modules/3.14.39/build': Permission denied
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compileconfigs (log file is located at /home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-poky-linux-gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/temp/log.do_compileconfigs.4657)
Checking that file, I find that it's a symlink that points to /usr/src/kernel, which doesn't exist.
My current work-around is to do "bitbake linux-ti-staging -c clean" then rebuild my image. It works fine as long as it's a fresh build. But that slows down the development cycle.
Why might this be happening?
--
Craig McQueen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error when recompiling linux-ti-staging kernel
2015-04-30 0:50 Error when recompiling linux-ti-staging kernel Craig McQueen
@ 2015-05-01 20:02 ` Denys Dmytriyenko
2015-05-05 0:16 ` Craig McQueen
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2015-05-01 20:02 UTC (permalink / raw)
To: Craig McQueen; +Cc: meta-ti@yoctoproject.org
On Thu, Apr 30, 2015 at 10:50:12AM +1000, Craig McQueen wrote:
> I'm using meta-ti with Poky dizzy to build linux-ti-staging 3.14.x for a
> BeagleBone Black based system.
>
> When I do a rebuild of linux-ti-staging, it does most of the compile but
> then fails with an error:
>
> | touch: cannot touch '/home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-poky-linux-gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/image/lib/modules/3.14.39/build': Permission denied
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compileconfigs (log file is located at /home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-poky-linux-gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/temp/log.do_compileconfigs.4657)
>
> Checking that file, I find that it's a symlink that points to
> /usr/src/kernel, which doesn't exist.
>
> My current work-around is to do "bitbake linux-ti-staging -c clean" then
> rebuild my image. It works fine as long as it's a fresh build. But that
> slows down the development cycle.
>
> Why might this be happening?
Hmm, interesting. Which branch of meta-ti do you use for dizzy?
--
Denys
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error when recompiling linux-ti-staging kernel
2015-05-01 20:02 ` Denys Dmytriyenko
@ 2015-05-05 0:16 ` Craig McQueen
2015-08-04 6:46 ` Craig McQueen
0 siblings, 1 reply; 4+ messages in thread
From: Craig McQueen @ 2015-05-05 0:16 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti@yoctoproject.org
> -----Original Message-----
> From: Denys Dmytriyenko [mailto:denys@ti.com]
> Sent: Saturday, 2 May 2015 6:03 AM
> To: Craig McQueen
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] Error when recompiling linux-ti-staging kernel
>
> On Thu, Apr 30, 2015 at 10:50:12AM +1000, Craig McQueen wrote:
> > I'm using meta-ti with Poky dizzy to build linux-ti-staging 3.14.x for
> > a BeagleBone Black based system.
> >
> > When I do a rebuild of linux-ti-staging, it does most of the compile
> > but then fails with an error:
> >
> > | touch: cannot touch
> > | '/home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-
> poky-linux
> > | -gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/image/
> > | lib/modules/3.14.39/build': Permission denied
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_compileconfigs (log file is located at
> > | /home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-
> poky-linux-
> > | gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/temp/lo
> > | g.do_compileconfigs.4657)
> >
> > Checking that file, I find that it's a symlink that points to
> > /usr/src/kernel, which doesn't exist.
> >
> > My current work-around is to do "bitbake linux-ti-staging -c clean"
> > then rebuild my image. It works fine as long as it's a fresh build.
> > But that slows down the development cycle.
> >
> > Why might this be happening?
>
> Hmm, interesting. Which branch of meta-ti do you use for dizzy?
I've been using meta-ti master branch. I don't think meta-ti even has a dizzy branch (although it does have a daisy branch).
--
Craig McQueen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error when recompiling linux-ti-staging kernel
2015-05-05 0:16 ` Craig McQueen
@ 2015-08-04 6:46 ` Craig McQueen
0 siblings, 0 replies; 4+ messages in thread
From: Craig McQueen @ 2015-08-04 6:46 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti@yoctoproject.org
> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Craig McQueen
> Sent: Tuesday, 5 May 2015 10:17 AM
> To: Denys Dmytriyenko <denys@ti.com>
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] Error when recompiling linux-ti-staging kernel
>
> > -----Original Message-----
> > From: Denys Dmytriyenko [mailto:denys@ti.com]
> > Sent: Saturday, 2 May 2015 6:03 AM
> > To: Craig McQueen
> > Cc: meta-ti@yoctoproject.org
> > Subject: Re: [meta-ti] Error when recompiling linux-ti-staging kernel
> >
> > On Thu, Apr 30, 2015 at 10:50:12AM +1000, Craig McQueen wrote:
> > > I'm using meta-ti with Poky dizzy to build linux-ti-staging 3.14.x
> > > for a BeagleBone Black based system.
> > >
> > > When I do a rebuild of linux-ti-staging, it does most of the compile
> > > but then fails with an error:
> > >
> > > | touch: cannot touch
> > > | '/home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-
> > poky-linux
> > > | -gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/imag
> > > | e/
> > > | lib/modules/3.14.39/build': Permission denied
> > > | WARNING: exit code 1 from a shell command.
> > > | ERROR: Function failed: do_compileconfigs (log file is located at
> > > | /home/craigm/yocto/poky/<boardname>/tmp/work/<boardname>-
> > poky-linux-
> > > | gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/temp/
> > > | lo
> > > | g.do_compileconfigs.4657)
> > >
> > > Checking that file, I find that it's a symlink that points to
> > > /usr/src/kernel, which doesn't exist.
> > >
> > > My current work-around is to do "bitbake linux-ti-staging -c clean"
> > > then rebuild my image. It works fine as long as it's a fresh build.
> > > But that slows down the development cycle.
> > >
> > > Why might this be happening?
> >
> > Hmm, interesting. Which branch of meta-ti do you use for dizzy?
>
> I've been using meta-ti master branch. I don't think meta-ti even has a dizzy
> branch (although it does have a daisy branch).
This seems to be due to the following line in multi-kernel.inc:
touch "${D}/lib/modules/${KERNEL_VERSION}/build"
I'm not sure what purpose it's intended to serve, but it's problematic. (I can see it's being used to build a "systest" kernel, although why it's doing that, I'm not yet sure.)
--
Craig McQueen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-04 6:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-30 0:50 Error when recompiling linux-ti-staging kernel Craig McQueen
2015-05-01 20:02 ` Denys Dmytriyenko
2015-05-05 0:16 ` Craig McQueen
2015-08-04 6:46 ` Craig McQueen
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.