[MacPorts] #65345: hub: build failure with go 1.8 due to outdated go sys package

MacPorts noreply at macports.org
Tue Jun 14 01:02:52 UTC 2022


#65345: hub: build failure with go 1.8 due to outdated go sys package
------------------------+--------------------
 Reporter:  i0ntempest  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  hub
------------------------+--------------------
 {{{
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_hub/hub/work/src/github.com/github/hub'
 :info:build script/build -o bin/hub
 :info:build go build -o bin/md2roff github.com/github/hub/md2roff-bin
 :info:build # golang.org/x/sys/unix
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:43:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:59:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:75:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:90:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:105:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:136:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:151:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3:
 //go:linkname must refer to declared function or variable
 :info:build vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3:
 too many errors
 :info:build make: *** [bin/hub] Error 2
 }}}
 This can be fixed by updating sys to a more recent version. Also what's
 the reason for this to not use the go portgroup to fetch dependencies?

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


More information about the macports-tickets mailing list