Bug 8977 - Add uninative-tarball build to buildtools target
Summary: Add uninative-tarball build to buildtools target
Status: VERIFIED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 2.1 M3
Assignee: Beth Flanagan
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-21 22:31 UTC by Richard Purdie
Modified: 2016-03-07 15:48 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2016-01-21 22:31:21 UTC
The buildtools build target needs two extra builds adding:

SDKMACHINE=i586 bitbake uninative-tarball
SDKMACHINE=x86_64 bitbake uninative-tarball

We will start using uninative in the poky distro by default and will need to host a stable version of these binaries somewhere too.
Comment 1 Ross Burton 2016-01-25 16:41:27 UTC
Beth, can we get this in sooner rather than later?  Publishing the artifacts alongside the other SDK bits would be key too.
Comment 2 Beth Flanagan 2016-01-25 18:50:49 UTC
Sure, the build is in, I just wanted to see exactly what is being produced before I go modifying PublishArtifacts.
Comment 3 Sona Sarmadi 2016-02-08 07:34:49 UTC
All relevant branches are fixed.
Comment 4 Bogdan Alexandru Voiculescu 2016-02-15 15:51:11 UTC
I cannot find published the i686 files: 
http://autobuilder.yoctoproject.org/pub/nightly/20160215-1/toolchain/i686/

x86_64 are published:
http://autobuilder.yoctoproject.org/pub/nightly/CURRENT/toolchain/x86_64/

Please indicate the correct link, if are published somewhere else.
Comment 5 Beth Flanagan 2016-02-23 18:04:23 UTC
We're only building them for nightly-x86-64. IIRC I don't thinkg we wanted them for nightly-x86
Comment 6 Bogdan Alexandru Voiculescu 2016-02-24 07:41:00 UTC
Hi Richard,
Please help with a clarification: uninative-tarball should be built only for nightly-x86-64? 
(http://autobuilder.yoctoproject.org/pub/nightly/20160215-1/toolchain/x86_64/)

For http://autobuilder.yoctoproject.org/pub/nightly/20160215-1/toolchain/i686/ are not built.

BR,
Bogdan
Comment 7 Richard Purdie 2016-02-24 16:13:52 UTC
I think we should be building these with SDKMACHINE = "i686" and SDKMACHINE = "x86_64". Its eSDK which is x86_64 only.

Reassign back to Beth to fix.
Comment 8 Beth Flanagan 2016-02-25 12:41:30 UTC
This is actually an issue with uninative.bbclass.

UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2"

should be something like:

UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc-${SDKMACHINE}.tar.bz2"

I've got the conf producing both but the second build pass is stomping on the first.
Comment 9 Ross Burton 2016-02-25 17:15:00 UTC
Patch sent to make the uninative-tarball artifacts actually respect SDKMACHINE.
Comment 11 Bogdan Alexandru Voiculescu 2016-03-07 15:48:21 UTC
Verified on http://autobuilder.yoctoproject.org/pub/nightly/20160307-1/toolchain/