Bug 12017

Summary: some published toolchain artifacts for eSDK have SDK_GCC_VER empty
Product: [Infrastructure] AutoBuilder Reporter: Jose Perez C <jose.perez.carranza>
Component: autobuilderAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, pidge
Version: 2.4   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jose Perez C 2017-08-31 12:39:52 UTC
There are some artifacts that have set SDK_GCC_VER = '', this causing an error when trying to use them. Some others have the SDK_GCC_VER properly set and are working correctly. Below is the list of the artifacts:

==============================================================================
- https://autobuilder.yocto.io/pub/releases/yocto-2.4_M3.rc1/toolchain/x86_64/

poky-glibc-x86_64-core-image-minimal-aarch64-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-minimal-cortexa8hf-neon-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.3.sh:SDK_GCC_VER='-4.8'
poky-glibc-x86_64-core-image-minimal-mips32r2-toolchain-ext-2.3.sh:SDK_GCC_VER='-4.9'
poky-glibc-x86_64-core-image-minimal-mips64-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-minimal-ppc7400-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-aarch64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-armv5e-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-armv5e-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-cortexa8hf-neon-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-i586-toolchain-2.3.sh:SDK_GCC_VER='-4.8'
poky-glibc-x86_64-core-image-sato-i586-toolchain-ext-2.3.sh:SDK_GCC_VER='-4.8'
poky-glibc-x86_64-core-image-sato-mips32r2-toolchain-2.3.sh:SDK_GCC_VER='-4.9'
poky-glibc-x86_64-core-image-sato-mips32r2-toolchain-ext-2.3.sh:SDK_GCC_VER='-4.9'
poky-glibc-x86_64-core-image-sato-mips64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-ppc7400-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-x86_64-core-image-sato-ppc7400-toolchain-ext-2.3.sh:SDK_GCC_VER=''

==============================================================================
- https://autobuilder.yocto.io/pub/releases/yocto-2.4_M3.rc1/toolchain/i686/

poky-glibc-i686-core-image-sato-aarch64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-i686-core-image-sato-armv5e-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-i686-core-image-sato-core2-64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-i686-core-image-sato-cortexa8hf-neon-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-i686-core-image-sato-i586-toolchain-2.3.sh:SDK_GCC_VER='-4.8'
poky-glibc-i686-core-image-sato-mips32r2-toolchain-2.3.sh:SDK_GCC_VER='-4.9'
poky-glibc-i686-core-image-sato-mips64-toolchain-2.3.sh:SDK_GCC_VER=''
poky-glibc-i686-core-image-sato-ppc7400-toolchain-2.3.sh:SDK_GCC_VER=''

==================== ERROR ========================

Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.3
==========================================================================
Error: Incompatible SDK installer! Your host gcc version is 4.9 and this SDK was built by gcc higher version.
Comment 1 Jose Perez C 2017-08-31 15:31:43 UTC
After Richard comments on triage I double checked and there is problem with gcc-5 dependencies on my host, so it was still using 4.9 by default and hence the error appeared, I just correct the dependencies the installation goes well and the artifact can be used correctly even if SDK_GCC_VER='', So setting this as invalid.