[MacPorts] #71041: go: activation error due to unusual destroot layout when /opt/local is a symlink
MacPorts
noreply at macports.org
Mon Oct 7 02:30:33 UTC 2024
#71041: go: activation error due to unusual destroot layout 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):
> 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.
That's fine, I'm just reporting the warning that I observed in this
context, which is "go violates the layout of the ports-filesystems".
> 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.
Will do.
> The 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
It's not built from source; the `go` .tbz2 is extracting to subdirectories
with paths taken from the underlying target of `/opt/local` when
`/opt/local` is a symlink, that's all that's happening.
> In case it's relevant, your main.log file shows two attempts to install
the go port.
I believe that's a result of a subsequent installation of a port with `go`
as a dependency, hence:
{{{
[...]
---> Dependencies to be installed: go
}}}
Anyway, thanks. I enjoy your software.
--
Ticket URL: <https://trac.macports.org/ticket/71041#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list