On Fri, May 27, 2016 at 03:22:01PM +0200, Martin Jansa wrote: > On Wed, May 11, 2016 at 09:35:05AM +0000, g...@git.openembedded.org wrote: > > rpurdie pushed a commit to branch master > > in repository openembedded-core. > > > > commit c269547ae8e90a78349f6003385137e4145e145f > > Author: Paul Eggleton <paul.eggle...@linux.intel.com> > > AuthorDate: Tue May 10 10:25:05 2016 +1200 > > > > classes/insane: do not force LIC_FILES_CHKSUM unless SRC_URI is set > > > > Recipes such as images and packagegroups don't actually fetch or build > > any source, so there's really no point having LIC_FILES_CHKSUM set. > > Forcing users to set it (as we have done for images inheriting > > image.bbclass) just makes things more difficult for the user for no > > discernable benefit. The easiest way to adjust this check is simply to > > skip it if SRC_URI is not set since this is a pretty good indicator that > > no source is being pulled in. > > I'm not sure which recent change caused it, but can we keep the QA issues > stored in qa.log to contain all important information on single line > which ends with [check-name]? (it can have more details on preceeding lines > like installed-not-packaged check) > > The qa.log from last world build is missing many line-feeds and > [license-checksum] are hard to read (even worse to parse automatically) > > see: > http://logs.nslu2-linux.org/buildlogs/oe/world//log.world.qemuarm.20160523_030221.log//qa.log
It was working on 20160520 http://logs.nslu2-linux.org/buildlogs/oe/world//log.dependencies.qemuarm.20160520_011029.log/qa.log so it's probably this change: commit 0f4ec13e11bb8abe21aba2a28547dfb9372bc377 Author: Richard Purdie <richard.pur...@linuxfoundation.org> Date: Sat May 21 12:26:45 2016 +0100 meta/scripts: python3: rename file -> open file() API doesn't exist in python 3, convert to open(). Also handle some cases where files aren't closed. Compatible with python 2.7. [Contributions from Ed and Richard] Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 0b151c2..116abc4 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -177,9 +177,8 @@ def package_qa_write_error(type, error, d): logfile = d.getVar('QA_LOGFILE', True) if logfile: p = d.getVar('P', True) - f = file( logfile, "a+") - print >> f, "%s: %s [%s]" % (p, error, type) - f.close() + with open(logfile, "a+") as f: + f.write("%s: %s [%s]" % (p, error, type)) def package_qa_handle_error(error_class, error_msg, d): package_qa_write_error(error_class, error_msg, d) the rest of oe-core log looks sane OE @ ~/openembedded-core $ git log --oneline 19bd5eb28027eb86e5f9cf688fc80fbd98774306..d8b4dfa189a5c8492761d1c78b3cc2435b0275f7 | tee d8b4dfa metadata-revs: provide more information 79685fa buildhistory.bbclass: metadata-revs show repo parent 6476c35 recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links" a51f426 sstate-sysroot-cruft.sh: Extend the whitelist 1c0c3ec qemux86: Add identical qemux86copy variant for tests 0a99136 report-error: Allow to upload reports automatically 474d3aa linux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt d6241e4 useradd: Fix infinite build loop 048c901 linux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt b6c7161 scripts/bitbake-whatchanged: migrate from optparse to argparse 8016b51 core-image-{minimal, testmaster}-initramfs: set COMPATIBLE_HOST d2b4da7 image.bbclass: additional output in create_symlinks 85855af image.bbclass: support duplicate compression types 6cc6526 coreutils: Fix rootfs creation errors 4c98c19 net-tools: Fix rootfs creation errors 52d3d9e shadow: Fix rootfs creation errors 6993e88 musl: Update to latest tip 6c18103 qemu: Upgrade to 2.6.0 33865f2 harfbuzz: update to 1.2.7 504a822 libsolv: update to 0.6.21 378608a libsoup-2.4: provide PACKAGECONFIG for gssapi 05bce1f cmake: update to 3.5.2 f4232f7 ghostscript: Update URL_SRI considered as 'old release' 73f43d8 systemd: re-enable mount propagation for udevd 9098838 package_manager: no need to output Note: in bb.note() calls 5a0b857 wipe-sysroot: fix wrong glob when removing manifests 1bfe160 scripts/oe-selftest: Remove inadvertant python3 specific change fa2ca76 python-smartpm: Avoid locale issue with bitbake python3 833d4c0 bitbake.conf/toolchain-shar-extract: Use en_US.UTF-8 as locale d13f0ac meta: Update to modern exception syntax 96ed92a kernel-uimage: Fix python indentation 0f4ec13 meta/scripts: python3: rename file -> open ced1995 meta/selftest/scripts: Use print function for python3 compatibility 7a4c9c9 devtool: sdk-update: drop support for local updates faa1229 nativesdk-glibc: Extend relocation support to locales 6993d18 glibc-locale: Enable binary locale generation for nativesdk-glibc b06d9ad build-appliance-image: use 'lnr' instead of 'ln -sr' be62b6b lttng-modules: Upgrade to 2.7.3 release 3ba4fd8 mkelfimage: obey LDFLAGS, sort out HOST_ flags f74cdf8 core-image-weston: If X11 is enabled, add XWayland support 76ed534 weston-init: Use weston-launch when starting weston as the first windowing system 4bbb5d5 weston: Add Xwayland initialization support using weston-start 3e7c4d0 weston-init: Add module support for the weston-start helper 2332f93 weston-init: Error out if loading a nested instance 1963dfb weston-init: Rework init sequence to avoid code duplication 9d745d7 weston-init: Rework do_install to use install -D option 6295197 weston: Provide a default version of weston-launch that doesn't require PAM f16f3d6 weston: Remove XWayland dependencies on PACKAGECONFIG b9a484b weston: Enable XWayland when X11 and Wayland support are available a3084bd weston: Add PACKAGECONFIG option for 'clients' 32e9ef3 weston: Fix SystemD service description 9494ac0 weston: weston-launch: Handle invalid command line options > > libnewt-0.52.18: /usr/bin/whiptail contained in package whiptail requires > libnewt.so, but no providers found in RDEPENDS_whiptail? > [file-rdeps]qtwayland-5.6.99+5.7.0-beta+gitAUTOINC+d27075a3f9: > qtwayland-plugins rdepends on libxcomposite, but it isn't a build dependency, > missing libxcomposite in DEPENDS or PACKAGECONFIG? > [build-deps]gnome-menus-2.30.5: /usr/bin/gmenu-simple-editor contained in > package gnome-menus requires > /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/python-native/python, > but no providers found in RDEPENDS_gnome-menus? > [file-rdeps]networkmanager-1.0.10: /usr/bin/nmtui-connect contained in > package networkmanager-nmtui requires libnewt.so, but no providers found in > RDEPENDS_networkmanager-nmtui? [file-rdeps]samba-4.4.2: samba rdepends on > libpam, but it isn't a build dependency, missing libpam in DEPENDS or > PACKAGECONFIG? [build-deps]xfsprogs-3.2.3: /usr/sbin/xfs_db contained in > package xfsprogs requires libxfs.so.0, but no providers found in > RDEPENDS_xfsprogs? [file-rdeps]xfsprogs-3.2.3: /sbin/mkfs.xfs contained in > package xfsprogs-mkfs requires libxfs.so.0, but no providers found in > RDEPENDS_xfsprogs-mkfs? [file-rdeps]chkconfig-1.3.58: /usr/sbin/ntsysv > contained in package chkconfig requires libnewt.so, but no providers found in > RDEPENDS_chkconfig? [file-rdeps]numptyphysics-0.2+svnr109: > /usr/share/numptyphysics/convert_all.sh contained in package numptyphysics > requires /bin/bash, but no providers found in RDEPENDS_numptyphysics? > [file-rdeps]qtcharts-5.6.99+5.7.0-beta+gitAUTOINC+8a78184181: > qtcharts-examples rdepends on qtmultimedia, but it isn't a build dependency, > missing qtmultimedia in DEPENDS or PACKAGECONFIG? > [build-deps]libmodule-build-perl-0.31: /usr/bin/config_data contained in > package libmodule-build-perl requires > /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/perl-native/perl.real, > but no providers found in RDEPENDS_libmodule-build-perl? > [file-rdeps]dvb-apps-1.1.1: /usr/bin/dvbdate contained in package dvbdate > requires libucsi.so, but no providers found in RDEPENDS_dvbdate? > [file-rdeps]dvb-apps-1.1.1: /usr/bin/dvbtraffic contained in package > dvbtraffic requires libdvbapi.so, but no providers found in > RDEPENDS_dvbtraffic? [file-rdeps]dvb-apps-1.1.1: /usr/bin/dvbscan contained > in package dvb-scan requires libdvbapi.so, but no providers found in > RDEPENDS_dvb-scan? [file-rdeps]dvb-apps-1.1.1: /usr/bin/gotox contained in > package dvb-apps requires libdvbapi.so, but no providers found in > RDEPENDS_dvb-apps? [file-rdeps]dvb-apps-1.1.1: /usr/bin/femon contained in > package dvb-femon requires libdvbapi.so, but no providers found in > RDEPENDS_dvb-femon? [file-rdeps]dvb-apps-1.1.1: /usr/bin/dvbnet contained in > package dvbnet requires libdvbapi.so, but no providers found in > RDEPENDS_dvbnet? [file-rdeps]libnewt-python-0.52.18: > /usr/lib/python2.7/site-packages/_snack.so contained in package > libnewt-python requires libnewt.so, but no providers found in > RDEPENDS_libnewt-python? [file-rdeps]packagegroup-tools-bluetooth-1.0: > packagegroup-tools-bluetooth: The LIC_FILES_CHKSUM does not match for > file:///home/jenkins/oe/world/shr-core/openembedded-core/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 > packagegroup-tools-bluetooth: The new md5 checksum is > 4d92cd373abda3937c2bc47fbc49d690 > packagegroup-tools-bluetooth: Check if the license information has changed in > /home/jenkins/oe/world/shr-core/openembedded-core/LICENSE to verify that the > LICENSE value "MIT" remains valid > [license-checksum]ubx-utils-0.0.0+gitrAUTOINC+b63c0932dd: > /usr/bin/memory-map.sh contained in package ubx-utils requires /bin/bash, but > no providers found in RDEPENDS_ubx-utils? [file-rdeps] > > > Signed-off-by: Paul Eggleton <paul.eggle...@linux.intel.com> > > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> > > --- > > meta/classes/insane.bbclass | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass > > index 097dc3a..0b151c2 100644 > > --- a/meta/classes/insane.bbclass > > +++ b/meta/classes/insane.bbclass > > @@ -681,15 +681,15 @@ python populate_lic_qa_checksum() { > > import tempfile > > sane = True > > > > - lic_files = d.getVar('LIC_FILES_CHKSUM', True) > > + lic_files = d.getVar('LIC_FILES_CHKSUM', True) or '' > > lic = d.getVar('LICENSE', True) > > pn = d.getVar('PN', True) > > > > if lic == "CLOSED": > > return > > > > - if not lic_files: > > - package_qa_handle_error("license-checksum", pn + ": Recipe file > > does not have license file information (LIC_FILES_CHKSUM)", d) > > + if not lic_files and d.getVar('SRC_URI', True): > > + package_qa_handle_error("license-checksum", pn + ": Recipe file > > fetches files and does not have license file information > > (LIC_FILES_CHKSUM)", d) > > return > > > > srcdir = d.getVar('S', True) > > > > -- > > To stop receiving notification emails like this one, please contact > > the administrator of this repository. > > -- > > _______________________________________________ > > Openembedded-commits mailing list > > openembedded-comm...@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-commits > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core