Bug 14199

Summary: wrong md5sum for u-boot-ti-staging
Product: [Build System, Metadata & Runtime] BSPs Reporter: Marcus Francisco <marcus.francisco>
Component: bsps-meta-tiAssignee: Denys Dmytriyenko <denis>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Marcus Francisco 2021-01-25 17:30:39 UTC
Preconditions/Environment
-------------------------
Yocto Dunfell with meta-ti

meta-ti git commit:
commit 542456ca082d (HEAD, tag: 07.02.00.004, origin/dunfell-next, origin/dunfell, m/master)


Triggering Action/Cause
-----------------------
bitbake core-image-minimal

Expectation
-----------
build should be generated

Actual Result
-------------

ERROR: u-boot-ti-staging-1_2021.01+gitAUTOINC+c4fddedc48-r1 do_populate_lic: QA Issue: u-boot-ti-staging: The LIC_FILES_CHKSUM does not match for file://Licenses/README;md5=30503fd321432fc713238f582193b78e
u-boot-ti-staging: The new md5 checksum is 5a7450c57ffe5ae63fd732446b988025
u-boot-ti-staging: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
SPDX-License-Identifier: GPL-2.0

  U-Boot is Free Software.  It is copyrighted by Wolfgang Denk and
many others who contributed code (see the actual source code and the
git commit messages for details).  You can redistribute U-Boot and/or
modify it under the terms of version 2 of the GNU General Public
License as published by the Free Software Foundation.  Most of it can
also be distributed, at your option, under any later version of the
GNU General Public License -- see individual files for exceptions.

...
GNU Lesser General Public License v2.1 or later	LGPL-2.1+	Y		lgpl-2.1.txt		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
eCos license version 2.0			eCos-2.0			eCos-2.0.txt		http://www.gnu.org/licenses/ecos-license.html
BSD 2-Clause License				BSD-2-Clause	Y		bsd-2-clause.txt	http://spdx.org/licenses/BSD-2-Clause
BSD 3-clause "New" or "Revised" License		BSD-3-Clause	Y		bsd-3-clause.txt	http://spdx.org/licenses/BSD-3-Clause#licenseText
IBM PIBS (PowerPC Initialization and		IBM-pibs			ibm-pibs.txt
	Boot Software) license
ISC License					ISC		Y		isc.txt			https://spdx.org/licenses/ISC
MIT License					MIT		Y		mit.txt			https://spdx.org/licenses/MIT.html
SIL OPEN FONT LICENSE (OFL-1.1)			OFL-1.1		Y		OFL.txt			https://spdx.org/licenses/OFL-1.1.html
X11 License					X11				x11.txt			https://spdx.org/licenses/X11.html
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
u-boot-ti-staging: Check if the license information has changed in /yocto-linux/build/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/1_2021.01+gitAUTOINC+c4fddedc48-r1/git/Licenses/README to verify that the LICENSE value "GPLv2+" remains valid [license-checksum]
ERROR: u-boot-ti-staging-1_2021.01+gitAUTOINC+c4fddedc48-r1 do_populate_lic: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /yocto-linux/build/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/1_2021.01+gitAUTOINC+c4fddedc48-r1/temp/log.do_populate_lic.309632
ERROR: Task (/yocto-linux/build/..//meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb:do_populate_lic) failed with exit code '1'


Reproducibility
---------------
10/10

Where:
n = total number of attempts
m = number of times the phenomenon is visible
Comment 1 Marcus Francisco 2021-01-26 08:48:24 UTC
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index dc8d6b06..33cb0329 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -21,7 +21,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
 SUMMARY = "u-boot bootloader for TI devices"
 
 LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
 BRANCH ?= "master"
 UBOOT_GIT_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git"