Closed aholza closed 1 month ago
Thanks for the research on this. We could rename the recipe gcc-source-for-nvcc
so it fits with the somewhat hacky workaround in base.bbclass; that would probably be simpler than trying to get a cleaner fix merged upstream and backported everywhere we might need this.
If GPL-3.0-only is added to INCOMPATIBLE_LICENSE, then a build fails with the following output:
Poky does also use the mechanism for sharing its gcc sources as meta-tegra does. The gcc shared sources recipe cannot be added to INCOMPATIBLE_LICENSE_EXCEPTIONS, as it has the PV added and the license check does remove any version information for the package. So Poky was adding a explicit exception for the gcc-source in the license checker, which does not match for the gcc-for-nvcc-source recipe.
https://git.yoctoproject.org/poky/commit/meta/classes/base.bbclass?h=yocto-4.0.10&id=7b88042b801403054e76c9bb51419c73acbb1d59
Maybe upstream
base.bbclass
needs to have a wildcard in the matching of that exception or even needs to have a variable which meta-tegra can then populate to get this bug fixed.