NXP repo site broken, please fix. Using patch 1609, bitbake breaks attempting to fetch using standard build procedure. This was working but started failing yesterday but again is specific to 1609 build after 1611 was pushed to the NXP repo. SDK 2.0 does numerous fetches and if there is any consistency, the bitbake will fail. Customer's need to have a processes of mirror the NXP repo so this doesn't happen.
I have attached all related logs, bbappend, and the FETCH_HEAD and tags indicating failure is git://git.freescale.com/ppc/sdk/linux for fsl-sdk-v2.0-1609! Customer's may need to be frozen at a current tag and don't expect bitbake fetches to fail on previous updates/tags.
tlsmith@Latitude-E7440:~/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb$ bitbake fsl-image-full
Parsing recipes: 100% |####################################################################################################| Time: 00:01:56
Parsing of 2716 .bb files complete (0 cached, 2716 parsed). 3420 targets, 249 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
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:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
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:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
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"
meta-nxp-npi-1609 = "master:68e60ceae569d4f1ae898eb1ca2ddada1d0f3bc5"
NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2503 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 667e6ba9ca2150b3cabdd0c07b57d1b88ef3b86a 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/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_fetch.31374
ERROR: Task 45 (/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 779 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/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Original Attachment has been moved to: 20161221120639.log.zip
Original Attachment has been moved to: linux-qoriq_4.1.bbappend.zip
Original Attachment has been moved to: FETCH_HEAD.zip
Original Attachment has been moved to: fsl-sdk-v2.0-1609.zip
Original Attachment has been moved to: 20161221030306.log.zip
We have tested SDK 2.0 under Ubuntu 16.04 64-bit using 1609 patch.
The following command sequence is used:
if it is 64-bit operating system, run the following command also:
sudo apt-get install ia32-libs lib32ncurses5
Message: /bin/sh -> dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
Message: /bin/sh -> bash
sdk 1.7: scripts: ./poky/scripts/host-prepare.sh
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
There are several NXP support threads with similar complaints about git fetch failures for
git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x
The real resolution lies in patching the linux-qoriq_4.1.bb recipe as recommended in this link:
https://patchwork.openembedded.org/patch/132491/