Error building extended SDK

Moderator: nferre

Posts: 5
Joined: Fri Oct 13, 2017 1:52 am

Error building extended SDK

Thu Nov 16, 2017 11:45 pm

Using this command to build the extended SDK, I get an error:

bitbake atmel-qt-demo-image -d populate_sdk_ext

| NOTE: Executing write_host_sdk_manifest ...
| DEBUG: Executing python function write_host_sdk_manifest
| DEBUG: Python function write_host_sdk_manifest finished
| NOTE: Executing copy_buildsystem ...
| DEBUG: Executing python function copy_buildsystem
| NOTE: Generating sstate task list...
| NOTE: Generating sstate-cache...
| NOTE: Generating sstate-cache...
| DEBUG: Python function copy_buildsystem finished
| NOTE: Executing install_tools ...
| DEBUG: Executing shell function install_tools
| Traceback (most recent call last):
| File "/home/artkauf/poky/scripts/lnr", line 21, in <module>
| os.symlink(target, linkname)
| FileExistsError: [Errno 17] File exists: '../../../../layers/poky/scripts/oe-find-native-sysroot' -> '/home/artkauf/poky/build-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/atmel-qt5-demo-image/1.0-r0/sdk-ext/image//opt/poky-atmel/2.2.2/sysroots/x86_64-pokysdk-linux/usr/bin/oe-find-native-sysroot'
| WARNING: /home/artkauf/poky/build-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/atmel-qt5-demo-image/1.0-r0/temp/run.install_tools.26194:1 exit 1 from 'lnr ${scriptfn} /home/artkauf/poky/build-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/atmel-qt5-demo-image/1.0-r0/sdk-ext/image//opt/poky-atmel/2.2.2/sysroots/x86_64-pokysdk-linux/usr/bin/`basename $scriptfn`'
| DEBUG: Python function do_populate_sdk_ext finished
| ERROR: Function failed: install_tools (log file is located at /home/artkauf/poky/build-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/atmel-qt5-demo-image/1.0-r0/temp/log.do_populate_sdk_ext.26194)
ERROR: Task (/home/artkauf/meta-atmel/qt5-layer/recipes-qt/images/ failed with exit code '1'
NOTE: Tasks Summary: Attempted 6211 tasks of which 6210 didn't need to be rerun and 1 failed.

This seems to be a simple error, trying to create a link that already exists, but I'm not sure where to look to fix it.

There is a '*.sh' file in poky/tmp/deploy/sdk but I'm not clear on whether it's actually any good or not.
Posts: 1
Joined: Wed Nov 20, 2019 4:01 pm

Re: Error building extended SDK

Wed Nov 20, 2019 4:04 pm

I am facing the same error as well, generally when we re-run bitbake it goes, but I am getting this file exists error multiple times.
Did you find the solution?

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 2 guests