Hello, NXP team:
We encounter build failure on Yocto Zeus ( imx-5.4.70-2.3.2 branch).
The error message shows "ERROR: libgpuperfcnt-6.4.3.p1.4-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin;fsl-eula=true;name=ar...'. Unable to fetch URL from any source.
"
Steps:
Error message:
WARNING: libgpuperfcnt-6.4.3.p1.4-r0 do_fetch: Failed to fetch URL https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin;fsl-eula=true;name=ar..., attempting MIRRORS if available
ERROR: libgpuperfcnt-6.4.3.p1.4-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/sources/poky/scripts:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot/usr/bin/crossscripts:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot-native/usr/sbin:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot-native/usr/bin:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot-native/sbin:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/recipe-sysroot-native/bin:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/sources/poky/bitbake/bin:/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/hosttools"; export HOME="/home/jenkins"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/jenkins/workspace/src/yocto3.0/downloads 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin' --progress=dot -v failed with exit code 8, output:
--2021-05-31 02:05:46-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin
Resolving www.nxp.com (www.nxp.com)... 104.116.5.240
Connecting to www.nxp.com (www.nxp.com)|104.116.5.240|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-31 02:05:47 ERROR 404: Not Found.
ERROR: libgpuperfcnt-6.4.3.p1.4-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin;fsl-eula=true;name=ar...'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/build-x11-imx6dlsabresd/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/libgpuperfcnt/6.4.3.p1.4-r0/temp/log.do_fetch.29625
ERROR: Task (/home/jenkins/workspace/yocto-zeus_5.4.70-2.3.2_NXP_official/sources/meta-imx/meta-sdk/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.3.p1.4.bb:do_fetch) failed with exit code '1'
You can easily to replicate this problem by downloading:
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.4-arm-x11.bin
The link is invalid.
In "imx-5.4.70-2.3.2" branch, it uses "libgpuperfcnt-6.4.3.p1.0".
The download link is:
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/libgpuperfcnt-6.4.3.p1.0-arm-x11.bin
Well, if you're NXP, it's not really a problem @sinan since they don't support X11 distro. However, it would be very, very nice if NXP and their upstream hardware (SoM) vendors made it much much more clear and painfully obvious that they only really support `DISTRO=fsl-imx-xwayland` and that any errors you encounter when using another DISTRO (or even changing DISTRO_FEATURES in local conf) _are not expected to work_. This has caused me considerable pain, but it's really a matter of acceptance and moving on to find your own solution. It would be great if there were an open space where real users of these platforms crowd-sourced other distros based on `fsl-imx-xwayland` that were more realistic for minimalist use cases that don't want the kitchen sink installed on their embedded devices. This must be the majority of us, however we don't band together much because the companies we work for keep their yocto code private. It's a shame.
Can anyone in NXP help to fix this problem?
X11 isn't supported in 5.4 anymore
The problem still continues.