Bug 10327 - sstate mirror does not serve up the (contents of ) the uninative tarball
Summary: sstate mirror does not serve up the (contents of ) the uninative tarball
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.3 M1
Assignee: brian avery
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-09-23 22:08 UTC by brian avery
Modified: 2016-10-24 23:47 UTC (History)
2 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 brian avery 2016-09-23 22:08:03 UTC
If I am using to a fully populated sstate mirror but my build machine does not have access to http://downloads.yoctoproject.org/releases/uninative/1.3/x86_64-nativesdk-libc.tar.bz2, the build stalls/fails.

It seems like the sstate mirror should be sufficient to populate the uninative pieces.
Comment 1 brian avery 2016-10-03 17:33:14 UTC
So, I tried overriding the UNINATIVE_URL in my local.conf.  Unfortunately, the version in yocto-uninative.inc    won.  Here's a bitbake -e snippet:
in local.conf:
UNINATIVE_URL = "http://downloadsLOCAL.yoctoproject.org/releases/uninative/1.4/"

# $UNINATIVE_URL [3 operations]
#   set /workdir/build/conf/local.conf:249
#     "http://downloadsLOCAL.yoctoproject.org/releases/uninative/1.4/"
#   set /workdir/poky/meta/conf/distro/include/yocto-uninative.inc:9
#     "http://downloadsUNINATIVEINC.yoctoproject.org/releases/uninative/1.4/"
#   set? /workdir/poky/meta/classes/uninative.bbclass:3
#     "unset"
# pre-expansion value:
#   "http://downloadsUNINATIVEINC.yoctoproject.org/releases/uninative/1.4/"
UNINATIVE_URL="http://downloadsUNINATIVEINC.yoctoproject.org/releases/uninative/1.4/"

Turns out that the yocto-uninative.inc   is forcing the url
UNINATIVE_URL = "http://downloadsUNINATIVEINC.yoctoproject.org/releases/uninative/1.4/"
UNINATIVE_CHECKSUM[i686] ?= "b4bc60511ce479736808273ffa043df4ed2a225407dd7ca150ae6220d9ce76d5"
UNINATIVE_CHECKSUM[x86_64] ?= "101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca"

but not the checksums. odd.
Comment 2 brian avery 2016-10-05 14:59:31 UTC
Sending a fix that allows override from local.conf as well as a local.sample.conf comment that shows how/what to override.

I feel this is sufficient for closing this if accepted.
Comment 3 brian avery 2016-10-24 23:47:15 UTC
fixed in 
ce7e0252c498c25c782e181283172591d3e8b76b