[MacPorts] #67716: wormhole-william 1.0.6 build error on Mac OS M1

MacPorts noreply at macports.org
Tue Jul 4 01:43:04 UTC 2023


#67716: wormhole-william 1.0.6 build error on Mac OS M1
----------------------+--------------------
 Reporter:  jrabinow  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 I'm not sure if this is a bug or an issue on my system.

 Machine info:
 {{{
 macOS 13.3 22E252 arm64
 Xcode 14.3 14E222b
 }}}

 {{{
 $ sudo port install wormhole-william
 --->  Computing dependencies for wormhole-william
 --->  Fetching archive for wormhole-william
 --->  Attempting to fetch wormhole-william-1.0.6_0.darwin_22.arm64.tbz2
 from https://packages.macports.org/wormhole-william
 --->  Attempting to fetch wormhole-william-1.0.6_0.darwin_22.arm64.tbz2
 from http://mirror.fcix.net/macports/packages/wormhole-william
 --->  Attempting to fetch wormhole-william-1.0.6_0.darwin_22.arm64.tbz2
 from https://ywg.ca.packages.macports.org/mirror/macports/packages
 /wormhole-william
 --->  Fetching distfiles for wormhole-william
 --->  Verifying checksums for wormhole-william
 --->  Extracting wormhole-william
 --->  Configuring wormhole-william
 --->  Building wormhole-william
 Error: Failed to build wormhole-william: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_wormhole-william/wormhole-
 william/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port wormhole-william failed
 [Exit 1]
 }}}

 Logs (main.log) attached.

 {{{
 $ sudo -u macports bash
 Password:
 shell-init: error retrieving current directory: getcwd: cannot access
 parent directories: Permission denied
 bash: /Users/julien/.bashrc: Permission denied
 bash-5.2$ cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_wormhole-william/wormhole-
 william/work/gopath/src/github.com/psanford/wormhole-william/"
 bash-5.2$ ls
 LICENSE    build_release.go  cmd       go.mod  internal  rendezvous
 version   wormhole
 README.md  ci                examples  go.sum  main.go   tag_version.go
 wordlist
 bash-5.2$ go build
 failed to initialize build cache at /Users/julien/Library/Caches/go-build:
 mkdir /Users/julien/Library/Caches: permission denied
 bash-5.2$ exit
 [Exit 1]
 $ /bin/ls -lde ~/Library/Caches/
 drwx------+ 127 julien  staff  4064 Jul  3 18:39
 /Users/julien/Library/Caches/
  0: group:everyone deny delete
 $
 }}}

 I'm not sure how to debug this, if anyone could provide me with a hint or
 2 I'd be most grateful.

-- 
Ticket URL: <https://trac.macports.org/ticket/67716>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list