[OE-core] [PATCH 1/2] unfs3: Fix build with musl
Should also fix build on new build hosts where with glibc 2.27 rpc support is dropped in favor of libtirpc Signed-off-by: Khem Raj--- meta/conf/distro/include/world-broken.inc | 4 --- .../0001-daemon.c-Libtirpc-porting-fixes.patch | 37 ++ meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 10 -- 3 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/world-broken.inc index 49e9516d53..42cacfdf2e 100644 --- a/meta/conf/distro/include/world-broken.inc +++ b/meta/conf/distro/include/world-broken.inc @@ -5,10 +5,6 @@ # rt-tests needs PI mutex support in libc EXCLUDE_FROM_WORLD_pn-rt-tests_libc-musl = "1" -# error: no member named 'sin_port' in 'struct sockaddr_in6' -# this is due to libtirpc using ipv6 but portmap rpc expecting ipv4 -EXCLUDE_FROM_WORLD_pn-unfs3_libc-musl = "1" - # error: use of undeclared identifier '_STAT_VER' EXCLUDE_FROM_WORLD_pn-pseudo_libc-musl = "1" diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch new file mode 100644 index 00..6eee6748f9 --- /dev/null +++ b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch @@ -0,0 +1,37 @@ +From c7a2a65d6c2a433312540c207860740d6e4e7629 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 11 Mar 2018 17:32:54 -0700 +Subject: [PATCH] daemon.c: Libtirpc porting fixes + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + daemon.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/daemon.c b/daemon.c +index 22f30f6..028a181 100644 +--- a/daemon.c b/daemon.c +@@ -117,7 +117,7 @@ void logmsg(int prio, const char *fmt, ...) + */ + struct in_addr get_remote(struct svc_req *rqstp) + { +-return (svc_getcaller(rqstp->rq_xprt))->sin_addr; ++return ((struct sockaddr_in*)svc_getcaller(rqstp->rq_xprt))->sin_addr; + } + + /* +@@ -125,7 +125,7 @@ struct in_addr get_remote(struct svc_req *rqstp) + */ + short get_port(struct svc_req *rqstp) + { +-return (svc_getcaller(rqstp->rq_xprt))->sin_port; ++return ((struct sockaddr_in*)svc_getcaller(rqstp->rq_xprt))->sin_port; + } + + /* +-- +2.16.2 + diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb index cebc8660d0..46ac3692b1 100644 --- a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb +++ b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb @@ -9,9 +9,11 @@ RECIPE_UPSTREAM_DATE = "Oct 08, 2015" CHECK_DATE = "Dec 10, 2015" DEPENDS = "flex-native bison-native flex" -DEPENDS_append_libc-musl = " libtirpc" +DEPENDS += "libtirpc" DEPENDS_append_class-nativesdk = " flex-nativesdk" +ASNEEDED = "" + MOD_PV = "497" S = "${WORKDIR}/trunk" # Only subversion url left in OE-Core, use a mirror tarball instead since @@ -26,7 +28,8 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/unfs3-0.9.22.r497.ta file://rename_fh_cache.patch \ file://relative_max_socket_path_len.patch \ file://tcp_no_delay.patch \ - " + file://0001-daemon.c-Libtirpc-porting-fixes.patch \ + " SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" @@ -34,7 +37,8 @@ BBCLASSEXTEND = "native nativesdk" inherit autotools EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" -CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" +CFLAGS += " -I${STAGING_INCDIR}/tirpc" +LDFLAGS += " -ltirpc" # Turn off these header detects else the inode search # will walk entire file systems and this is a real problem -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] libtirpc: Extend to native and nativesdk recipes
Signed-off-by: Khem Raj--- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb index 1a73de9db0..99212600e0 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb @@ -29,3 +29,5 @@ EXTRA_OECONF = "--disable-gssapi" do_install_append() { chown root:root ${D}${sysconfdir}/netconfig } + +BBCLASSEXTEND = "native nativesdk" -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] Fix unfs3 with musl and glibc without rpc
Distros are going to drop rpc support in glibc 2.27, therefore we need to port unfs3 to work with libtirpc Added bonus to fix the build with musl as well The following changes since commit e4da78229f0bd67fd34928eafe48dbdc9e8da050: e2fsprogs: Add comment on why touch is needed (2018-03-09 11:09:39 -0800) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/unfs3 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/unfs3 Khem Raj (2): unfs3: Fix build with musl libtirpc: Extend to native and nativesdk recipes meta/conf/distro/include/world-broken.inc | 4 --- .../0001-daemon.c-Libtirpc-porting-fixes.patch | 37 ++ meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 10 -- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 2 ++ 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] Need arm64/qemu help
On Sun, 11 Mar 2018, Peter Maydell wrote: On 11 March 2018 at 00:11, Victor Kamenskywrote: Hi Richard, Ian, Any progress on the issue? In case if not, I am adding few Linaro guys who work on aarch64 qemu. Maybe they can give some insight. No immediate answers, but we might be able to have a look if you can provide a repro case (image, commandline, etc) that doesn't require us to know anything about OE and your build/test infra to look at. Peter, thank you! Appreciate your attention and response to this. It is fair ask, I should have tried to narrow test case down before punting it to you guys. (QEMU's currently just about to head into codefreeze for our next release, so I'm a bit busy for the next week or so. Alex, do you have time to take a look at this?) Does this repro with the current head-of-git QEMU? I've tried head-of-git QEMU (Mar 9) on my ubuntu-16.04 with the same target Image and rootfs I could not reproduce the issue. I've started to play around more trying to reduce the test case. In my setup with OE qith qemu 2.11.1, if I just passed '-serial sdtio' or '-nographic', instead of '-serial mon:vc' - with all things the same image boots fine. So, I started to suspect, even if problem manifests itself as some functional failure of qemu, the issue could be some nasty memory corruption of some qemu operational data. And since qemu pull bunch of dependent libraries, problem might be not even in qemu. I realized that in OE in order to disconnect itself from underlying host, OE builds a lot of its own "native" libaries and OE qemu uses them. So I've tried to build head-of-git QEMU but with all native libraries that OE builds - now such combinations hangs in the same way. Also I noticed that OE qemu is built with SDL (v1.2), and libsdl is one that reponsible for '-serial mon:vc' handling. And I noticed in default OE conf/local.conf the following statements: # # Qemu configuration # # By default qemu will build with a builtin VNC server where graphical output can be # seen. The two lines below enable the SDL backend too. By default libsdl-native will # be built, if you want to use your host's libSDL instead of the minimal libsdl built # by libsdl-native then uncomment the ASSUME_PROVIDED line below. PACKAGECONFIG_append_pn-qemu-native = " sdl" PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl" #ASSUME_PROVIDED += "libsdl-native" I've tried to build against my host's libSDL and uncommented above line. It actually failed to build, because my host libSDL were not happy about ncurses native libraries, so I ended up adding this as well: ASSUME_PROVIDED += "ncurses-native" After that I had to rebuild qemu-native and qemu-helper-native. With resulting qemu and the same target files, image boots OK. With such nasty corruption problem, it always hard to say for sure, it maybe just timing changes .. , but now it seems it somewhat points to some issue in OE libsdl version ... And still it is fairly bizarre, libsdl that in OE (1.2.15) is the same that I have on my ubuntu machine and there is no additional patches for it in OE, although configure options might be quite different. Thanks, Victor If for experiment sake I disable loop that tries to find jiffies transition. I.e have something like this: diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index 4769947..e0199fc 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c @@ -166,8 +166,12 @@ static inline const struct raid6_calls *raid6_choose_gen( preempt_disable(); j0 = jiffies; +#if 0 while ((j1 = jiffies) == j0) cpu_relax(); +#else +j1 = jiffies; +#endif /* 0 */ while (time_before(jiffies, j1 + (1< gen_syndrome(disks, PAGE_SIZE, *dptrs); @@ -189,8 +193,12 @@ static inline const struct raid6_calls *raid6_choose_gen( preempt_disable(); j0 = jiffies; +#if 0 while ((j1 = jiffies) == j0) cpu_relax(); +#else +j1 = jiffies; +#endif /* 0 */ while (time_before(jiffies, j1 + (1< xor_syndrome(disks, start, stop, Image boots fine after that. I.e it looks as some strange effect in aarch64 qemu that seems does not progress jiffies and code stuck. Another observation is that if I put breakpoint for example in do_timer, it actually hits the breakpoint, ie timer interrupt happens in this case, and strangely raid6_choose_gen sequence does progress, ie debugger breakpoints make this case unstuck. Actually several pressing Ctrl-C to interrupt target, followed by continue in gdb let code eventually go
Re: [OE-core] [PATCH] systemd-udev: Add systemd-mount to mount.sh
ping. // hongzhi On 2018年03月06日 18:54, Hongzhi.Song wrote: Issue: mkfs.ext4 fails, prompting that the device is in use by the system. But there is no mounted infomation in /proc/mounts. Reproduce: Be sure that there is storage device connected to you machine. Boot the machine. root@intel-x86-64:~# mkfs.ext4 /dev/mmcblk0p1 mke2fs 1.43.5 (04-Aug-2017) /dev/mmcblk0p1 contains a ext2 file system last mounted on / on Tue Jan 9 05:24:36 2018 Proceed anyway? (y,N) y /dev/mmcblk0p1 is apparently in use by the system; will not make a filesystem here! root@intel-x86-64:~# fdisk -l ... Disk /dev/mmcblk0: 58.2 GiB, 62537072640 bytes, 122142720 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xe62c8fcc Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 2048 122142719 122140672 58.2G 83 Linux ... root@intel-x86-64:~#cat /proc/mounts ... cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 mqueue /dev/mqueue mqueue rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0 tmpfs /var/volatile tmpfs rw,relatime 0 0 tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=688048k,mode=700 0 0 Description: If linux uses systemd as init, systemd-udevd.service sets MountFlags=slave, which is essentially a sandboxing setting: it detaches mount() operations done within the service from the rest of the system. This means that, outside of namespace of systemd-udev, we can not access device mounted by udev and some operation will be failed.(e.g. mkfs.ext4 /dev/sda1). Current automount.rules and mount.sh created for sysvinit is unable to solve above problems. This patch adds systemd-mount in /etc/udev/script/mount.sh. The tool recommended by systemd upstream generally is the best way in particular in embedded applications to deal with hotpluggable media. Systemd-mount request the mount operation to be executed by PID 1, and hence outside of the mount context of udev. Signed-off-by: Hongzhi.Song--- meta/recipes-core/udev/udev-extraconf/mount.sh | 61 +++--- 1 file changed, 56 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index d760328..2fa2925 100644 --- a/meta/recipes-core/udev/udev-extraconf/mount.sh +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh @@ -5,9 +5,28 @@ # Attempt to mount any added block devices and umount any removed devices -MOUNT="/bin/mount" +BASE_INIT="`readlink "/sbin/init"`" +INIT_SYSTEMD="/lib/systemd/systemd" + +if [ "x$BASE_INIT" = "x$INIT_SYSTEMD" ];then + # systemd as init uses systemd-mount to mount block devices +MOUNT="/usr/bin/systemd-mount" +UMOUNT="/usr/bin/systemd-umount" + +if [ -x $MOUNT ] && [ -x $UMOUNT ]; +then +logger "Using systemd-mount to finish mount" +else +logger "Linux init is using systemd, so please install systemd-mount to finish mount" + exit 1 +fi +else +MOUNT="/bin/mount" +UMOUNT="/bin/umount" +fi + PMOUNT="/usr/bin/pmount" -UMOUNT="/bin/umount" + for line in `grep -h -v ^# /etc/udev/mount.blacklist /etc/udev/mount.blacklist.d/*` do if [ ` expr match "$DEVNAME" "$line" ` -gt 0 ]; @@ -17,6 +36,34 @@ do fi done +automount_systemd() { +name="`basename "$DEVNAME"`" + +! test -d "/run/media/$name" && mkdir -p "/run/media/$name" + +MOUNT="$MOUNT -o silent" + +# If filesystemtype is vfat, change the ownership group to 'disk', and +# grant it with w/r/x permissions. +case $ID_FS_TYPE in +vfat|fat) +MOUNT="$MOUNT -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`" +;; +# TODO +*) +;; +esac + +if ! $MOUNT --no-block -t auto $DEVNAME "/run/media/$name" +then +#logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/run/media/$name\" failed!" +rm_dir "/run/media/$name" +else +logger "mount.sh/automount" "Auto-mount of [/run/media/$name] successful" +touch "/tmp/.automount-$name" +fi +} + automount() { name="`basename "$DEVNAME"`" @@ -72,9 +119,13 @@ if [ "$ACTION" = "add" ] && [ -n "$DEVNAME" ] && [ -n "$ID_FS_TYPE" -o "$media_t # If the device isn't
[OE-core] [oe-core][PATCH 2/3] tiff: Fix multilib header conflict - tiffconf.h
Header file conflict between 32-bit and 64-bit versions. Signed-off-by: Zhang Xiao--- meta/recipes-multimedia/libtiff/tiff_4.0.9.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/libtiff/tiff_4.0.9.bb b/meta/recipes-multimedia/libtiff/tiff_4.0.9.bb index 57bf7408d0..b8f895b143 100644 --- a/meta/recipes-multimedia/libtiff/tiff_4.0.9.bb +++ b/meta/recipes-multimedia/libtiff/tiff_4.0.9.bb @@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c00 # exclude betas UPSTREAM_CHECK_REGEX = "tiff-(?P\d+(\.\d+)+).tar" -inherit autotools +inherit autotools multilib_header CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" @@ -45,4 +45,8 @@ PACKAGES =+ "tiffxx tiff-utils" FILES_tiffxx = "${libdir}/libtiffxx.so.*" FILES_tiff-utils = "${bindir}/*" +do_install_append() { +oe_multilib_header tiffconf.h +} + BBCLASSEXTEND = "native" -- 2.11.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [oe-core][PATCH 3/3] libgpg-error: Fix multilib header conflict - pg-error.h and gpgrt.h
Header file conflict between 32-bit and 64-bit versions. Signed-off-by: Zhang Xiao--- meta/recipes-support/libgpg-error/libgpg-error_1.27.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb index b2e2d507c9..b74f079f5d 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb @@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a2 BINCONFIG = "${bindir}/gpg-error-config" -inherit autotools binconfig-disabled pkgconfig gettext +inherit autotools binconfig-disabled pkgconfig gettext multilib_header CPPFLAGS += "-P" do_compile_prepend() { TARGET_FILE=linux-gnu @@ -53,6 +53,7 @@ do_compile_prepend() { do_install_append() { # we don't have common lisp in OE rm -rf "${D}${datadir}/common-lisp/" + oe_multilib_header gpg-error.h gpgrt.h } FILES_${PN}-dev += "${bindir}/gpg-error" -- 2.11.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [oe-core][PATCH 1/3] valgrind: Fix multilib header conflict - valgrind/config.h
Header file conflict between 32-bit and 64-bit versions. Signed-off-by: Zhang Xiao--- meta/recipes-devtools/valgrind/valgrind_3.13.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.13.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.13.0.bb index 5bd315aff0..9390d30444 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.13.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.13.0.bb @@ -58,7 +58,7 @@ COMPATIBLE_HOST_linux-muslx32 = 'null' COMPATIBLE_HOST_mipsarchn32 = 'null' COMPATIBLE_HOST_mipsarchr6 = 'null' -inherit autotools ptest +inherit autotools ptest multilib_header EXTRA_OECONF = "--enable-tls --without-mpicc" EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS') != '32']}" @@ -91,6 +91,7 @@ do_configure_prepend () { do_install_append () { install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ +oe_multilib_header valgrind/config.h } TUNE = "${@strip_mcpu(d)}" -- 2.11.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues
License-Update: checksum change is due to bump in copyright year Resolves CVE-2017-1000158 and other potential security issues See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final Signed-off-by: Derek Straka--- meta/recipes-devtools/python/{python3_3.5.4.bb => python3_3.5.5.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3_3.5.4.bb => python3_3.5.5.bb} (98%) diff --git a/meta/recipes-devtools/python/python3_3.5.4.bb b/meta/recipes-devtools/python/python3_3.5.5.bb similarity index 98% rename from meta/recipes-devtools/python/python3_3.5.4.bb rename to meta/recipes-devtools/python/python3_3.5.5.bb index a94d009..8150dd6 100644 --- a/meta/recipes-devtools/python/python3_3.5.4.bb +++ b/meta/recipes-devtools/python/python3_3.5.5.bb @@ -38,10 +38,10 @@ SRC_URI += "\ file://0001-Issue-21272-Use-_sysconfigdata.py-to-initialize-dist.patch \ file://pass-missing-libraries-to-Extension-for-mul.patch \ " -SRC_URI[md5sum] = "fb2780baa260b4e51cbea814f111f303" -SRC_URI[sha256sum] = "94d93bfabb3b109f8a10365a325f920f9ec98c6e2380bf228f9700a14054c84c" +SRC_URI[md5sum] = "f3763edf9824d5d3a15f5f646083b6e0" +SRC_URI[sha256sum] = "063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f741e51de91d4eeea5930b9c3c7fa69d" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b6ec515b22618f55fa07276b897bacea" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P\d+(\.\d+)+).tar" -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3: update to version 3.5.5 to fix security issues
License-Update: checksum change is due to bump in copyright year Resolves CVE-2017-1000158 and other potential securty issues See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final Signed-off-by: Derek Straka--- meta/recipes-devtools/python/{python3_3.5.4.bb => python3_3.5.5.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3_3.5.4.bb => python3_3.5.5.bb} (98%) diff --git a/meta/recipes-devtools/python/python3_3.5.4.bb b/meta/recipes-devtools/python/python3_3.5.5.bb similarity index 98% rename from meta/recipes-devtools/python/python3_3.5.4.bb rename to meta/recipes-devtools/python/python3_3.5.5.bb index a94d009..8150dd6 100644 --- a/meta/recipes-devtools/python/python3_3.5.4.bb +++ b/meta/recipes-devtools/python/python3_3.5.5.bb @@ -38,10 +38,10 @@ SRC_URI += "\ file://0001-Issue-21272-Use-_sysconfigdata.py-to-initialize-dist.patch \ file://pass-missing-libraries-to-Extension-for-mul.patch \ " -SRC_URI[md5sum] = "fb2780baa260b4e51cbea814f111f303" -SRC_URI[sha256sum] = "94d93bfabb3b109f8a10365a325f920f9ec98c6e2380bf228f9700a14054c84c" +SRC_URI[md5sum] = "f3763edf9824d5d3a15f5f646083b6e0" +SRC_URI[sha256sum] = "063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f741e51de91d4eeea5930b9c3c7fa69d" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b6ec515b22618f55fa07276b897bacea" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P\d+(\.\d+)+).tar" -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python*-setuptools: update to 38.5.2
Update the python{3}-setuptools to the latest stable version Tested on the qemu with core-image-minimal Signed-off-by: Derek Straka--- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_38.5.1.bb => python-setuptools_38.5.2.bb} | 0 .../{python3-setuptools_38.5.1.bb => python3-setuptools_38.5.2.bb}| 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_38.5.1.bb => python-setuptools_38.5.2.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_38.5.1.bb => python3-setuptools_38.5.2.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 65383ce..b5bd8cc 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ PYPI_PACKAGE_EXT = "zip" inherit pypi -SRC_URI[md5sum] = "1705ae74b04d1637f604c336bb565720" -SRC_URI[sha256sum] = "6425484c08e99a98a42209c25c3d325f749230b55284d66192784f941a7e6628" +SRC_URI[md5sum] = "b4c7f29c8079bdf2f0f355cdcd999e69" +SRC_URI[sha256sum] = "8246123e984cadf687163bdcd1bb58eb325e2891b066e1f0224728a41c8d9064" DEPENDS += "${PYTHON_PN}" DEPENDS_class-native += "${PYTHON_PN}-native" diff --git a/meta/recipes-devtools/python/python-setuptools_38.5.1.bb b/meta/recipes-devtools/python/python-setuptools_38.5.2.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_38.5.1.bb rename to meta/recipes-devtools/python/python-setuptools_38.5.2.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_38.5.1.bb b/meta/recipes-devtools/python/python3-setuptools_38.5.2.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_38.5.1.bb rename to meta/recipes-devtools/python/python3-setuptools_38.5.2.bb -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] Need arm64/qemu help
Hi Victor, On Sat, 2018-03-10 at 16:11 -0800, Victor Kamensky wrote: > Any progress on the issue? In case if not, I am adding few Linaro > guys > who work on aarch64 qemu. Maybe they can give some insight. > > I was able to reproduce on my system and I > and look at it under gdb. It seems that some strange aarch64 > percularity might be in play. Details inline, root cause is still > not clear. >From the OE side we simply don't have people able to dig into this kind of problem in detail unfortunately. I'm also travelling at the moment which just complicates my own availability. I am pleased you can replicate it and have been able to dig into it a bit. My own theory was something like the timer interrupts stalling since I've seen that problem on two other occasions recently on x86 and ppc due to totally different issues but it sounds like you've ruled that out. At least from a replication standpoint it happens with a second of the kernel boot so you don't need the rootfs and can likely script a fast "brute force" of the issue (restart qemu until it hangs in boot). I can confirm we continue to see the problem on our builds and it is causing a real problem for us as we can't tell whether qemuarm64 is really failing or just hanging :( Any help in getting this figured out is much appreciated! Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] ✗ patchtest: failure for yocto-uninative: Upgrade to 1.8 version with glibc 2.27
== Series Details == Series: yocto-uninative: Upgrade to 1.8 version with glibc 2.27 Revision: 1 URL : https://patchwork.openembedded.org/series/11338/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures: * Issue Series does not apply on top of target branch [test_series_merge_on_head] Suggested fixRebase your series on top of targeted branch Targeted branch master (currently at 0a1a1daac6) If you believe any of these test results are incorrect, please reply to the mailing list (openembedded-core@lists.openembedded.org) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...). --- Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] yocto-uninative: Upgrade to 1.8 version with glibc 2.27
Now distros are starting to ship glibc 2.27 we need a uninatve version which contains glibc 2.27 which is in the 1.8 version. Signed-off-by: Richard Purdie--- meta/conf/distro/include/yocto-uninative.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/include/yocto-uninative.inc b/meta/conf/distro/include/yocto-uninative.inc index 839c19a..b3f8c24 100644 --- a/meta/conf/distro/include/yocto-uninative.inc +++ b/meta/conf/distro/include/yocto-uninative.inc @@ -6,6 +6,6 @@ # to the distro running on the build machine. # -UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/1.7/; -UNINATIVE_CHECKSUM[i686] ?= "d7c341460035936c19d63fe02f354ef1bc993c62d694ae3a31458d1c6997f0c5" -UNINATIVE_CHECKSUM[x86_64] ?= "ed033c868b87852b07957a4400f3b744c00aef5d6470346ea1a59b6d3e03075e" +UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/1.8/; +UNINATIVE_CHECKSUM[i686] ?= "427ce522ec97f65c75fd89587d90ef789e8cbca4a617abc4b5822abb01c2d0ae" +UNINATIVE_CHECKSUM[x86_64] ?= "de4947e98e09e1432d069311cc2093974ecb9138a714fd5466f73524de66a693" -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [morty][PATCH v2] gcc6.4 upgrade
On Sun, 2018-03-11 at 01:56 +0100, Martin Jansa wrote: > I've sent the pull requests for all 3 release branches. > > I'll let some builders doing more tests over night, but it's very > close to what was merged in master (and also to what is currently in > morty-next) so it should be relatively safe. Thanks for this. I've staged the patches in the various -next branches. I ran pyro-next on the autobuilder to see where we stand and x86-64 is showing the ICE I mentioned in valgrind so we'll likely need to pull out that patch until we can figure out a way of fixing that. I'll queue a fixup patch and retry and confirm that does fix the issue. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 3/4] site/riscv: Shunt the realloc configure test for startup-notification
Signed-off-by: Khem Raj--- meta/site/riscv32-linux | 2 ++ meta/site/riscv64-linux | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux index a496bd1aca..138aeb0a11 100644 --- a/meta/site/riscv32-linux +++ b/meta/site/riscv32-linux @@ -2,3 +2,5 @@ glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no} +# startup-notification +lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux index a496bd1aca..138aeb0a11 100644 --- a/meta/site/riscv64-linux +++ b/meta/site/riscv64-linux @@ -2,3 +2,5 @@ glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no} +# startup-notification +lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 4/4] risc-v: Pin oldest kernel to 4.15 for the new kid
Signed-off-by: Khem Raj--- meta/conf/bitbake.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 7007a6e9b6..93f57f3c9e 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -423,6 +423,8 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" OLDEST_KERNEL = "3.2.0" OLDEST_KERNEL_aarch64 = "3.14" OLDEST_KERNEL_nios2 = "3.19" +OLDEST_KERNEL_riscv32 = "4.15" +OLDEST_KERNEL_riscv64 = "4.15" # SDK_OLDEST_KERNEL can't be set using overrides since there are # none for the SDK architecture. Best to set it from a machine-sdk -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/4] tcmode-default.inc: Define QEMUVERSION and softly pin it
This provides ability to surgically override qemu for certain machines which are provided by external layers. Signed-off-by: Khem Raj--- meta/conf/distro/include/tcmode-default.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 5c6681fb9d..7862edb633 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -28,6 +28,7 @@ BINUVERSION ?= "2.30%" GDBVERSION ?= "8.0%" GLIBCVERSION ?= "2.27%" LINUXLIBCVERSION ?= "4.15%" +QEMUVERSION ?= "2.11%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" @@ -64,6 +65,10 @@ PREFERRED_VERSION_glibc-initial?= "${GLIBCVERSION}" PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}" PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" + +PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" +PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" +PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" # Setup suitable toolchain flags require conf/distro/include/as-needed.inc -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/4] pcmanfm: Drop COMPATIBLE_HOST setting
We have all core architectures in there its almost redundant Signed-off-by: Khem Raj--- meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb index 75ff7731be..4127a07046 100644 --- a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb +++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb @@ -9,9 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ SECTION = "x11" DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native glib-2.0-native" - -COMPATIBLE_HOST = '(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)' - SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ file://gnome-fs-directory.png \ file://gnome-fs-regular.png \ -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/4] Further fixes for riscv64
Fixes to get core-image-full-cmdline to build The following changes since commit e4da78229f0bd67fd34928eafe48dbdc9e8da050: e2fsprogs: Add comment on why touch is needed (2018-03-09 11:09:39 -0800) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/riscv64-fixes-2 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/riscv64-fixes-2 Khem Raj (4): tcmode-default.inc: Define QEMUVERSION and softly pin it pcmanfm: Drop COMPATIBLE_HOST setting site/riscv: Shunt the realloc configure test for startup-notification risc-v: Pin oldest kernel to 4.15 for the new kid meta/conf/bitbake.conf | 2 ++ meta/conf/distro/include/tcmode-default.inc | 5 + meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb | 3 --- meta/site/riscv32-linux | 2 ++ meta/site/riscv64-linux | 2 ++ 5 files changed, 11 insertions(+), 3 deletions(-) -- 2.16.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core