[OE-core] SDK build refers to existing installed SDK

Mats Kärrman Mats.Karrman at tritech.se
Tue Mar 25 09:41:47 UTC 2014


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





More information about the Openembedded-core mailing list