Re: [yocto] rocko build fails

2017-12-11 Thread Zoran Stojsavljevic
> Any hints ? For the starters, No idea what is your host. I will assume it is Ubuntu. So for rocko, you need to upgrade you host. I have Fedora 26, so my latest autotools are: [root@localhost ~]# dnf install autoconf automake Last metadata expiration check: 0:05:16 ago on Mon 11 Dec 2017 09:14:4

Re: [yocto] rocko build fails

2017-12-11 Thread Mircea Gliga
Hi again, >For the starters, No idea what is your host. I will assume it is Ubuntu. Sorry about that. I'm on Debian 8: # cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" I updated the system this morning, and again now: # aptitude update; aptitude full-upgrade [...] No packages wi

[yocto] OpenEmbedded stand at FOSDEM 2018

2017-12-11 Thread Paul Barker
Hi all, We've got confirmation for an OpenEmbedded stand at FOSDEM 2018! We're in the AW building as usual, you can see the full list of stands and location details here: https://fosdem.org/2018/stands/ What we need: * People to help out on the stand and chat about the project. If you're going t

Re: [yocto] rocko build fails

2017-12-11 Thread Zoran Stojsavljevic
> Should I also install autoconf/automake ? They are not mentioned in the guide ... You mentioned it before (previous @). Sorry, I forgot. If they are not installed, you should. Zoran On Mon, Dec 11, 2017 at 9:35 AM, Mircea Gliga wrote: > Hi again, > > >For the starters, No idea what is your h

Re: [yocto] rocko build fails

2017-12-11 Thread Mircea Gliga
I installed autoconf and automake, result is the same. bitbake still tries to fetch the respective packages, it doesn't use the ones provided by the system, and that makes sense... It creates its own toolchain. As I understand the *Permission denied* error pops up during do_fetch, when it trie

Re: [yocto] VPS for building and serving.

2017-12-11 Thread Paul Barker
On Sun, Dec 10, 2017 at 1:15 PM, Daniel. wrote: > Hi, > > Is there anybody using VPS for building and serving packages? What plans you > do recommend? I don't recommend using a VPS, they tend to get expensive for the spec you need for a Yocto build. You want plenty of RAM, CPU and disk space. I

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-11 Thread Paul Barker
On Sun, Dec 10, 2017 at 5:14 PM, Daniel. wrote: > Hi everybody, > > I'm building a vanilla image for MACHINE=raspberrypi3-64. I'm doing the > build for the first time and faced an error at > linux-raspberrypi:do_kernel_configme. I found that .kernel-meta/configs > folder was missing, so I fired a

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-11 Thread Daniel.
Yeah but I got to face the error again, maybe tonight when I get home :) On Dec 11, 2017 9:17 AM, "Paul Barker" wrote: > On Sun, Dec 10, 2017 at 5:14 PM, Daniel. wrote: > > Hi everybody, > > > > I'm building a vanilla image for MACHINE=raspberrypi3-64. I'm doing the > > build for the first time

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-11 Thread Daniel.
I can anticipate some info for you. I'm on version 2.4 Rocko. Building rpi-hwup-image for MACHINE=rasbiberrypi3-64. Also is worth noting that I'm running Fedora 27 which wasn't tested... I'll try to get the full log tonight and let you know Regards On Dec 11, 2017 9:26 AM, "Daniel." wrote: > Y

[yocto] Layer documentation for meta-raspberrypi

2017-12-11 Thread Paul Barker
Hi all, As a quick announcement, the layer documentation for meta-raspberrypi is now available on Read the Docs: http://meta-raspberrypi.readthedocs.io/en/latest/ The latest documentation is shown by default and covers the master branch. Using the version box in the bottom right corner of the pag

Re: [yocto] rocko build fails

2017-12-11 Thread Zoran Stojsavljevic
Hello Mircea, I again went through your messages, and read carefully (since I am also learner, trying to help, and at the same time, to learn). And this: * File "/home/repository/rocko/poky/meta/classes/buildstats.bbclass", line 90, in write_task_data(status='passed', logfile='/home/repo

Re: [yocto] Layer documentation for meta-raspberrypi

2017-12-11 Thread Mirza Krak
2017-12-11 12:55 GMT+01:00 Paul Barker : > Hi all, > > As a quick announcement, the layer documentation for meta-raspberrypi > is now available on Read the Docs: > http://meta-raspberrypi.readthedocs.io/en/latest/ > > The latest documentation is shown by default and covers the master > branch. Usin

Re: [yocto] Layer documentation for meta-raspberrypi

2017-12-11 Thread Paul Barker
On Mon, Dec 11, 2017 at 12:08 PM, Mirza Krak wrote: > 2017-12-11 12:55 GMT+01:00 Paul Barker : >> Hi all, >> >> As a quick announcement, the layer documentation for meta-raspberrypi >> is now available on Read the Docs: >> http://meta-raspberrypi.readthedocs.io/en/latest/ >> >> The latest document

Re: [yocto] Permission denied while building rocko on Debian 8 [was: rocko build fails]

2017-12-11 Thread Mircea Gliga
So I went further and I tested in a VM running Debian 9 - there it works: It looks like I get a Permission denied while building rocko only on Debian 8, *not* on Debian 9. Debian 8 is listed as supported on /Yocto Project Reference Manual/ here: http://www.yoctoproject.org/docs/2.4/ref-manual

Re: [yocto] Permission denied while building rocko on Debian 8 [was: rocko build fails]

2017-12-11 Thread Paul Barker
On Mon, Dec 11, 2017 at 12:43 PM, Mircea Gliga wrote: > So I went further and I tested in a VM running Debian 9 - there it works: > It looks like I get a Permission denied while building rocko only on Debian > 8, *not* on Debian 9. > > Debian 8 is listed as supported on Yocto Project Reference Man

[yocto] Checksum of an external file

2017-12-11 Thread Anton Gerasimov
Hi, my recipe takes a path to a file on user's file system as an input, processes it and stores on the device. Sometimes user wants to update this file and I'd like the recipe to be rebuilt every time the file itself changes, even if the file path didn't. So I had an illusion to understand how ss

[linux-yocto] [PATCH 47/48] kernel/sched: Revert compile fixes

2017-12-11 Thread Daniel Dragomir
From: Charlie Paul These changes were needed for the kernel to compile after applying the three previous revert patches. Signed-off-by: Charlie Paul --- kernel/sched/core.c | 2 +- kernel/sched/rt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/

Re: [yocto] Permission denied while building rocko on Debian 8 [was: rocko build fails]

2017-12-11 Thread Mircea Gliga
On 11/12/17 15:06, Paul Barker wrote: On Mon, Dec 11, 2017 at 12:43 PM, Mircea Gliga wrote: So I went further and I tested in a VM running Debian 9 - there it works: It looks like I get a Permission denied while building rocko only on Debian 8, *not* on Debian 9. Debian 8 is listed as suppor

[yocto] recipe to clean up files from rootfs

2017-12-11 Thread Sherif Omran
i want to create a recipe to clean some files from the rootfile system, but i don't know how to let this recipe run the last one before building the rootfile system. any idea? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.o

Re: [yocto] VPS for building and serving.

2017-12-11 Thread Daniel.
Thanks for the feedback Paul, I thinking about compiling with own server and only serving the packages online.. Regards, 2017-12-11 9:12 GMT-02:00 Paul Barker : > On Sun, Dec 10, 2017 at 1:15 PM, Daniel. wrote: > > Hi, > > > > Is there anybody using VPS for building and serving packages? What

Re: [yocto] VPS for building and serving.

2017-12-11 Thread Mike Looijmans
On 11-12-17 12:12, Paul Barker wrote: On Sun, Dec 10, 2017 at 1:15 PM, Daniel. wrote: Hi, Is there anybody using VPS for building and serving packages? What plans you do recommend? I don't recommend using a VPS, they tend to get expensive for the spec you need for a Yocto build. You want pl

Re: [yocto] Checksum of an external file

2017-12-11 Thread Alexander Kanavin
On 12/11/2017 03:19 PM, Anton Gerasimov wrote: Unfortunately this doesn't work as expected (the recipe doesn't get rebuilt when the file changes, looks like calculate_file_sha256 doesn't run unless PATH_TO_FILE has changed) and at the same time if I 'cleanall' the recipe and change the file befor

Re: [yocto] recipe to clean up files from rootfs

2017-12-11 Thread Alexander Kanavin
On 12/11/2017 04:18 PM, Sherif Omran wrote: i want to create a recipe to clean some files from the rootfile system, but i don't know how to let this recipe run the last one before building the rootfile system. Have a look at ROOTFS_POSTPROCESS_COMMAND. Alex --

Re: [yocto] Checksum of an external file

2017-12-11 Thread Anton Gerasimov
> I don't think so. You need to write an external script that copies the > file into the layer, then runs bitbake. The recipe should simply refer > to the file via SRC_URI file fetcher. Thank you a lot, that actually works without copying: SRC_URI works with absolute pathes as well. Such a straig

[yocto] user space package recommends kernel fragment with builting CONFIG

2017-12-11 Thread Paulo Neves
Hello all, I have the idea I am doing someting in a strange way but correct me if I am wrong. I want to make hostapd RRECOMEND .config fragments which have wireless drivers. How do I achieve this? Paulo Neves -- ___ yocto mailing list yocto@yoctoprojec

[yocto] Yocto Project Status WW50’17

2017-12-11 Thread Jolley, Stephen K
Current Dev Position: YP 2.5 M2 development Next Deadline: YP 2.5 M2 cut off of 1/15/18 SWAT team rotation: Tracy -> Stephano on Dec. 8, 2017. SWAT team rotation: Stephano -> Maxin on Dec. 15, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: ·

[yocto] executable depends on the library that is built in the same recipe

2017-12-11 Thread Rail Shafigulin
I have a recipe that builds a library and an executable. Executable depends on the library which built int he same recipe. When I run bitbake I get the following error: WARNING: mytool-1.0+gitAUTOINC+3e2b76e330-r0 do_package_qa: QA Issue: /bin/mytool contained in package mytool requires libMyTool.

Re: [yocto] executable depends on the library that is built in the same recipe

2017-12-11 Thread Jeremy A. Puhlman
Given it is looking for libMyTool.so and not a versioned library, my guess is that the shared library is not setting a proper soname when being built. All libraries should be built with a soname, and if done correctly should be versioned.  The .so file generally shouldn't be the runtime library

Re: [yocto] user space package recommends kernel fragment with builting CONFIG

2017-12-11 Thread Bruce Ashfield
On 2017-12-11 10:19 AM, Paulo Neves wrote: Hello all, I have the idea I am doing someting in a strange way but correct me if I am wrong. I want to make hostapd RRECOMEND .config fragments which have wireless drivers. How do I achieve this? You can't really do it via the hostapd recipe, since i

Re: [yocto] executable depends on the library that is built in the same recipe

2017-12-11 Thread Vineeth Karumanchi
using this might help oe_libinstall -so On 12/12/2017 1:24 AM, Jeremy A. Puhlman wrote: Given it is looking for libMyTool.so and not a versioned library, my guess is that the shared library is not setting a proper soname when being built. All libraries should be built with a soname, and if don