Opened 6 weeks ago
Last modified 5 weeks ago
#71041 assigned defect
"Warning: go violates the layout of the ports-filesystems!" — at Initial Version
Reported by: | LiamMoy (Liam Moy) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | Cc: | ||
Port: | go |
Description
"go violates the layout of the ports-filesystems"
- warning when staging, and error when activating
- port
go-1.23.2_0.darwin_23.x86_64
- in MacPorts 2.10.2
- when
/opt/local
is a symlink to another location (in this case/Volumes/usb1TBssd/opt/local
)
# Console output as follows:
---> Fetching archive for go
---> Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://packages.macports.org/go
---> Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/go
---> Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://kmq.jp.packages.macports.org/go
---> Fetching distfiles for go
---> Attempting to fetch go1.23.2.src.tar.gz from https://storage.googleapis.com/golang/
---> Attempting to fetch go1.23.2.darwin-amd64.tar.gz from https://storage.googleapis.com/golang/
---> Verifying checksums for go
---> Extracting go
---> Configuring go
---> Building go
---> Staging go into destroot
Warning: violation by /.DS_Store
Warning: violation by /Volumes/.DS_Store
Warning: violation by /Volumes/usb1TBssd/.DS_Store
Warning: violation by /Volumes/usb1TBssd/opt/.DS_Store
Warning: violation by /Volumes/usb1TBssd/opt/local/.DS_Store
Warning: go violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
---> Installing go @1.23.2_0
---> Cleaning go
[...]
---> Dependencies to be installed: go
---> Activating go @1.23.2_0
Error: Failed to activate go: Image error: /Volumes/usb1TBssd/.DS_Store already exists and does not belong to a registered port. Unable to activate port go. Use 'port -f activate go' to force the activation.
while executing
"throw registry::image-error $msg"
("foreach" body line 77) invoked from within
"foreach file $imagefiles {
incr progress_step _progress update $progress_step $progress_total_steps se..."
invoked from within
"registry::write {
foreach file $imagefiles {
incr progress_step _progress update $progress_step $progress_..."
Error: See /Volumes/usb1TBssd/opt/local/var/macports/logs/_Volumes_usb1TBssd_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/main.log for details.