[OE-core] [PATCH 1/1] gcc-target.inc: create symlinks for gcov and gcov-tool
Create symlinks for gcov and gcov-tool and that they can be used trivially on target. Signed-off-by: Chen Qi--- meta/recipes-devtools/gcc/gcc-target.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index f436fa2..7fb 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc @@ -179,6 +179,8 @@ do_install () { ln -sf ${TARGET_PREFIX}g++ g++ ln -sf ${TARGET_PREFIX}gcc gcc ln -sf ${TARGET_PREFIX}cpp cpp + ln -sf ${TARGET_PREFIX}gcov gcov + ln -sf ${TARGET_PREFIX}gcov-tool gcov-tool install -d ${D}${base_libdir} ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp ln -sf g++ c++ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] gcc-target.inc: create symlinks for gcov and gcov-tool
The following changes since commit b3d13e058a86cafc33aeab11eddfde77b1fd884f: libcomps: add a recipe (2017-03-11 16:09:14 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/gcov-symlinks http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/gcov-symlinks Chen Qi (1): gcc-target.inc: create symlinks for gcov and gcov-tool meta/recipes-devtools/gcc/gcc-target.inc | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [oe] State of bitbake world, Failed tasks 2017-03-11
On Sun, Mar 12, 2017 at 12:34 AM, Andrea Adamiwrote: > On Sun, Mar 12, 2017 at 12:29 AM, Mark Asselstine > wrote: >> On Sat, Mar 11, 2017 at 1:02 PM, Martin Jansa wrote: >>> This time the results are very inconsistent across different MACHINEs >>> because they were using significantly different metadata. >>> >>> qemuarm is oldest 3 from 4 failures were causes by pending meta-oe >>> changes which I've removed from master-next before qemux86* builds were >>> restarted (after they failed badly few times). >> >> >> You can add aufs-util to this list >> >> | make: cc: Command not found >> >> Regards, >> Mark >> >>> >>> qemux86-64 is latest and contains HOSTTOOLS changes from >>> oe-core/master-next that's why there is so many failures. >>> >>> From the failures I see following tools which we need to either add >>> to HOSTTOOLS or provide with added -native dependency: >>> cc - tcsh- >>> http://errors.yoctoproject.org/Errors/Details/135201/ >>> cc - u-boot-mkimage - >>> http://errors.yoctoproject.org/Errors/Details/135203/ >>> cc - toybox - >>> http://errors.yoctoproject.org/Errors/Details/135210/ >>> cc - yasm- >>> http://errors.yoctoproject.org/Errors/Details/135214/ >>> cpp - mkelfimage - >>> http://errors.yoctoproject.org/Errors/Details/135211/ >>> clear - lprng - >>> http://errors.yoctoproject.org/Errors/Details/135207/ >>> gcc-ar - ovmf- >>> http://errors.yoctoproject.org/Errors/Details/135202/ >>> join- netcf - >>> http://errors.yoctoproject.org/Errors/Details/135208/ >>> join- fontforge - >>> http://errors.yoctoproject.org/Errors/Details/135209/ >>> mknod - initramfs-live-boot - >>> http://errors.yoctoproject.org/Errors/Details/135213/ >>> nl - dash- >>> http://errors.yoctoproject.org/Errors/Details/135215/ >>> nl - klibc - >>> http://errors.yoctoproject.org/Errors/Details/135198/ > > Martin, > > I'll send a patch adding explicit dependency on coreutils-native (nl). > Thanks for your tests > > Cheers > Andrea > > >>> openssl - openflow- >>> http://errors.yoctoproject.org/Errors/Details/135216/ >>> readelf - firefox - >>> http://errors.yoctoproject.org/Errors/Details/135212/ >>> size- iptraf - >>> http://errors.yoctoproject.org/Errors/Details/135204/ >>> yes - libnet-ssleay-perl - >>> http://errors.yoctoproject.org/Errors/Details/135197/ >>> zcat- scsirastools- >>> http://errors.yoctoproject.org/Errors/Details/135205/ >>> >>> Some of these were already merged in newer HOSTTOOLS patch currently >>> in oe-core/master: >>> mknod cpp readelf split gcc-ar gpg sftp >>> and u-boot-mkimage should be fixed in master as well >>> I have to report failures with do_menuconfig because any of the terminals (xterm, gnome-terminal, ...) is listed in HOSTTOOLS. Setting OE_TERMINAL is pointless. ERROR: linux-handheld-4.10-r0 do_menuconfig: No valid terminal found, unable to open devshell. Andrea >>> I'll merge most meta-oe changes and retrigger new round of testing, >>> next time the failures should be a bit more consistent again. >>> >>> == Number of issues - stats == >>> {| class='wikitable' >>> !|Date !!colspan='3'|Failed tasks >>> !!colspan='6'|Failed depencencies!!|Signatures >>> !!colspan='12'|QA !!Comment >>> |- >>> || ||qemuarm ||qemux86 ||qemux86_64 >>> ||qemuarm||max||min ||qemux86||max||min ||all ||already-stripped >>> ||libdir||textrel ||build-deps||file-rdeps >>> ||version-going-backwards ||host-user-contaminated >>> ||installed-vs-shipped ||unknown-configure-option >>> ||symlink-to-sysroot||invalid-pkgconfig ||pkgname || >>> |- >>> ||2017-03-11||4 ||1 ||20||N/A ||N/A ||N/A ||N/A >>> ||N/A ||N/A ||0 ||0 ||0 ||0 ||0 >>> ||3 ||0 ||1 ||0 >>> ||0 ||0 ||0 ||0 || >>> |} >>> >>> http://www.openembedded.org/wiki/Bitbake_World_Status >>> >>> == Failed tasks 2017-03-11 == >>> >>> INFO: jenkins-job.sh-1.8.18 Complete log available at >>> http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.report.20170311_062851.log >>> >>> === common () === >>> >>> === common-x86 (1) === >>> * >>> meta-openembedded/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_5.1.14.bb:do_install >>> >>> === qemuarm (4) === >>> * >>> meta-openembedded/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.13.6.bb:do_compile >>> * >>> meta-openembedded/meta-oe/recipes-devtools/rapidjson/rapidjson_1.1.0.bb:do_compile >>> *
Re: [OE-core] [PATCH] gzip: add ptest
Denys Zagorui GlobalLogic Kyiv, 03038, Protasov Business Park, N.Grinchenka, 2/1 M +380.67.317.30.93 www.globallogic.com http://www.globallogic.com/email_disclaimer.txt 11 марта 2017 12:52 пользователь "Denys Zagorui"написал: > Hello, thanks for reply. > I figure out that 'zless' from gzip 1.8 don,t work with 'less' from > busybox. It's because 'zless' tries to verify 'less' version invoke it with > key -V, and 'less' from busybox don't understand this key, so test > 'help-version' fails. So when i remove version verification from 'zless' > it's works fine. > 'zdiff' test also fails, because 'diff' from busybox has another output > then 'diff' from diffutils package, so patch zdiff test (add version > verification), if 'diff' from busybox i check one output, if from diffutils > another. > > > > 10 марта 2017 09:10 пользователь "Patrick Ohly" > написал: > >> On Thu, 2017-03-09 at 22:48 +0200, Denys Zagorui wrote: >> > tests don't work with 'diff' and 'less' utils from busybox >> >> I don't think that depending on diff and less is the right solution for >> that problem, because then enabling testing will change the system that >> is meant to be tested. >> >> For example, suppose that the real system only has busybox and busybox >> diff needs to work. That version of diff cannot be tested anymore with >> IMAGE_FEATURES += "ptest-pkgs" because that will pull in gzip-ptest, >> which then overrides the busybox diff. >> >> Perhaps the tests can be fixed to work also with busybox, or the tests >> can detect busybox and skip the part that depends on real diff and less? >> >> -- >> Best Regards, Patrick Ohly >> >> The content of this message is my personal opinion only and although >> I am an employee of Intel, the statements I make here in no way >> represent Intel's position on the issue, nor am I authorized to speak >> on behalf of Intel on this matter. >> >> >> >> -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [v2][PATCH] license class: try alt encoding when copying license file
From: Armin Kusterv2: fix typos Try another encoding if utf-8 fails in file read. line 20 of irdadump.c contains: University of Tromsø fixes: WARNING: irda-utils-0.9.18-r0 do_populate_lic: Could not copy license file /home/akuster/oss/maint/openembedded-core/build/tmp-glibc/work/aarch64-mvl-linux/irda-utils/0.9.18-r0/irda-utils-0.9.18/irdadump/irdadump.c to /home/akuster/oss/maint/openembedded-core/build/tmp-glibc/work/aarch64-mvl-linux/irda-utils/0.9.18-r0/license-destdir/irda-utils/irdadump.c: 'utf-8' codec can't decode byte 0xf8 in position 874: invalid start byte Signed-off-by: Armin Kuster --- meta/classes/license.bbclass | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 0ff6560..3dab8d9 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -386,9 +386,19 @@ def copy_license_files(lic_files_paths, destdir): if begin_idx is None and end_idx is None: shutil.copyfile(src, dst) else: -with open(src, 'r') as src_f: +with open(src, "r", encoding="utf-8") as src_f: +try: +src_chunk = ''.join(src_f.readlines()[begin_idx:end_idx]) +except UnicodeDecodeError: +bb.debug(1, "Failed to copy license file %s using UTF-8 encoding" +" trying with iso8859-1" % src) +src_f.close() +with open(src, "r", encoding="iso8859-1") as src_f: +src_chunk = ''.join(src_f.readlines()[begin_idx:end_idx]) + + with open(dst, 'w') as dst_f: - dst_f.write(''.join(src_f.readlines()[begin_idx:end_idx])) +dst_f.write(src_chunk) except Exception as e: bb.warn("Could not copy license file %s to %s: %s" % (src, dst, e)) -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] lincese class: try alt encoding when copying license file
From: Armin KusterTry another encoding if utf-8 fails in file read. line 20 of irdadump.c contains: University of Tromsø fixes: WARNING: irda-utils-0.9.18-r0 do_populate_lic: Could not copy license file /home/akuster/oss/maint/openembedded-core/build/tmp-glibc/work/aarch64-mvl-linux/irda-utils/0.9.18-r0/irda-utils-0.9.18/irdadump/irdadump.c to /home/akuster/oss/maint/openembedded-core/build/tmp-glibc/work/aarch64-mvl-linux/irda-utils/0.9.18-r0/license-destdir/irda-utils/irdadump.c: 'utf-8' codec can't decode byte 0xf8 in position 874: invalid start byte Signed-off-by: Armin Kuster --- meta/classes/license.bbclass | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 0ff6560..01ab002 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -386,9 +386,19 @@ def copy_license_files(lic_files_paths, destdir): if begin_idx is None and end_idx is None: shutil.copyfile(src, dst) else: -with open(src, 'r') as src_f: +with open(src, "r", encoding="utf-8") as src_f: +try: +src_chunk = ''.join(src_f.readlines()[begin_idx:end_idx]) +except UnicodeDecodeError: +bb.debug(1, "Failed to copy licesne file %s using UTF-8 encoding" +" trying with iso8859-1" % src) +src_f.close() +with open(src, "r", encoding="iso8859-1") as src_f: +src_chunk = ''.join(src_f.readlines()[begin_idx:end_idx]) + + with open(dst, 'w') as dst_f: - dst_f.write(''.join(src_f.readlines()[begin_idx:end_idx])) +dst_f.write(src_chunk) except Exception as e: bb.warn("Could not copy license file %s to %s: %s" % (src, dst, e)) -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core