AnsweredAssumed Answered

The SDK 2.0 build breaks using public git repo, why?

Question asked by pro-supportengineer Employee on Oct 3, 2016
Latest reply on Oct 13, 2016 by pro-supportengineer

Please refer to the following procedure which Yiping Wang received from the NXP SDK product team for external customers.  It appears that sources are missing from the mirror site 'git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x' causing a fetch failure.

 

Customers need to be able to successfully mirror a NXP QorIQ git repo and build.  How can customer's do a successful build using a public NXP git repo.


$: mkdir ~/bin
$: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$: chmod a+x ~/bin/repo

 

$: PATH=${PATH}:~/bin
$: mkdir fsl-qoriq-sdk
$: cd fsl-qoriq-sdk
$: repo init -u git://git.freescale.com/yocto/fsl-yocto-repo.git -b refs/tags/fsl-sdk-v2.0-public
$: repo sync

$: . ./fsl-setup-env -m ls1043ardb

$: bitbake fsl-image-full

 

Using the above procedure, the full bitbake fails.  What is needed to fix the bitbake failure.

 

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS        = "aarch64-fsl-linux"
MACHINE           = "ls1043ardb"
DISTRO            = "fsl-qoriq"
DISTRO_VERSION    = "2.0"
TUNE_FEATURES     = "aarch64"
TARGET_FPU        = ""
meta             
meta-yocto       
meta-yocto-bsp    = "HEAD:53f0290658256f57c6e5d24459763eb96db2c1c1"
meta-oe          
meta-multimedia  
meta-gnome       
meta-networking  
meta-perl        
meta-python      
meta-ruby        
meta-filesystems 
meta-webserver   
meta-xfce         = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale    = "HEAD:2461b02ac6e7d549647ced03b084f14f845906d1"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java         = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack   
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security     = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"
meta-linaro-toolchain = "HEAD:10b71bed9cfe76baa22c72806ff814cf85c2f73b"

NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2647 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision bd51baffc04ecc73f933aee1c3a37c8b44b889a7 in branch sdk-v2.0.x even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/tlsmith/src/fsl-qoriq-sdk/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_fetch.96083
ERROR: Task 45 (/home/tlsmith/src/fsl-qoriq-sdk/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 873 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/tlsmith/src/fsl-qoriq-sdk/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes