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

MacPorts noreply at macports.org
Sat Oct 5 08:39:03 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 LiamMoy):

 > Do you see this with other ports or only with go?

 Out of 200 ports, only `go` had this issue.

 > Probably no port should be installing .DS_Store files but this might be
 happening because of your /opt/local symlink

 The issue isn't it copying .DS_Store files per se, the issue is that when
 `/opt/local` is symlinked the idiosyncratic directory structure inside the
 `go` .tbz2 archive is making things haywire in that `foreach` in the
 activation:

 Attached is a screenshot comparing the structure of the .tbz2 archives of
 the `go` port and two (arbitrary) other ports that don't have this
 idiosyncracy: `emacs` and `maven`.

 When `/opt/local` is symlinked the `go` .tbz2 extracts with its internal
 subdirectory structure as `path/to/symlinked` (in this case
 `go-1.23.2_0.darwin_23.x86_64/Volumes/usb1TBssd/opt/local`) whereas all
 other ports extract to `[port]/opt/local/` (i.e. `path/to/symlink`).

 This is what the error messages refers to when it says "go violates the
 layout of the ports-filesystems".

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


More information about the macports-tickets mailing list