Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#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)

In the future, please add the port maintainer(s) to Cc (port info --maintainers go-tools), if any.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to ci42
Status: newassigned

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:5 Changed 3 years ago by mascguy (Christopher Nielsen)

comment:6 Changed 3 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In bffdd87166d0d2ac6126f45c1b0028244425e963/macports-ports (master):

go-tools: eliminate conflict with Ruby

  • Delete internal binary 'bundle'

Fixes: #57787

comment:7 Changed 3 years ago by herbygillot (Herby Gillot)

In 7604f34da05f1f2a953abdd4d250ea4ae56d4f23/macports-ports (master):

go-tools: update to 0.1.8

  • restore and *rename* the bundle binary, instead of wholesale deleting it

See: #57787

Note: See TracTickets for help on using tickets.