* SDK build refers to existing installed SDK
@ 2014-03-25 9:41 Mats Kärrman
2014-03-26 3:23 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Mats Kärrman @ 2014-03-25 9:41 UTC (permalink / raw)
To: openembedded-core
Hi,
I just ran into an unexpected error while doing some multitasking.
Project is based on OE-core Dora "distroless".
While my build machine was busy building a new SDK using "-c populate_sdk" I simultaneously deleted an older SDK that was installed under /usr/local and installed a different one. This resulted in the build stopping with the following error:
| x86_64-oesdk-linux-gcc --sysroot=/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux -DHAVE_CONFIG_H -I../ncurses -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/../include -I/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/base/lib_beep.c -o ../obj_s/lib_beep.o
| cc1: error: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include: Permission denied
The offending directory is given with an include directive which seems strange, building a new SDK should not poke around in an old one...
Config & log files available on request.
BR // Mats
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SDK build refers to existing installed SDK
2014-03-25 9:41 SDK build refers to existing installed SDK Mats Kärrman
@ 2014-03-26 3:23 ` Khem Raj
2014-03-26 7:40 ` Mats Kärrman
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2014-03-26 3:23 UTC (permalink / raw)
To: Mats Kärrman; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
On Mar 25, 2014, at 2:41 AM, Mats Kärrman <Mats.Karrman@tritech.se> wrote:
> Hi,
>
> I just ran into an unexpected error while doing some multitasking.
> Project is based on OE-core Dora "distroless".
>
> While my build machine was busy building a new SDK using "-c populate_sdk" I simultaneously deleted an older SDK that was installed under /usr/local and installed a different one. This resulted in the build stopping with the following error:
>
> | x86_64-oesdk-linux-gcc --sysroot=/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux -DHAVE_CONFIG_H -I../ncurses -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/../include -I/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-
> nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/base/lib_beep.c -o ../obj_s/lib_beep.o
> | cc1: error: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include: Permission denied
>
> The offending directory is given with an include directive which seems strange, building a new SDK should not poke around in an old one...
>
> Config & log files available on request.
Was the installed SDK in your path that fed into the OE build env which was generating new SDK ?
>
> BR // Mats
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SDK build refers to existing installed SDK
2014-03-26 3:23 ` Khem Raj
@ 2014-03-26 7:40 ` Mats Kärrman
2014-03-26 10:03 ` Laurentiu Palcu
0 siblings, 1 reply; 4+ messages in thread
From: Mats Kärrman @ 2014-03-26 7:40 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On Wednesday, March 26, 2014 4:23 AM, Khem Raj wrote:
> > Hi,
> >
> > I just ran into an unexpected error while doing some multitasking.
> > Project is based on OE-core Dora "distroless".
> >
> > While my build machine was busy building a new SDK using "-c populate_sdk" I simultaneously deleted an older SDK that was installed under /usr/local and installed a different one. This resulted in the build stopping with the following error:
> >
> > | x86_64-oesdk-linux-gcc --sysroot=/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux -DHAVE_CONFIG_H -I../ncurses -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/../include -I/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-
> > nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/base/lib_beep.c -o ../obj_s/lib_beep.o
> > | cc1: error: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include: Permission denied
> >
> > The offending directory is given with an include directive which seems strange, building a new SDK should not poke around in an old one...
> >
> > Config & log files available on request.
>
> Was the installed SDK in your path that fed into the OE build env which was generating new SDK ?
No, it was not.
I have saved the output of "bitbake nativesdk-ncurses -e" if you're interested.
BR // Mats
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SDK build refers to existing installed SDK
2014-03-26 7:40 ` Mats Kärrman
@ 2014-03-26 10:03 ` Laurentiu Palcu
0 siblings, 0 replies; 4+ messages in thread
From: Laurentiu Palcu @ 2014-03-26 10:03 UTC (permalink / raw)
To: Mats Kärrman; +Cc: openembedded-core
On Wed, Mar 26, 2014 at 07:40:26AM +0000, Mats Kärrman wrote:
> On Wednesday, March 26, 2014 4:23 AM, Khem Raj wrote:
> > > Hi,
> > >
> > > I just ran into an unexpected error while doing some multitasking.
> > > Project is based on OE-core Dora "distroless".
> > >
> > > While my build machine was busy building a new SDK using "-c populate_sdk" I simultaneously deleted an older SDK that was installed under /usr/local and installed a different one. This resulted in the build stopping with the following error:
> > >
> > > | x86_64-oesdk-linux-gcc --sysroot=/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux -DHAVE_CONFIG_H -I../ncurses -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86_64-nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/../include -I/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -isystem/home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/sysroots/x86_64-nativesdk-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/makr/projects/xxx/svn/main/trunk/oe/build/tmp/work/x86
> _64-
> > > nativesdk-oesdk-linux/nativesdk-ncurses/5.9-r15.1/ncurses-5.9/ncurses/base/lib_beep.c -o ../obj_s/lib_beep.o
> > > | cc1: error: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include: Permission denied
> > >
> > > The offending directory is given with an include directive which seems strange, building a new SDK should not poke around in an old one...
> > >
> > > Config & log files available on request.
> >
> > Was the installed SDK in your path that fed into the OE build env which was generating new SDK ?
>
> No, it was not.
> I have saved the output of "bitbake nativesdk-ncurses -e" if you're interested.
I had a quick look at the generated Makefile for nativesdk-ncurses and,
apparently, it seems to have -I${includedir} added to the compilation
flags. This doesn't look like the right thing...
laurentiu
>
> BR // Mats
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-26 10:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25 9:41 SDK build refers to existing installed SDK Mats Kärrman
2014-03-26 3:23 ` Khem Raj
2014-03-26 7:40 ` Mats Kärrman
2014-03-26 10:03 ` Laurentiu Palcu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox