[meta-freescale] [PATCH 14/20] openssl-qoriq should provide the same output packages as poky openssl

Luo Zhenhua zhenhua.luo at freescale.com
Wed Sep 2 02:02:03 PDT 2015


> -----Original Message-----
> From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br]
> Sent: Tuesday, September 01, 2015 8:05 PM
> 
> On Tue, Sep 1, 2015 at 4:37 AM, Luo Zhenhua <zhenhua.luo at freescale.com>
> wrote:
> >> -----Original Message-----
> >> From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br]
> >> Sent: Tuesday, September 01, 2015 12:22 AM
> >>
> >> On Fri, Aug 28, 2015 at 7:36 AM, Zhenhua Luo
> >> <zhenhua.luo at freescale.com>
> >> wrote:
> >> > The same output packages of poky openssl should be provided by
> >> > openssl-qoriq, otherwise the following build error will appear when
> >> > multiple output packages of openssl are depended, some are provided
> >> > by openssl-qoriq, the others are provided by poky openssl.
> >> >
> >> >   ERROR: Multiple .bb files are due to be built which each provide openssl
> >> >   (.../meta-freescale/recipes-connectivity/openssl/openssl-
> qoriq_1.0.1i.bb
> >> >   /poky/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb). This
> usually
> >> >   means one provides something the other doesn't and should.
> >> >
> >> > Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> >>
> >> This is because the package arch is wrong. The right fix for this is
> >> to adjust package arch accordingly.
> > [Luo Zhenhua-B19537] I try to add PACKAGE_ARCH = "${MACHINE_ARCH}" in
> openssl-qoriq bb file, the issue persists, any comment?
> >         According to the error message, the issue is caused by some packages are
> provided by poky openssl, which should be provided by openssl-qoriq.
> 
> You seem to be lacking
> 
> RCONFLICTS
> RREPLACES
> 
> and this can be done using an annonymous python.
[Luo Zhenhua-B19537] Per my understanding, RCONFLICTS and RREPLACES are used when same output packages are provided by different packages. For openssl-qoriq build, some output packages are provided poky openssl, which should be provided by openssl-qoriq as well, can those two variables solve the problem? 

I add the following lines in openssl-qoriq bb file, the issue still exists. 
RCONFLICTS_${PN} = "openssl"
RREPLACES_${PN} = "openssl" 


Best Regards,

Zhenhua


More information about the meta-freescale mailing list