You are not logged in.

#1 2015-05-23 21:33:49

don equis
Member
From: Buenos Aires
Registered: 2010-12-18
Posts: 6

Why do gcc-go and go are in conflict?

Hi.

I just found that gcc-go and go are now in conflict. I just removed go when upgrading, but was curious about the reason.

I'm new to Go and I really don't know the benefits of one compiler over the other, so I had this whim of having both installed togheter.

Thanks.

Offline

#2 2015-05-23 22:38:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Why do gcc-go and go are in conflict?

It's a relatively new thing, but I know nothing about go and these packages, so I can only tell you that first a workaround has been suggested https://projects.archlinux.org/svntogit … e199b7f329 but only 2 hours later it has been removed and the conflict was added https://projects.archlinux.org/svntogit … 60463d1574

Offline

#3 2015-05-23 23:16:02

don equis
Member
From: Buenos Aires
Registered: 2010-12-18
Posts: 6

Re: Why do gcc-go and go are in conflict?

Thanks karol

I guess only allan knows what problem he found there, and this is kind of low priority thing. Unfortunately I know nothing for helping with this issue hmm

Eventually I can live removing and installing go and gcc-go on my own demand, and I don't think many more people would be interested in having both compilers at the same time; so it's probably not worth the time to solve the problem.

Offline

#4 2015-05-24 02:13:49

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,939
Website

Re: Why do gcc-go and go are in conflict?

The two packages provide some of the same binaries.  I did not think it necessary to work around that...

Offline

#5 2015-05-24 14:27:39

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: Why do gcc-go and go are in conflict?

Go user and active Go development list follower here. The thing is that gcc-go now has it's own version of the "go" command that should be a closely following fork of the one in the "go" package and is primarily there to make gcc-go work more easily on architectures where the standard go distribution is not available.
The "go" command in the standard distribution (the go package) has support for gcc-go too though so that gcc-go and go can work together. So I think the best solution would be to install the gcc-go binaries that conflict with "gcc-" prefixed or disable them during configure.
On x86 and x86_64 the go package is the more advanced Go implementation and should be preferred (gcc-go lacks escape analysis currently and has less advanced garbage collection especially once go 1.5 is released)

Offline

#6 2015-12-15 17:28:46

dahankzter
Member
Registered: 2009-03-12
Posts: 38

Re: Why do gcc-go and go are in conflict?

This happened again today where mongodb-tools needed gcc-go but go is something I use regularly.
Not sure how this even came to be. Probably mongodb-tools recently introduced this dep.

Not feasible in the long run...

Offline

#7 2015-12-15 17:31:19

dahankzter
Member
Registered: 2009-03-12
Posts: 38

Re: Why do gcc-go and go are in conflict?

Yes indeed in the last commit the dep was changed:

-depends=('libsasl')
-makedepends=('git' 'go')
+depends=('libsasl' 'gcc-go')
+makedepends=('git')

Why och why....

Offline

#8 2015-12-16 09:50:07

01walid
Member
Registered: 2012-12-30
Posts: 7

Re: Why do gcc-go and go are in conflict?

This is weird and doesn't help any Go developer on Arch Linux ...

Offline

#9 2015-12-16 09:51:39

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,939
Website

Re: Why do gcc-go and go are in conflict?

It will be fixed in a few hours...

Offline

#10 2015-12-21 10:03:45

01walid
Member
Registered: 2012-12-30
Posts: 7

Re: Why do gcc-go and go are in conflict?

still not solved yet hmm @allan

Last edited by 01walid (2015-12-21 10:04:02)

Offline

#11 2015-12-21 11:04:54

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,939
Website

Re: Why do gcc-go and go are in conflict?

The fixed ones are sitting in [testing]...  I will move them to [core] now.

Offline

#12 2015-12-21 17:39:03

01walid
Member
Registered: 2012-12-30
Posts: 7

Re: Why do gcc-go and go are in conflict?

Allan wrote:

The fixed ones are sitting in [testing]...  I will move them to [core] now.

Thank you, fixed now smile

Offline

#13 2016-01-25 18:00:53

eduncan911
Member
Registered: 2015-05-02
Posts: 93
Website

Re: Why do gcc-go and go are in conflict?

Ran into this issue on a new system with a package that required gcc-go dependency.  It states go is in conflict.

Offline

#14 2020-06-16 09:43:31

elichai2
Member
Registered: 2020-06-16
Posts: 1

Re: Why do gcc-go and go are in conflict?

They are still in conflict @Allan sad

Offline

Board footer

Powered by FluxBB