Opened 2 years ago

Closed 2 years ago

#65345 closed defect (fixed)

hub: build failure with go 1.8 due to outdated go sys package

Reported by: i0ntempest Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: grimreaper (Eitan Adler)
Port: hub

Description

: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?

Attachments (1)

main.log (24.9 KB) - added by i0ntempest 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by i0ntempest

Attachment: main.log added

comment:1 Changed 2 years ago by i0ntempest

Owner: set to i0ntempest
Resolution: fixed
Status: newclosed

In af91c95242aa0f248cf7404f07c78a6676e9a431/macports-ports (master):

hub: migrate to golang portgroup

Fix build failure caused by outdated sys package
Add myself as maintainer
Closes: #65345

Note: See TracTickets for help on using tickets.