Re: [yocto] dnf error

2018-02-07 Thread Alexander Kanavin
On 02/08/2018 03:17 AM, Russell Peterson wrote: core-image-initramfs-1.0-r0 do_rootfs: Could not invoke dnf Last metadata expiration check: 0:00:00 ago on Thu 08 Feb 2018 12:07:06 AM UTC. Error:  Problem: conflicting requests   - nothing provides /hosttools/python needed by ofa-kernel-4.2-r0

Re: [yocto] Changing gcc version and arch for single yocto recipe

2018-02-07 Thread Alexander Kanavin
On 02/07/2018 08:48 PM, Janez Svetokravsky wrote: I have just stumbled upon interesting problem, which i do not know how to solve. I am using yocto to build image for ARM cortex-A9 CPU. default gcc used is version 5.2 Beside ARM cortex-A9 there is cortex-m0plus chip, which is located on the s

[yocto] dnf error

2018-02-07 Thread Russell Peterson
Hello, I am upgrading from pyro to rocko and see something I can’t figure out (see error below). I can’t tell if this is dnf telling me there are multiple sources for python or something else. Not sure what “conflicting” means. I do know that the rpm produced by the of ofa-kernel recipe has

[yocto] mono build issue

2018-02-07 Thread Máté Tüske
Hi, I try to build custom image with mono. Previously I did it successfully, but now I ran into some issue and I cannot solve it. ERROR: mono-5.4.1.6-r0 do_package_qa: QA Issue: /usr/lib/mono/3.5-api/Microsoft.Build.Engine.dll contained in package mono-libs-3.5 requires mono(System.Xml), but no p

Re: [yocto] static libraries missing from sdk

2018-02-07 Thread Robert Berger
Hi, I played around a bit with my autotooled lib, which produces only a static lib. 1) My preferred approach is this: I add to local.conf: TOOLCHAIN_TARGET_TASK_append = " libhw-a-staticdev libhw-a-dev" The recipe looks like this: https://pastebin.com/YLUvQSSx 2) But your approach works a

[yocto] Changing gcc version and arch for single yocto recipe

2018-02-07 Thread Janez Svetokravsky
Hello, I have just stumbled upon interesting problem, which i do not know how to solve. I am using yocto to build image for ARM cortex-A9 CPU. default gcc used is version 5.2 Beside ARM cortex-A9 there is cortex-m0plus chip, which is located on the same board. From now on i will use abbreviations

Re: [yocto] static libraries missing from sdk

2018-02-07 Thread Robert Berger
Hi, On 2018-02-07 16:01, Mircea Gliga wrote: With this line you try to add -dev (.so), -dbg and staticdev (.a) for **all** packages:     SDKIMAGE_FEATURES += "dev-pkgs dbg-pkgs staticdev-pkgs" I am not sure it makes sense to build and add both the static and dynamic libs to an SDK. Do

Re: [yocto] static libraries missing from sdk

2018-02-07 Thread Robert Berger
Hi, OK I think I understood. You want a static library and apparently .h and friends as well as the .a file should end up in the SDK and nothing on the rootfs. If you enable staticdev-pkgs in the SDKIMAGE_FEATURES *all* the staticdev pkgs should end up in the SDK (I assume), but you need to

Re: [yocto] static libraries missing from sdk

2018-02-07 Thread Mircea Gliga
Hi This is the directory tree from the recipes packages-split/ folder, notice the empty main pkg, empty dbg etc $ /usr/bin/tree . ├── fmt ├── fmt-dbg ├── fmt-dev │   └── usr │   ├── include │   │   └── fmt │   │   ├── format.cc │   │   ├── format.h │   │   ├── o

[yocto] install qcharts module to yocto sdk

2018-02-07 Thread Pehen Azam
Hi! I try to cross-compile qt chart examples for a yocto platform. I do following steps to compile my qt programs: - source /opt/myimage/2.1.2/environment-setup-cortexa9hf- neon-poky-linux-gnueabi - qmake -o Makefile areachart.pro - make But When I add `QT += charts` to any project run qmake l

Re: [yocto] Creating a python recipe with devtool

2018-02-07 Thread Alan Martinovic
Thanks, that worked! Steps: # On the build server devtool create-workspace devtool add https://github.com/jruere/multiprocessing-logging devtool devtool edit-recipe multiprocessing-logging # Change for building for python3 inherit setuptools -> inherit setuptools3 # delete the RDE

Re: [yocto] Creating a python recipe with devtool

2018-02-07 Thread Alexander Kanavin
On 02/07/2018 02:17 PM, Alan Martinovic wrote: devtool add https://pypi.python.org/packages/65/eb/1c3db9596eddb2bd1d1f8153dcaf2d9f2c7e144f4832d1b1449f681a0a7a/multiprocessing_logging-0.2.6-py2.py3-none-any.whl#md5=b7783a8c449135e5bb344b3f0caa3522 I don't think we support .whl format at the

[yocto] Creating a python recipe with devtool

2018-02-07 Thread Alan Martinovic
Hi, I need to add a python package available on pypi: https://pypi.python.org/pypi/multiprocessing-logging/ Instead of manually creating the bb file, I'd like to add it using the devtool flow. In my build directory I execute: devtool create-workspace devtool build-image my-image

Re: [yocto] static libraries missing from sdk

2018-02-07 Thread Robert Berger
Hi, On 2018-02-07 09:46, Mircea Gliga wrote: Thanks for your answer. I already have the ALLOW_EMPTY_${PN} = "1" in the recipe What I still don't get is why the -dev gets installed but the -staticdev doesn't, even though the dependency is satisfied (the empty pkg exists). Just to understand