All of lore.kernel.org
 help / color / mirror / Atom feed
* an ipk package depending on its corresponding -dev
@ 2011-04-17 13:43 Luca Bolognini
  2011-04-17 14:00 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Bolognini @ 2011-04-17 13:43 UTC (permalink / raw)
  To: Openembedded Mailing List


A strange thing happended to me last time I created libgles-omap3 ipk packages.I had justed patched /usr/bin/cputype (a file contained in one of the SRC_URIs) and libgles-omap3.inc to add some INSANE_SKIPs , then I gave the commands:MACHINE=beagleboard bitbake -v -c clean libgles-omap3MACHINE=beagleboard bitbake -v libgles-omap3
At least, it happened that I had the dependency:libgles_omap3 -> libgles_omap3_dev
It's quite strange and it's the first time I see a package depending on its corresponding -dev.Obviously this dependency is false, there can't be any dependency between these two packages.The same action, with MACHINE=c6a816x-evm (in a different development machine) doesn't lead to this behaviour.However I don't think that MACHINE=beagleboard is involved, probably I corrupted something in the 1st development machine, I don't know.Have you any idea how to remove this ugly (and useless) dependency? How could it originate?
Thank you, byeLuca

-------------------------Luca Bologninil.bolognini@hotmail.it


 		 	   		  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: an ipk package depending on its corresponding -dev
  2011-04-17 13:43 an ipk package depending on its corresponding -dev Luca Bolognini
@ 2011-04-17 14:00 ` Gary Thomas
  2011-04-18 14:57   ` Luca Bolognini
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2011-04-17 14:00 UTC (permalink / raw)
  To: openembedded-devel

On 04/17/2011 07:43 AM, Luca Bolognini wrote:
>
> A strange thing happended to me last time I created libgles-omap3 ipk packages.I had justed patched /usr/bin/cputype (a file contained in one of the SRC_URIs) and libgles-omap3.inc to add some INSANE_SKIPs , then I gave the commands:MACHINE=beagleboard bitbake -v -c clean libgles-omap3MACHINE=beagleboard bitbake -v libgles-omap3
> At least, it happened that I had the dependency:libgles_omap3 ->  libgles_omap3_dev
> It's quite strange and it's the first time I see a package depending on its corresponding -dev.Obviously this dependency is false, there can't be any dependency between these two packages.The same action, with MACHINE=c6a816x-evm (in a different development machine) doesn't lead to this behaviour.However I don't think that MACHINE=beagleboard is involved, probably I corrupted something in the 1st development machine, I don't know.Have you any idea how to remove this ugly (and useless) dependency? How could it originate?

I've seen this happen when something in the package depends on a
library named *.so, instead of a more qualified library such as *.so.1
The *.so files are only packaged in the -dev subpackages by default.

An easy workaround (which might not be perfectly correct) is to just
list the .so files in the main package, e.g.
   FILES_${PN} += "/usr/lib/lib*.so"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: an ipk package depending on its corresponding -dev
  2011-04-17 14:00 ` Gary Thomas
@ 2011-04-18 14:57   ` Luca Bolognini
  0 siblings, 0 replies; 3+ messages in thread
From: Luca Bolognini @ 2011-04-18 14:57 UTC (permalink / raw)
  To: Openembedded Mailing List


Thank you, but my libgles-omap3-dev_4.03.00.01-r11.6_armv7a.ipk includes only /usr/include/* files, as written in the recipe: FILES_${PN}-dev = "${includedir}"
Moreover it doesn't happen when MACHINE=c6a816x-evm... however I don't think MACHINE=beagleboard is involved...

-------------------------Luca Bologninil.bolognini@hotmail.it




> Date: Sun, 17 Apr 2011 08:00:51 -0600
> From: gary@mlbassoc.com
> To: openembedded-devel@lists.openembedded.org
> CC: l.bolognini@hotmail.it
> Subject: Re: [oe] an ipk package depending on its corresponding -dev
> 
> On 04/17/2011 07:43 AM, Luca Bolognini wrote:
> >
> > A strange thing happended to me last time I created libgles-omap3 ipk packages.I had justed patched /usr/bin/cputype (a file contained in one of the SRC_URIs) and libgles-omap3.inc to add some INSANE_SKIPs , then I gave the commands:MACHINE=beagleboard bitbake -v -c clean libgles-omap3MACHINE=beagleboard bitbake -v libgles-omap3
> > At least, it happened that I had the dependency:libgles_omap3 ->  libgles_omap3_dev
> > It's quite strange and it's the first time I see a package depending on its corresponding -dev.Obviously this dependency is false, there can't be any dependency between these two packages.The same action, with MACHINE=c6a816x-evm (in a different development machine) doesn't lead to this behaviour.However I don't think that MACHINE=beagleboard is involved, probably I corrupted something in the 1st development machine, I don't know.Have you any idea how to remove this ugly (and useless) dependency? How could it originate?
> 
> I've seen this happen when something in the package depends on a
> library named *.so, instead of a more qualified library such as *.so.1
> The *.so files are only packaged in the -dev subpackages by default.
> 
> An easy workaround (which might not be perfectly correct) is to just
> list the .so files in the main package, e.g.
>    FILES_${PN} += "/usr/lib/lib*.so"
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
 		 	   		  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-18 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-17 13:43 an ipk package depending on its corresponding -dev Luca Bolognini
2011-04-17 14:00 ` Gary Thomas
2011-04-18 14:57   ` Luca Bolognini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.