Re: [yocto] RDEPENDS in a containerized world

2019-07-26 Thread Khem Raj
On Fri, Jul 26, 2019 at 10:36 AM Aaron Cohen wrote: > > I'm not sure if this is the proper venue, but I'll send it here hoping for > any insight. > > I'm developing a containerized system. Ideally the host will be somewhat > minimal, and most of the functionality of the system will run inside do

[yocto] RDEPENDS in a containerized world

2019-07-26 Thread Aaron Cohen
I'm not sure if this is the proper venue, but I'll send it here hoping for any insight. I'm developing a containerized system. Ideally the host will be somewhat minimal, and most of the functionality of the system will run inside docker containers. I have most of this working to some extent now,

Re: [yocto] RDEPENDS and do_rootfs

2019-02-01 Thread Darcy Watkins
Hi, In my case, package A creates groups a1, a2 and a3. B is actually a family of packages B1, B2 and B3 that each create user b1, b2, or b3 respectively, but also adds the new user to groups a1, a2 and/or a3. So in this case, it is necessary that package A first be installed AND that its post-i

Re: [yocto] RDEPENDS and do_rootfs

2019-01-31 Thread Burton, Ross
Ah in that case there's been a lot of work since daisy to useradd etc. Ross On Thu, 31 Jan 2019 at 15:51, Darcy Watkins wrote: > > Hi, > > In my case, package A creates groups a1, a2 and a3. > > B is actually a family of packages B1, B2 and B3 that each create user > b1, b2, or b3 respectively,

Re: [yocto] RDEPENDS and do_rootfs

2019-01-31 Thread Burton, Ross
Forgot to say, Bitbake's dependency model is loosely based on Debian's so the Debian Policy is a good read for semantics: https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends Debian's "Depends" is our "RDEPENDS", what

Re: [yocto] RDEPENDS and do_rootfs

2019-01-31 Thread Burton, Ross
On Thu, 31 Jan 2019 at 07:01, Hopp, Denis wrote: > I cannot assure you of that specific case but to my understanding you could > find out with the taskexp: > > bitbake -g -u taskexp > There you will have a graphical interface to explore your package > dependencies and which task will be execute

Re: [yocto] RDEPENDS and do_rootfs

2019-01-31 Thread Burton, Ross
Presumably the problem here is that you've a maintainer script (preinst or postinst) in B that needs a binary/library from A, and is failing because B's postinst is running before A is unpacked? If not, please clarify, otherwise the problem is that DEPENDS just talks about the final solution. If

Re: [yocto] RDEPENDS and do_rootfs

2019-01-30 Thread Hopp, Denis
Hi Darcy, I cannot assure you of that specific case but to my understanding you could find out with the taskexp: bitbake -g -u taskexp There you will have a graphical interface to explore your package dependencies and which task will be executed before another. Hope that helps. Greetings, D

[yocto] RDEPENDS and do_rootfs

2019-01-30 Thread Darcy Watkins
Hi, Can someone knowledgeable with the inner workings of the build system please confirm... IF package B has RDEPENDS on package A THEN during do_rootfs task, package A will always be installed into rootfs first AND the post-inst scripts of package A will always be run prior to those for package

Re: [yocto] RDEPENDS error for itstool recipe

2018-12-17 Thread Burton, Ross
As https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-support/itstool/itstool_2.0.4.bb shows, you need to fix the hashbang manually. Always check the layer index before writing a recipe. :) Ross On Mon, 17 Dec 2018 at 16:30, Q. Gouès wrote: > > Hi, > > I am trying to create the

[yocto] RDEPENDS error for itstool recipe

2018-12-17 Thread Q . Gouès
Hi, I am trying to create the recipe for the package itstool (available https://github.com/itstool/itstool) for Yocto. Here is my recipe file (itstool_git.bb): -- SUMMARY = "Tr

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread rtillet
recipe folder and file names. Thanks. Raphaël. - Mail original - De: rtil...@free.fr À: "Ross Burton" Cc: yocto@yoctoproject.org Envoyé: Mercredi 28 Mars 2018 18:17:12 Objet: Re: [yocto] RDEPENDS is ignored when building rootfs Hello Ross, Thanks for your quick reply, but I ha

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread rtillet
e-minimal-image - For the beaglebone. If you have any others suggestions, feel free. Raphaël. - Mail original - De: "Ross Burton" À: "Raphaël TILLET" Cc: yocto@yoctoproject.org Envoyé: Mercredi 28 Mars 2018 17:57:17 Objet: Re: [yocto] RDEPENDS is ignored when bui

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread Burton, Ross
On 28 March 2018 at 16:00, Raphaël TILLET wrote: > I’m using « Pyro », and have built a very simple recipe. The build program > Inside the recipe needs « libncurses.so » at run time, so I have added to my > recipe the following : > > DEPENDS_{PN} = « ncurses » > RDEPENDS_${PN}= « ncurses-libform

[yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread Raphaël TILLET
Hi, I’m using « Pyro », and have built a very simple recipe. The build program Inside the recipe needs « libncurses.so » at run time, so I have added to my recipe the following : - DEPENDS_{PN} = « ncurses » - RDEPENDS_${PN}= «  ncurses-libform » The build is ok, but my final RootFs does not co

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-10 Thread Alexander Kanavin
On 01/09/2018 08:45 PM, Matt Schepers wrote: For this recipe the base package is called users.rpm and I can see it in the RPM. Using 'bitbake users -e | grep PN' I was able to find that PN is also set to users, which seems correct. However the recipe does not install python3-modules even thoug

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-09 Thread Matt Schepers
ect.org Subject: Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image On 01/06/2018 08:00 PM, Matt Schepers wrote: > How do I check what PN is set to? I can see users-dbg.rpm and > users-doc.rpm in the rpm folder. The recipe name is users.b

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-07 Thread Alexander Kanavin
On 01/06/2018 08:00 PM, Matt Schepers wrote: How do I check what PN is set to? I can see users-dbg.rpm and users-doc.rpm in the rpm folder. The recipe name is users.bb If the recipe is named users, then PN is most likely users as well. -doc and -dbg are supplementary packages. What is the main

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-07 Thread Alan Martinovic
You can try bitbake users -e | grep PN or bitbake users -e | vim - and then search for PN inside vim On Sat, Jan 6, 2018 at 7:00 PM, Matt Schepers wrote: > How do I check what PN is set to? I can see users-dbg.rpm and users-doc.rpm > in the rpm folder. The recipe name is users.bb > > > Th

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-06 Thread Matt Schepers
How do I check what PN is set to? I can see users-dbg.rpm and users-doc.rpm in the rpm folder. The recipe name is users.bb Thanks, Matt On Jan 5, 2018, at 11:38 AM, Alexander Kanavin mailto:alexander.kana...@linux.intel.com>> wrote: On 01/05/2018 06:41 PM, Matt Schepers wrote: This does not

Re: [yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-05 Thread Alexander Kanavin
On 01/05/2018 06:41 PM, Matt Schepers wrote: This does not install "python3-modules" to the image. When this builds, my python program does not work because of missing dependencies on the standard library. To get this to work I have to go in and append "python3-modules" to IMAGE_INSTALL in my

[yocto] rdepends = "python3-modules" in recipe does not install python3-modules in image

2018-01-05 Thread Matt Schepers
Folks, I have a .bb file for a setuptools based python program I am installing to my image. The python program needs a large subset of what's available in the python standard library and therefore I need to install "python3-modules" in my image to get the python interpreter to work. This is my

Re: [yocto] RDEPENDS dependency problem

2017-08-24 Thread Khem Raj
On Thu, Aug 24, 2017 at 1:41 AM, Stefano Pagnottelli wrote: > First of all, thanks for your reply. > > Il giorno mer 23 ago 2017 alle ore 20:56 Khem Raj ha > scritto: >> >> On 8/23/17 1:12 AM, Stefano Pagnottelli wrote: >> > Hi to all, >> > >> > I'm trying to build this layer: >> > (https://githu

Re: [yocto] RDEPENDS dependency problem

2017-08-24 Thread Stefano Pagnottelli
First of all, thanks for your reply. Il giorno mer 23 ago 2017 alle ore 20:56 Khem Raj ha scritto: > On 8/23/17 1:12 AM, Stefano Pagnottelli wrote: > > Hi to all, > > > > I'm trying to build this layer: > > (https://github.com/bachp/meta-homeassistant) using the yocto pyro on a > > raspberry pi

[yocto] RDEPENDS dependency problem

2017-08-23 Thread Stefano Pagnottelli
Hi to all, I'm trying to build this layer: (https://github.com/bachp/meta-homeassistant) using the yocto pyro on a raspberry pi 3 target and the opkg package system. Inside the recipe ( https://github.com/bachp/meta-homeassistant/blob/master/recipes-homeassistant/homeassistant/python3-homeassista

Re: [yocto] RDEPENDS dependency problem

2017-08-23 Thread Khem Raj
On 8/23/17 1:12 AM, Stefano Pagnottelli wrote: > Hi to all, > > I'm trying to build this layer: > (https://github.com/bachp/meta-homeassistant) using the yocto pyro on a > raspberry pi 3 target and the opkg package system. > > Inside the recipe > (https://github.com/bachp/meta-homeassistant/blob/

[yocto] RDEPENDS dependency problem

2017-08-23 Thread Stefano Pagnottelli
Hi to all, I'm trying to build this layer: (https://github.com/bachp/meta-homeassistant) using the yocto pyro on a raspberry pi 3 target and the opkg package system. Inside the recipe ( https://github.com/bachp/meta-homeassistant/blob/master/recipes-homeassistant/homeassistant/python3-homeassista

Re: [yocto] RDEPENDS on package does not include package in rootfs

2017-08-17 Thread Dr . Matthias Schöpfer
Hi Paul et al, i.A. Dr.-Ing. Matthias Schöpfer | ithinx GmbH | Software Engineer Phone: +49 (221) 99589-332 | Fax: +49 (221) 99 589-199 | E-Mail: matthias.schoep...@ithinx.io On 08/17/2017 12:00 PM, Paul Eggleton wrote: > Which package backend (rpm / ipk / deb) ? its rpm. Regards,

Re: [yocto] RDEPENDS on package does not include package in rootfs

2017-08-17 Thread Paul Eggleton
On Thursday, 17 August 2017 9:55:09 PM NZST Dr. Matthias Schöpfer wrote: On 08/17/2017 11:27 AM, Paul Eggleton wrote: > > On Thursday, 17 August 2017 8:43:41 PM NZST Dr. Matthias Schöpfer wrote: > >> Here is my problem, maybe I misunderstood something. I have a library > >> recipe, lets name it fo

Re: [yocto] RDEPENDS on package does not include package in rootfs

2017-08-17 Thread Dr . Matthias Schöpfer
Hi Paul et al, i.A. Dr.-Ing. Matthias Schöpfer | ithinx GmbH | Software Engineer Phone: +49 (221) 99589-332 | Fax: +49 (221) 99 589-199 | E-Mail: matthias.schoep...@ithinx.io On 08/17/2017 11:27 AM, Paul Eggleton wrote: > Hi Matthias, > > On Thursday, 17 August 2017 8:43:41 PM NZST Dr.

Re: [yocto] RDEPENDS on package does not include package in rootfs

2017-08-17 Thread Paul Eggleton
Hi Matthias, On Thursday, 17 August 2017 8:43:41 PM NZST Dr. Matthias Schöpfer wrote: > Here is my problem, maybe I misunderstood something. I have a library > recipe, lets name it foo, that DEPENDS on mosquitto from > meta-intel-iot-middleware. I added a RDEPENDS_${PN} += " libmosquitto1 > ", as

[yocto] RDEPENDS on package does not include package in rootfs

2017-08-17 Thread Dr . Matthias Schöpfer
Hi yocto community! Here is my problem, maybe I misunderstood something. I have a library recipe, lets name it foo, that DEPENDS on mosquitto from meta-intel-iot-middleware. I added a RDEPENDS_${PN} += " libmosquitto1 ", as the mosquitto package adds this extra package for the mosquitto library, t

[yocto] RDEPENDS

2014-02-09 Thread ratheesh kannoth
I am trying to add a package X.Package X depends on packages A . When i was configuring X , i have given include path of A and library path of A. because X is dynamically linked to libA. X.bb -- do_configure() { cd ${S} ./configure -I ../../A/include -L ../../A/src/.libs } I co

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-16 Thread Khem Raj
On Thursday, February 16, 2012, Autif Khan wrote: >> Hello, >> >> On Thu, 2012-02-16 at 10:26 +0530, Joshua Immanuel wrote: >>> Can you please explain little bit more on what INSANE_SKIP_${PN} = >>> "dev-so" does. I don't find any documentation on it. >> >> I guess, it suppresses the warnings stat

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-16 Thread Autif Khan
> Hello, > > On Thu, 2012-02-16 at 10:26 +0530, Joshua Immanuel wrote: >> Can you please explain little bit more on what INSANE_SKIP_${PN} = >> "dev-so" does. I don't find any documentation on it. > > I guess, it suppresses the warnings stating that an non-dev package > contains symlink. This is th

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello, On Thu, 2012-02-16 at 10:26 +0530, Joshua Immanuel wrote: > Can you please explain little bit more on what INSANE_SKIP_${PN} = > "dev-so" does. I don't find any documentation on it. I guess, it suppresses the warnings stating that an non-dev package contains symlink. This is the warning I

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello Autif, On Wed, 2012-02-15 at 18:23 -0500, Autif Khan wrote: > > Adding FILES_${PN} = "${libdir}/lib*.so" made bitbake to create an > > non-empty libharu package thereby fixing the problem. > > Heads up - if you are using 1.2 M2 - you may have to add the following > line in your recipe: > >

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Autif Khan
> Hello Khem Raj, > > On Wed, 2012-02-15 at 07:28 -0800, Khem Raj wrote: >> the .a files are going into -static package and I guess >> there is .so and not .so.X which means .so goes into >> -dev package and hence your libharu package is empty >> so you have to redirect the files into correct packa

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello Khem Raj, On Wed, 2012-02-15 at 07:28 -0800, Khem Raj wrote: > the .a files are going into -static package and I guess > there is .so and not .so.X which means .so goes into > -dev package and hence your libharu package is empty > so you have to redirect the files into correct package > with

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Khem Raj
On Tue, Feb 14, 2012 at 11:23 PM, Joshua Immanuel wrote: > its latest version libharu_2.2.1.bb. The generated .so, .la and .a files > for this are in the name 'libhpdf'. (I guess this will not cause any > problem.) These files are found in ${WORKDIR}/image/usr/lib > > My custom-image RDEPENDS for

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello all, On Wed, 2012-02-15 at 12:53 +0530, Joshua Immanuel wrote: > While building the custom-image bitbake complains > > | error: Failed dependencies: > | libharu is needed by task-custom-hdb-1.0-r3.ekino > > How do I fix this issue? On further digging (log.d

[yocto] RDEPENDS fails to find an existing package

2012-02-14 Thread Joshua Immanuel
Hello all, I've been trying to package libharu for yocto. So, wrote a recipe for its latest version libharu_2.2.1.bb. The generated .so, .la and .a files for this are in the name 'libhpdf'. (I guess this will not cause any problem.) These files are found in ${WORKDIR}/image/usr/lib My cust