Hi, I'm not getting the deterministic behaviour I would expect for recipe license checksums and I just wanted to check expected behaviour.
Building this recipe [1] for rocko I get the following license checksum error: ERROR: cannelloni-1.0-r0 do_populate_lic: QA Issue: cannelloni: The LIC_FILES_CHKSUM does not match for file://gpl-2.0.txt;md5=B234EE4D69F5FCE4486A80FDAF4A4263 cannelloni: The new md5 checksum is b234ee4d69f5fce4486a80fdaf4a4263 The checksums are the same but unusually the recipe has specified the license md5 in uppercase. Looking at the check in insane.bbclass [2] the error is expected for a case sensitive comparison and so the fix is straight forward. Patch the recipe to use a lower case checksum. So far so normal. The weird thing is that recipe has been around for some time and I wonder why it's not been reported. Indeed in the same build environment, but different build trees, for one machine I get the error above, but for the other I don't. I have no explanation for why the check isn't deterministic in the same environment, presumably running the same python. Like I say it's a straight forward fix for the specific error but I just wanted to flag the behaviour up before moving on in case this is some kind of corner case that is an opportunity to improve the project. [1] https://github.com/GENIVI/genivi-dev-platform/blob/14.0.x-rocko/meta-genivi-dev/meta-genivi-dev/recipes-extended/cannelloni/cannelloni.bb#L4 [2] https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/insane.bbclass?h=rocko&id=66550feb26f091f645d9e25ad0febef6d3d8f2eb#n642 Host is ubuntu 16.04.5 LTS running python 2.7.12 and python3 3.5.2. Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "h3ulcb" DISTRO = "poky-ivi-systemd" DISTRO_VERSION = "14.0.0" TUNE_FEATURES = "aarch64 cortexa57-cortexa53" TARGET_FPU = "" SOC_FAMILY = "rcar-gen3:r8a7795" meta meta-poky meta-yocto-bsp = "HEAD:6b744113ad3e564d1cb05411816b103d99fd84dc" meta-ivi meta-ivi-bsp = "HEAD:0c7d8350caa9699cbdeed40caf2991503bdb2400" meta-oe meta-filesystems meta-gnome meta-networking meta-python = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57" meta-gplv2 = "HEAD:f875c60ecd6f30793b80a431a2423c4b98e51548" meta-qt5 = "HEAD:fa73caf8b9466629bb044134d80294c1e5742f13" meta-sdl = "HEAD:60c9fe8a4a9c6ca95f222685f8d6248f16236f2a" meta-erlang meta-genivi-dev meta-ivi meta-qt5 meta-rvi meta-oe poky = "master:299e4aa5a0f961c367b66b327216527644cd695a" meta-erlang = "HEAD:cefeda63b04308fd740af5be2a628c513e387f6b" meta-rvi = "HEAD:de9d548fe35e2cee8688faaae910b4f6f7fea17e" meta-flatpak = "HEAD:f07b81d9561d391ee301184bd094d6417470a559" meta-lgsvl-browser = "HEAD:2d9a4507bc73214250173bbf12d8638f6bb64f96" meta-rcar-gen3 = "HEAD:fd078b6ece537d986852cb827bd21e022a797b2f" meta-rcar-gen3 = "master:299e4aa5a0f961c367b66b327216527644cd695a" meta-optee = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885" meta-ivi-renesas = "HEAD:e1e5223d7f3d36b65f45f7d4408271b622506082" Regards Steve -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
