#57787 closed defect (fixed)
go-tools installs a binary called 'bundle' that conflicts with the Ruby gem of the same name
Reported by: | DanHam (Dan) | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | go-tools |
Description
$ port provides /opt/local/bin/bundle /opt/local/bin/bundle is provided by: go-tools
The naming conflict has been raised with the Go developers.
According to this GitHub issue/comment the Go-tools bundle binary is only intended for use internally within the Go project itself. This comment suggests not packaging the bundle binary with Go-tools at all.
Change History (7)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to ci42 |
---|---|
Status: | new → assigned |
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
I can confirm this is still an issue, as I was just bitten by it after using port select
to choose a default Ruby: The operation overwrites /opt/local/bin/bundle
with a Ruby symlink, without warning.
In order to fix, one must first unselect Ruby, and then deactivate/activate go-tools
.
I'm wondering if this is a bug - or at least, undesirable behavior - of port select
? Ideally it should fail with an error, rather than overwriting anything. Thoughts?
comment:6 Changed 3 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 3 years ago by herbygillot (Herby Gillot)
Note: See
TracTickets for help on using
tickets.
In the future, please add the port maintainer(s) to Cc (
port info --maintainers go-tools
), if any.