Changes between Initial Version and Version 1 of Ticket #71041


Ignore:
Timestamp:
Oct 5, 2024, 6:43:55 AM (3 days ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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

Probably no port should be installing .DS_Store files but this might be happening because of your /opt/local symlink (which is not a modification we test or recommend). According to this search there are 23 ports that install .DS_Store files but go isn't one of them.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71041

    • Property Status changed from new to assigned
    • Property Owner set to ci42
    • Property Cc herbygillot added
    • Property Summary changed from "Warning: go violates the layout of the ports-filesystems!" to go: installs .DS_Store files when /opt/local is a symlink
  • Ticket #71041 – Description

    initial v1  
    99# Console output as follows:
    1010
     11{{{
    1112--->  Fetching archive for go
    12 
    1313--->  Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://packages.macports.org/go
    14 
    1514--->  Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/go
    16 
    1715--->  Attempting to fetch go-1.23.2_0.darwin_23.x86_64.tbz2 from https://kmq.jp.packages.macports.org/go
    18 
    1916--->  Fetching distfiles for go
    20 
    2117--->  Attempting to fetch go1.23.2.src.tar.gz from https://storage.googleapis.com/golang/
    22 
    2318--->  Attempting to fetch go1.23.2.darwin-amd64.tar.gz from https://storage.googleapis.com/golang/
    24 
    2519--->  Verifying checksums for go
    26 
    2720--->  Extracting go
    28 
    2921--->  Configuring go
    30 
    3122--->  Building go
    32 
    3323--->  Staging go into destroot
    34 
    3524Warning: violation by /.DS_Store
    36 
    3725Warning: violation by /Volumes/.DS_Store
    38 
    3926Warning: violation by /Volumes/usb1TBssd/.DS_Store
    40 
    4127Warning: violation by /Volumes/usb1TBssd/opt/.DS_Store
    42 
    4328Warning: violation by /Volumes/usb1TBssd/opt/local/.DS_Store
    44 
    4529Warning: go violates the layout of the ports-filesystems!
    46 
    4730Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
    48 
    4931--->  Installing go @1.23.2_0
    50 
    5132--->  Cleaning go
    52 
    53 
    5433[...]
    55 
    56 
    5734--->  Dependencies to be installed: go
    58 
    5935--->  Activating go @1.23.2_0
    60 
    6136Error: 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.
    6237    while executing
     
    7348                incr progress_step
    7449                _progress update $progress_step $progress_..."
    75 
    7650Error: 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.
     51}}}