Bug 12542 - [Meta-Intel 2.5 M1 RC1] Unable to build poky tiny image where microcode source was inaccessible
Summary: [Meta-Intel 2.5 M1 RC1] Unable to build poky tiny image where microcode sourc...
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.5 M1
Assignee: California Sullivan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-08 04:47 UTC by yeoh ee peng
Modified: 2018-02-13 23:56 UTC (History)
1 user (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 yeoh ee peng 2018-02-08 04:47:35 UTC
Bitbake poky tiny failed at fetch intel-microcode:

WARNING: Failed to fetch URL https://downloadmirror.intel.com/27431/eng/microcode-20180108.tgz, attempting MIRRORS if available
DEBUG: Fetcher failure: Fetch command export no_proxy="localhost,127.0.0.0/1,intel.com,172.0.0.0/1,10.0.0.0/1"; export NO_PROXY="localhost,127.0.0.0/1,intel.com,172.0.0.0/1,10.0.0.0/1"; export ftp_proxy="http://proxy-png.intel.com:911"; export FTP_PROXY="http://proxy-png.intel.com:911"; export https_proxy="http://proxy-png.intel.com:911"; export HTTPS_PROXY="http://proxy-png.intel.com:911"; export http_proxy="http://proxy-png.intel.com:911"; export HTTP_PROXY="http://proxy-png.intel.com:911"; export PATH="/data/eyeoh7/tmp/poky_meta-intel/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/data/eyeoh7/tmp/poky_meta-intel/scripts:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux-musl:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot/usr/bin/crossscripts:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot-native/usr/sbin:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot-native/usr/bin:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot-native/sbin:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/work/corei7-64-intel-common-poky-linux-musl/intel-microcode/20180108-r0/recipe-sysroot-native/bin:/data/eyeoh7/tmp/poky_meta-intel/bitbake/bin:/data/eyeoh7/tmp/poky_meta-intel/build/tmp/hosttools"; export HOME="/home/eyeoh7"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /data/eyeoh7/tmp/poky_meta-intel/build/downloads 'https://downloadmirror.intel.com/27431/eng/microcode-20180108.tgz' --progress=dot -v failed with exit code 8, output:
--2018-02-06 12:32:17--  https://downloadmirror.intel.com/27431/eng/microcode-20180108.tgz
Resolving downloadmirror.intel.com (downloadmirror.intel.com)... 23.199.84.9
Connecting to downloadmirror.intel.com (downloadmirror.intel.com)|23.199.84.9|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.intel.com/content/www/us/en/404.html [following]
--2018-02-06 12:32:19--  http://www.intel.com/content/www/us/en/404.html
Resolving www.intel.com (www.intel.com)... 23.199.84.9
Connecting to www.intel.com (www.intel.com)|23.199.84.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.intel.com/content/www/us/en/404.html [following]
--2018-02-06 12:32:25--  https://www.intel.com/content/www/us/en/404.html
Connecting to www.intel.com (www.intel.com)|23.199.84.9|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-02-06 12:32:28 ERROR 404: Not Found.

Manual wget of intel-microcode also failed. 
eyeoh7@andromeda02:~$ wget https://downloadmirror.intel.com/27431/eng/microcode-20180108.tgz
--2018-02-08 12:38:57--  https://downloadmirror.intel.com/27431/eng/microcode-20180108.tgz
Resolving downloadmirror.intel.com (downloadmirror.intel.com)... 23.199.84.9
Connecting to downloadmirror.intel.com (downloadmirror.intel.com)|23.199.84.9|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.intel.com/content/www/us/en/404.html [following]
--2018-02-08 12:38:59--  http://www.intel.com/content/www/us/en/404.html
Resolving www.intel.com (www.intel.com)... 23.199.84.9
Connecting to www.intel.com (www.intel.com)|23.199.84.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.intel.com/content/www/us/en/404.html [following]
--2018-02-08 12:39:00--  https://www.intel.com/content/www/us/en/404.html
Connecting to www.intel.com (www.intel.com)|23.199.84.9|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-02-08 12:39:02 ERROR 404: Not Found.
Comment 1 Anuj Mittal 2018-02-08 04:54:05 UTC
This microcode has already been reverted to the older version in meta-intel master but that commit didn't make the milestone release I think:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=a6a5d581ff39c17873269484f86ff014a13ba2d8
Comment 2 California Sullivan 2018-02-13 23:56:34 UTC
As Anuj says, its been fixed in newer revisions, and will not be present in the next milestone release.