[oe] [PATCH] package(_ipk).bbclass: fix versioned dependencies in RDEPENDS et al.

Andreas Oberritter obi at opendreambox.org
Fri Jan 28 21:18:07 UTC 2011


On 01/27/2011 05:27 AM, Andreas Oberritter wrote:
> * explode_deps() changed its behavior to omit version information
>   when the function was removed from OE in favor of BitBake's
>   implementation in March 2010. Since then, packages didn't contain
>   versioned runtime dependencies.
> 
>   See commit 89b7e433719f43f1c36c76cb8856d559014e99bc
> 
>   The solution is to switch to bb.utils.explode_dep_versions(), as
>   already used by package_rpm.bbclass.
> 
> * Two functions in package.bbclass needlessly added whitespace
>   characters to RDEPENDS_*. This was removed.
> 
> * The following statement was removed from package_ipk.bbclass:
> 
>   if not '-locale-' and not '-dbg' and not '-dev' in pkgname:
>       rdepends.append('%s-locale*' % pkgname)
> 
>   It was added in November 2008, but can never evaluate to true.
> 
>   See commit a045dfacf6f2541e0f410d9d109581f181303756
> 
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
> CC: Chris Larson <chris_larson at mentor.com>
> CC: Otavio Salvador <otavio at ossystems.com.br>

Although this patch fixes the runtime dependencies for shlibs generated
versions, it doesn't cover versions specified in recipes. I'm going to
post an updated patch.

Regards,
Andreas





More information about the Openembedded-devel mailing list