Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
166 stars 252 forks source link

build fails on meta-freescale/kirkstone due to missing revision in management-console upstream #1804

Open 0xharshal opened 4 months ago

0xharshal commented 4 months ago

Suddenly the builds started failing. Upon checking I notice that qoriq-mc-binary repository (https://github.com/nxp-qoriq/qoriq-mc-binary) no longer contains the revision mentioned in meta-freescale/recipes-dpaa2/management-complex/management-complex_10.35.0.bb https://github.com/Freescale/meta-freescale/blob/73a86058f0d44494dd0b17ee6dfbc4a5fb003fa8/recipes-dpaa2/management-complex/management-complex_10.35.0.bb#L10

The qoriq-mc-binary has some very recent changes and The license file also doesn't match.

Can you shed light on this, is this intended or the repository is compromised?

Build log snippet showing FetchError

$ MACHINE="tqmlx2160a-mblx2160a" DISTRO="dumpling" bitbake management-complex                                                            
...
NOTE: Executing Tasks
WARNING: management-complex-10.35.0-r0 do_fetch: Failed to fetch URL git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1, attempting MIRRORS if available
ERROR: management-complex-10.35.0-r0 do_fetch: Fetcher failure: Unable to find revision 836d7bf606b51c18b5e3726d68dcf3b3ac4de74a in branch  even from upstream
ERROR: management-complex-10.35.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1')
ERROR: Logfile of failure stored in: /Apr25_1435/build/tmp/work/tqmlx2160a_mblx2160a-tq-linux/management-complex/10.35.0-r0/temp/log.do_fetch.2844294
ERROR: Task (/Apr25_1435/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.35.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 514 tasks of which 513 didn't need to be rerun and 1 failed.
alberhung commented 4 months ago

I also faced the same issue a few days. Any solution?

otavio commented 4 months ago

Would you be willing to select and apply the necessary fixes from the master branch and prepare a pull request?

0xharshal commented 4 months ago

Would you be willing to select and apply the necessary fixes from the master branch and prepare a pull request?

I want to wait for official reply from NXP. NXP-Binary-EULA.txt is also missing.

The hash mentioned in kirkstone branch was not associated with a branch, it was an out-of-tree commit. I am pretty sure it was removed by git gc

This is the latest tag, https://github.com/nxp-qoriq/qoriq-mc-binary/tree/f638dd0e6103607c9d84d57c2ef2059f9b5d32b9 , there is a LICENSE file but no NXP-Binary-EULA.txt, similarly this one is also out of tree and does not belong to any branch

ryathnah commented 3 months ago

Hello team, let me know if any solution for this.