[MacPorts] #71041: go: installs .DS_Store files when /opt/local is a symlink

MacPorts noreply at macports.org
Sun Oct 6 23:36:50 UTC 2024


#71041: go: installs .DS_Store files when /opt/local is a symlink
----------------------+----------------------
  Reporter:  LiamMoy  |      Owner:  ci42
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.10.2
Resolution:           |   Keywords:
      Port:  go       |
----------------------+----------------------

Comment (by ryandesign):

 Text terminal output is preferred over screenshots.

 The [https://packages.macports.org/go/go-1.23.2_0.darwin_23.x86_64.tbz2
 go-1.23.2_0.darwin_23.x86_64.tbz2 on our server] does not of course
 contain any references to your usb1TBssd volume so this situation must
 only come about if you build go from source on a system where /opt/local
 is a symlink.

 As I said this is not a configuration that MacPorts maintainers test.
 Nobody designing MacPorts ever expected a user to replace the prefix with
 a symlink so I'm not surprised there are issues as a result.

 Reading over the go port's destroot phase, I don't immediately see why
 this problem would happen. If you can figure out why this happens and what
 needs to be changed in the go port to fix it, please submit a pull
 request. I'm not sure if the maintainers of the go port will work on
 fixing it since it is a nonstandard configuration and they may not have
 the resources to set up a test environment that matches yours to be able
 to reproduce and fix it.

-- 
Ticket URL: <https://trac.macports.org/ticket/71041#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list