[OE-core] target rpm build failure

Mark Hatle mark.hatle at windriver.com
Thu May 31 16:17:38 UTC 2012


On 5/31/12 9:47 AM, Giuseppe Condorelli wrote:
> because the current distribution I manage (not oe based) is rpm based so in my
> intention I want to furnish (for a while) both installtion methods: via oe build
> system and via rpm (chrooted or similar).
> And to do the second I need to have the possibility to access to the dbpath oe
> build system manages during image cretion/installation.
> Adding "package-management" to IMAGE_FEATURES I'll have this available. But it
> includes also target rpm build (honestly I don't need it) that is failing.
> Have new suggestions?

uclibc and glibc are incompatible with each other from a binary perspective. 
I've not seen anyone distribution an RPM based uclibc distribution before.  It's 
always been glibc based -- or some other package method on uclibc due to size 
and dependency requirements.

If you really need rpm (on the target) with uclibc, you'll have to go through 
RPM and all of it's dependencies and patch them for uclibc.  I'm happy to review 
the patches, and I don't see why they wouldn't be accepted into OE-core... but 
it wasn't the expectation when RPM functionality was added and tested.  (ipkg 
was expected to be used with uclibc, or no package manager on the target.)

--Mark

> Many thanks,
> Giuseppe
>
> 2012/5/31 Gary Thomas <gary at mlbassoc.com <mailto:gary at mlbassoc.com>>
>
>     On 2012-05-31 07:57, Giuseppe Condorelli wrote:
>
>         Thanks for the reply,
>         unfortunately I depend from rpm, I need just rpm packages.
>
>
>     Why do you need RPM?
>
>         So can you confirm the target rpm for uclibc is not building?
>         Thanks again,
>         Giuseppe
>
>         2012/5/31 Khem Raj <raj.khem at gmail.com <mailto:raj.khem at gmail.com>
>         <mailto:raj.khem at gmail.com <mailto:raj.khem at gmail.com>>>
>
>
>         On Thu, May 31, 2012 at 5:35 AM, Giuseppe Condorelli
>         <giuseppe.condorelli at gmail.com <mailto:giuseppe.condorelli at gmail.com>
>         <mailto:giuseppe.condorelli at __gmail.com
>         <mailto:giuseppe.condorelli at gmail.com>>> wrote:
>          > Is there some difference for uclibc? Please let me know.
>
>         opkg works well with uclibc based systems. Those functions are not
>         implemented in uclibc I am sure it can be fixed
>         by linking in other libs or may be creating one. However if you are
>         not bound to rpm then I would suggest to use opkg
>
>         in your local.conf set it
>
>         PACKAGE_CLASSES = "package_ipk"
>
>
>     --
>     ------------------------------__------------------------------
>     Gary Thomas | Consulting for the
>     MLB Associates | Embedded world
>     ------------------------------__------------------------------
>
>
>     _________________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.__openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.linuxtogo.org/__cgi-bin/mailman/listinfo/__openembedded-core
>     <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list