Bug 11365

Summary: Building SDK using yocto and compile package in .ipk format
Product: [Yocto Project Subprojects] eSDK Reporter: Abhishek <abhishekh>
Component: eSDKAssignee: Abhishek <abhishekh>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, oscarx.lopez.arandas, richard.purdie
Version: unspecified   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Error while building the sdk
none
full_log none

Description Abhishek 2017-04-14 06:52:16 UTC
Created attachment 3722 [details]
Error while building the sdk

Hi All,

I'am trying build SDK using yocto, which will include all the external packages i have addded e.g libconfig, mosquitto etc.
After building sdk, i want to compile my application software in "ipk" format, which will be handled by opkg manager, as in 'openwrt' environment.

For that i have followed below steps to compile sdk

$ cd yocto/build_bin

$ source ../poky/oe-init-build-env .

$ bitbake core-image-minimal -c populate_sdk

And i am getting the error.

I have attached the log file.

so, anybody please help me to solve this problem
and to create ipk using sdk.

Thank you
Comment 1 Paul Eggleton 2017-04-14 10:30:20 UTC
Based on the error, it suggests that one of the target path variables (bindir, libdir, datadir, etc.) has been set with a double slash or perhaps with a trailing slash leading to a double slash when incorporated into the value of FILES. You should be able to use bitbake -e gdb-cross-canadian-arm | less and look for the history of FILES for one of the packages to see what's going on.
Comment 2 Paul Eggleton 2017-09-05 23:57:09 UTC
Abhishek - can you run the requested commands and see if it leads us further towards resolving this?
Comment 3 oscar lopez arandas 2017-09-07 14:51:09 UTC
(In reply to comment #2)
> Abhishek - can you run the requested commands and see if it leads us further
> towards resolving this?

i falowd this steps to bitbake core-image-minimal -c populate_sdk

Build Configuration:
BB_VERSION        = "1.35.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3"       
meta-yocto-bsp    = "HEAD:5f6945f5031e1a4ca116cc1eccf4c2f9dc228547"

 1.  Clone poky
$ git clone git://yoctoproject.com/poky 
$ . oe-init-build-env
$ echo 'SDK_EXT_TYPE = "minimal"' >> conf/local.conf 
$ bitbake core-image-minimal  -c populate_sdk_ext -v

===========================================================
NOTE: Tasks Summary: Attempted 2960 tasks of which 2960 didn't need to be rerun and all succeeded.
============================================================
full-log in attachemt
Comment 4 oscar lopez arandas 2017-09-07 14:51:57 UTC
Created attachment 3991 [details]
full_log
Comment 5 oscar lopez arandas 2017-09-07 15:04:47 UTC
information for you Abhishek and Paul Eggleton
Comment 6 Paul Eggleton 2017-09-07 20:46:15 UTC
OK, thanks Oscar - I think Abhishek was building the standard SDK though rather than eSDK. Having said that it's the information I requested in comment #1 that is likely specific to Abhishek's setup that I'm requesting, so setting back to NEEDINFO.
Comment 7 Richard Purdie 2017-10-19 14:54:10 UTC
Please reopen if you can provide the requested information.