[OE-core] [PATCH] go/go-runtime: use update-alternative for zdefaultcc.go

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 7 14:16:15 UTC 2019


On Wed, 2019-08-07 at 10:35 +0800, Changqing Li wrote:
> On 8/6/19 6:47 PM, Richard Purdie wrote:
> > On Tue, 2019-08-06 at 14:54 +0800, changqing.li at windriver.com
> > wrote:
> > > From: Changqing Li <changqing.li at windriver.com>
> > > 
> > > fix below error:
> > > file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between
> > > attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-
> > > dev-
> > > 1.12.6-r0.core2_64
> > > file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go
> > > conflicts
> > > between attempted installs of go-dev-1.12.6-r0.core2_64 and go-
> > > runtime-dev-1.12.6-r0.core2_64
> > > 
> > > Signed-off-by: Changqing Li <changqing.li at windriver.com>
> > > ---
> > >   meta/recipes-devtools/go/go-runtime_1.12.bb | 6 ++++++
> > >   meta/recipes-devtools/go/go_1.12.bb         | 7 +++++++
> > >   2 files changed, 13 insertions(+)
> > It seems odd that both of these packages should provide this,
> > perhaps
> > one version should just be deleted?
> > 
> > Cheers,
> > 
> > Richard
> 
> These 2 recipes don't have any DEPEND or RDEPEND relationship, so
> they 
> are independent from the point of recipe.
> 
> Make one of dev packages empty seems not proper ?

Let me put this another way. What is the difference between these two
binaries? When should you use one, when should you use the other? Or
are they the same thing?

Cheers,

Richard




More information about the Openembedded-core mailing list