Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
> Is your code published? (I mean not in the email, > too messy to extract it from there) Feel free to comment on it, and to elaborate better recipes. Published on my scratch pad everything/nothing git: https://github.com/ZoranStojsavljevic/cip-rt-misc/tree/master/configs/bbb/YOCTO-recipes Zoran

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Gunnar Andersson
On Thu, 2018-07-19 at 09:22 +0200, Zoran Stojsavljevic wrote: [trimmed] > Actually, the recipe I am showing here is the GENIVI (the same you > pointed to), but heavily modified. :-) See previous email about shared maintenance :-) Is your code published? (I mean not in the email, too messy to ex

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
This does work: S = "${WORKDIR}/git" inherit pkgconfig cmake inherit systemd EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" INSANE_SKIP_${PN} = "ldflags" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_SYSROOT_STRIP = "1" SOLIBS = ".so" FILES_SOLIBSDEV = "" do_install_*append* () { install -d ${D}${lib

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
Hello Andre, Thank you for the tips. Tried what you have suggested. I had some errors, again in do_install(), then I read .log, and fixed the paths. This is my recipe, important part of it, as of now: ___ S = "${WORKDIR}/git" inherit pkgconfig cmake inherit systemd EXTRA_OECMAKE += "-DCMA

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-18 Thread Mirza Krak
On Wed, Jul 18, 2018, 13:38 Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > Hello YOCTO community, > > Since I need to build the latest and the greatest Github creations > from the independent contributors, I decided myself to write few YOCTO > recipes and to get myself to this (un)p

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-18 Thread Andre McCurdy
On Wed, Jul 18, 2018 at 7:04 AM, Zoran Stojsavljevic wrote: > Yep. Did it. Some symlink is missing (I guess, symlink to > /usr/local/lib/libcannelloni-common.so??? > > Initialising tasks: 100% > |##

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-18 Thread Zoran Stojsavljevic
Yep. Did it. Some symlink is missing (I guess, symlink to /usr/local/lib/libcannelloni-common.so??? Initialising tasks: 100% |#| Time: 0:00:00

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-18 Thread Alexander Kanavin
2018-07-18 13:37 GMT+02:00 Zoran Stojsavljevic : > do_install() { > install -d ${D}${bindir} > install -m 0755 cannelloni ${D}${bindir} > } You are installing only the executable binary here, but not the corresponding library. Just remove the do_install function altogether, and cmake class

[yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-18 Thread Zoran Stojsavljevic
Hello YOCTO community, Since I need to build the latest and the greatest Github creations from the independent contributors, I decided myself to write few YOCTO recipes and to get myself to this (un)pleasant learning path. I did few examples, simplistic ones, before I took more complex recipes to