Bug 7584 - Multiple warnings from license checks
Summary: Multiple warnings from license checks
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M2
Assignee: Aníbal Limón
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-08 20:31 UTC by Martin Jansa
Modified: 2015-10-13 15:18 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jansa 2015-04-08 20:31:29 UTC
Most images I've recently built show many warnings in log.do_rootfs:

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [WARNING:]
WARNING: log_check: WARNING: The license listed zlib was not in the licenses collected for liblinebreak

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [WARNING:]
WARNING: log_check: WARNING: The license listed Firmware-Marvell was not in the licenses collected for linux-firmware

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [WARNING:]
WARNING: log_check: WARNING: The license listed GPL-2.0+-with-OpenSSL-exception was not in the licenses collected for socat

This makes it hard to spot new warnings. Please fix socat and linux-firmware in oe-core, I'll fix liblinebreak in meta-oe.
Comment 1 Martin Jansa 2015-04-08 21:03:31 UTC
meta/recipes-connectivity/socat/socat_1.7.3.0.bb:LICENSE = "GPL-2.0+-with-OpenSSL-exception"

There is only GPL-2.0-with-OpenSSL-exception (without the +):
meta/files/common-licenses/GPL-2.0-with-OpenSSL-exception


LICENSE_${PN}-sd8787 = "Firmware-Marvell"
was introduced in ./meta/recipes-kernel/linux-firmware/linux-firmware_git.bb by:

commit 64fbea5625488adc0dcccf2cf3c09880b9554a52
Author: Peter A. Bigot <pab@pabigot.com>
Date:   Thu Aug 29 13:35:47 2013 -0500

    linux-firmware: package Marvell SD8787 firmware
    
    Also split out Marvell license as separate package.
Comment 2 Martin Jansa 2015-04-08 21:13:48 UTC
Fix for liblinebreak and nodejs in meta-oe:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-April/101033.html
Comment 3 Peter A. Bigot 2015-04-08 22:56:04 UTC
I have no idea how to fix this. Is it simple that the wrong names are used in all these variables?

In the most recent build I have logs for I see:

WARNING: The license listed Firmware-atheros_firmware was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-bcm4329 was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-bcm4330 was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-bcm4334 was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-radeon was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-ralink was not in the licenses collected for linux-firmware
for linux-firmware
WARNING: The license listed Firmware-rtlwifi was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-Marvell was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-via_vt6656 was not in the licenses collected for linux-firmware
WARNING: The license listed Firmware-ti-connectivity was not in the licenses collected for linux-firmware

so I don't think this is specific to Marvell, but indicates a lack of proper license specification in linux-firmware as a whole.  The licences/linux-firmware directory in my deploy area has them all; the Marvell one is named LICENCE.Marvell.
Comment 4 Martin Jansa 2015-04-08 23:03:19 UTC
> I have no idea how to fix this. Is it simple that the wrong names are used in all these variables?

I think the license files need to be copied to
meta/files/common-licenses/
Comment 5 Paul Eggleton 2015-04-09 13:43:25 UTC
FWIW bug 7539 covers linux-firmware license warnings and Randy M has agreed to find someone to fix that.
Comment 6 Aníbal Limón 2015-05-26 20:44:51 UTC
Duplicate of the bug already resolved.

*** This bug has been marked as a duplicate of bug 7593 ***
Comment 7 Martin Jansa 2015-05-27 10:21:58 UTC
I don't see socat issue resolved, am I missing something?
Comment 8 Martin Jansa 2015-05-27 10:22:51 UTC
I don't see socat issue resolved, am I missing something?

And 7593 doesn't seem related at all:
Bug 7593 - wic: add a way to compact directdisk images
Comment 9 Paul Eggleton 2015-05-27 10:45:16 UTC
It was bug 7539 (typo I guess) but that was specific to linux-firmware. I'm reopening as this covers other issues, at least one of which appears not to be resolved yet.
Comment 10 Aníbal Limón 2015-05-27 14:19:50 UTC
(In reply to comment #8)
> I don't see socat issue resolved, am I missing something?
> 
> And 7593 doesn't seem related at all:
> Bug 7593 - wic: add a way to compact directdisk images

It was a typo correct bug 7539.
Comment 11 Aníbal Limón 2015-06-24 16:48:55 UTC
The issue is already solved in master branch.

I sent patch for FIDO,

http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106488.html
Comment 12 Aníbal Limón 2015-06-29 14:47:24 UTC
Marked for merge,

http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106565.html
Comment 13 Bogdan Alexandru Voiculescu 2015-10-13 15:18:44 UTC
[valentin@localhost build]$ MACHINE=genericx86-64 bitbake core-image-sato
WARNING: Host distribution "Fedora-22" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |#########################################################################################################################| Time: 00:00:15
Parsing of 935 .bb files complete (0 cached, 935 parsed). 1367 targets, 58 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.27.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-22"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "genericx86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8+snapshot-20150915"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "master:ea562de57590c966cd5a75fda8defecd397e6436"
meta-intel
meta-nuc          = "master:cea00968b858b60222d68103491f076067d73876"
workspace         = "master:ea562de57590c966cd5a75fda8defecd397e6436"
meta-raspberrypi  = "master:17dad9328b100beda1cf870c9075e509b5cbfa90"


NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently 8 running tasks (156 of 5710):
0: gcc-source-5.2.0-5.2.0-r0 do_unpack (pid 5482)
1: binutils-cross-x86_64-2.25.1-r0 do_unpack (pid 5675)
2: glibc-initial-2.22-r0 do_unpack (pid 5802)
3: glibc-2.22-r0 do_unpack (pid 5801)
4: m4-native-1.4.17-r0 do_configure (pid 8840)
5: db-native-6.0.30-r0 do_unpack (pid 13829)
6: opkg-utils-0.1.8+gitAUTOINC+53274f0875-r0 do_unpack (pid 15435)
7: gtk-doc-stub-native-1.1+gitAUTOINC+1dea266593-r0 do_unpack (pid 15706)