[oe] MS Windows machine?

2017-12-20 Thread Steffen Sledz
Anyone tried to cross-compile for MS Windows target with Yocto/OE?

Regards,
Steffen

PS: Fup set to 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe] smstools3

2017-12-20 Thread Bill Randle
When smstools3 was added to meta-oe/recipes-connectivity in 2015, a
patch was included to the init script to change to 'ps' options used
to find the pid during stop. The original (as distributed by the
author) has PSOPT="-e" and the patch changes it to PSOPT="". The way
it is used is:
if  "ps $PSOPT | grep smsd | grep -v grep >/dev/null; then
   do stuff
fi

I'm considering submitting a patch to update the recipe from version
3.15 to 3.21, but before I do, I like to know why PSOPT was changed.
On my busybox test system, a "ps | grep smsd" returns nothing. I need
to use the "-e" option. So, I would like to drop this patch. Comments?
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH] python-twisted: avoid downloading build dependencies

2017-12-20 Thread Mark Asselstine
setup.py will attempt to download python-incremental, as it is not
present in the sysroot. This is at the least wrong since some random
version of python-incremental will be used to build against (akin to
host contamination) and at most a build failure (when network access
is unavailable). So make python-incrementa-native available and a
DEPENDS.

Unfortunately python-incremental has a dependency on python-twisted
and vice versa. So we need to forcefully break this circular
dependency. Fortunately this doesn't affect the build of
python-twisted. Unfortunately if anyone else attempts to use
python-incremental-native there might be issues should it ever run the
code that does the import of twisted. This is not an issue now and a
comment has been added to hopefully make this issue known to anyone
else coming along at a later time.

Signed-off-by: Mark Asselstine 
---

*NOTE*
This should be applied to the rocko branch as well after
my previous 8 patch python-twisted series is applied.


 meta-python/recipes-devtools/python/python-incremental.inc | 6 ++
 meta-python/recipes-devtools/python/python-twisted.inc | 4 
 2 files changed, 10 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-incremental.inc 
b/meta-python/recipes-devtools/python/python-incremental.inc
index 3675458..b63fac9 100644
--- a/meta-python/recipes-devtools/python/python-incremental.inc
+++ b/meta-python/recipes-devtools/python/python-incremental.inc
@@ -12,3 +12,9 @@ RDEPENDS_${PN} += " \
 ${PYTHON_PN}-twisted \
 ${PYTHON_PN}-click \
 "
+
+# -native is needed to build python[3]-twisted, however, we need to take steps 
to
+# prevent a circular dependency. The build apparently does not use the part of
+# python-incremental which uses python-twisted, so this hack is OK.
+RDEPENDS_${PYTHON_PN}-incremental-native_remove = "${PYTHON_PN}-twisted-native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-twisted.inc 
b/meta-python/recipes-devtools/python/python-twisted.inc
index 0dd584f..6480ad5 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -39,6 +39,10 @@ PACKAGES =+ "\
 ${PN}-bin \
 "
 
+DEPENDS += " \
+${PYTHON_PN}-incremental-native \
+"
+
 RDEPENDS_${PN} = "\
 ${PN}-bin \
 ${PN}-core \
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][v2][PATCH] python-pyroute2: uprev to v0.4.21 (from 0.3.22)

2017-12-20 Thread Mark Asselstine
Drop the json<-->simplejson patch instead opting to depend on
python-json (part of core python libs). Beyond this the uprev is
straightforward.

Signed-off-by: Mark Asselstine 
---

**V2**
* Drop FILESEXTRAPATHS_prepend since it is now unused
* Restore RDEPENDS for stdlibs

 .../recipes-devtools/python/python-pyroute2.inc| 12 --
 .../import-simplejson-as-json.patch| 26 --
 ...yroute2_0.3.22.bb => python-pyroute2_0.4.21.bb} |  0
 ...route2_0.3.22.bb => python3-pyroute2_0.4.21.bb} |  0
 4 files changed, 4 insertions(+), 34 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python-pyroute2/import-simplejson-as-json.patch
 rename meta-python/recipes-devtools/python/{python-pyroute2_0.3.22.bb => 
python-pyroute2_0.4.21.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pyroute2_0.3.22.bb => 
python3-pyroute2_0.4.21.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pyroute2.inc 
b/meta-python/recipes-devtools/python/python-pyroute2.inc
index da1d4cd..4b43a27 100644
--- a/meta-python/recipes-devtools/python/python-pyroute2.inc
+++ b/meta-python/recipes-devtools/python/python-pyroute2.inc
@@ -1,20 +1,16 @@
 SUMMARY = "A pure Python netlink and Linux network configuration library"
 LICENSE = "GPLv2 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 
\
-
file://LICENSE.Apache.v2;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
 
-SRC_URI[md5sum] = "733adb362b6603c7269c0b3df3045a55"
-SRC_URI[sha256sum] = 
"5cdf44656cf623369f0cbf183d9d14a1a50ebdffbd50d4e30ffda62c0a05d7b3"
-
-SRC_URI += "file://import-simplejson-as-json.patch"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:"
+SRC_URI[md5sum] = "9c251543c4282a2f8b1a8d6aa8afc688"
+SRC_URI[sha256sum] = 
"7afad28ee0a0f3e7c34adaa9f953d00560ed9910203e93f107833b6e8d151171"
 
 inherit pypi
 
 RDEPENDS_${PN} += "\
   ${PYTHON_PN}-distutils \
-  ${PYTHON_PN}-simplejson \
+  ${PYTHON_PN}-json \
   ${PYTHON_PN}-multiprocessing \
   ${PYTHON_PN}-io ${PYTHON_PN}-pprint \
   ${PYTHON_PN}-pickle \
diff --git 
a/meta-python/recipes-devtools/python/python-pyroute2/import-simplejson-as-json.patch
 
b/meta-python/recipes-devtools/python/python-pyroute2/import-simplejson-as-json.patch
deleted file mode 100644
index d73da07..000
--- 
a/meta-python/recipes-devtools/python/python-pyroute2/import-simplejson-as-json.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Upstream-Status: Inappropriate [wrong dependency]
-
-Subject: [PATCH] import simplejson as json
-
-At runtime python-pyroute2 tries to import json, but the module is not 
-available, import simplejson as json solve the issue.
-
-Signed-off-by: Fabio Berton 

- pyroute2/netlink/rtnl/ifinfmsg.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pyroute2/netlink/rtnl/ifinfmsg.py 
b/pyroute2/netlink/rtnl/ifinfmsg.py
-index 4f14f25..55643eb 100644
 a/pyroute2/netlink/rtnl/ifinfmsg.py
-+++ b/pyroute2/netlink/rtnl/ifinfmsg.py
-@@ -1,5 +1,5 @@
- import os
--import json
-+import simplejson as json
- import errno
- import select
- import struct
--- 
-2.1.4
-
diff --git a/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb 
b/meta-python/recipes-devtools/python/python-pyroute2_0.4.21.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb
rename to meta-python/recipes-devtools/python/python-pyroute2_0.4.21.bb
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb 
b/meta-python/recipes-devtools/python/python3-pyroute2_0.4.21.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.4.21.bb
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] State of bitbake world, Failed tasks 2017-12-17

2017-12-20 Thread Andrea Adami
On Tue, Dec 19, 2017 at 8:49 PM, akuster808  wrote:
> This build included some meta-python changes that had v2 after the build
> started.
>
>
> == Failed tasks 2017-12-17 ==
>
> INFO: jenkins-job.sh-1.8.43 Complete log available at 
> http://logs.nslu2-linux.org/buildlogs/oe/world/sumo/log.report.20171219_092527.log
>
> === common (7) ===
> * 
> meta-openembedded/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb:do_compile
> * 
> meta-openembedded/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb:do_configure
> * 
> meta-openembedded/meta-networking/recipes-daemons/postfix/postfix_3.2.2.bb:do_install
> * 
> meta-openembedded/meta-networking/recipes-support/ntop/ntop_5.0.1.bb:do_configure
> * 
> meta-openembedded/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb:do_prepare_recipe_sysroot
> * 
> meta-openembedded/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb:do_compile
>
> === common-x86 (0) ===
>
> === qemuarm (2) ===
> * 
> meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_compile
> * meta-qt5/recipes-qt/qt5/qtimageformats_git.bb:do_package_qa
>
> === qemuarm64 (4) ===
> * 
> meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.2.bb:do_install
> * 
> meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_configure
> * 
> meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb:do_compile
> * 
> openembedded-core/meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb:do_compile
>

Hello,

I had no time before but I plan to fix/mask the 2 failing -klibc
recipes for aarch64 very soon.
Cheers
Andrea


> === qemux86 (29) ===
> * 
> meta-browser/recipes-browser/chromium/chromium-ozone-wayland_64.0.3274.0.r517731.igalia.1.bb:do_compile
> * 
> meta-browser/recipes-browser/chromium/chromium-x11_62.0.3202.94.bb:do_compile
> * meta-browser/recipes-browser/firefox/firefox_45.9.0esr.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb:do_package
> * 
> meta-openembedded/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb:do_patch
> * 
> meta-openembedded/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb:do_configure
> * 
> meta-openembedded/meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb:do_compile
> * 
> meta-openembedded/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-connectivity/umip/umip_1.0.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb:do_compile
> * meta-openembedded/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb:do_compile
> * meta-openembedded/meta-oe/recipes-extended/mraa/mraa_git.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-extended/tiptop/tiptop_2.3.bb:do_compile
> * meta-openembedded/meta-oe/recipes-kernel/crash/crash_7.1.9.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb:do_compile
> * 
> meta-openembedded/meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.17.bb:do_compile
> * 
> meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_234.bb:do_compile
> * 
> meta-openembedded/meta-python/recipes-devtools/python/python-systemd_234.bb:do_compile
> * meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_compile
> * 
> openembedded-core/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb:do_compile
> * 
> openembedded-core/meta/recipes-graphics/cogl/cogl-1.0_1.22.2.bb:do_compile
> * 
> openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.3.bb:do_compile
> * openembedded-core/meta/recipes-multimedia/x264/x264_git.bb:do_package_qa
>
> === qemux86_64 (1) ===
> * 
> meta-browser/recipes-browser/chromium/chromium-ozone-wayland_64.0.3274.0.r517731.igalia.1.bb:do_configure
>
> === Number of failed tasks (64) ===
> {| class=wikitable
> |-
> || qemuarm  || 9 || 
> http://logs.nslu2-linux.org/buildlogs/oe/world/sumo/log.world.qemuarm.20171217_061219.log/
>  || http://errors.yoctoproject.org/Errors/Build/49645/
> |-
> ||