[MacPorts] #63503: Installing kubectl-1.21 1.21.5_0 fails: unexpected signal during runtime execution
MacPorts
noreply at macports.org
Fri Sep 17 16:37:13 UTC 2021
#63503: Installing kubectl-1.21 1.21.5_0 fails: unexpected signal during runtime
execution
-------------------------+-------------------------------------------------
Reporter: breun | Owner: patarra, lbschenkel, pedrohdz,
| herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: kubectl-1.21
-------------------------+-------------------------------------------------
I'm trying to upgrade kubectl-1.21 to 1.21.5_0, but I get this error on
macOS 11.6 20G165 x86_64:
{{{
❯ port outdated
The following installed ports are outdated:
kubectl-1.21 1.21.4_0 < 1.21.5_0
~ ❯ sudo port upgrade kubectl-1.21
---> Computing dependencies for bash
---> Fetching archive for bash
---> Attempting to fetch bash-5.1.8_0.darwin_20.x86_64.tbz2 from
https://packages.macports.org/bash
---> Attempting to fetch bash-5.1.8_0.darwin_20.x86_64.tbz2.rmd160 from
https://packages.macports.org/bash
---> Installing bash @5.1.8_0
---> Activating bash @5.1.8_0
---> Cleaning bash
---> Computing dependencies for kubectl-1.21
---> Fetching archive for kubectl-1.21
---> Attempting to fetch kubectl-1.21-1.21.5_0.darwin_20.x86_64.tbz2 from
https://packages.macports.org/kubectl-1.21
---> Attempting to fetch kubectl-1.21-1.21.5_0.darwin_20.x86_64.tbz2 from
https://fra.de.packages.macports.org/kubectl-1.21
---> Attempting to fetch kubectl-1.21-1.21.5_0.darwin_20.x86_64.tbz2 from
https://mse.uk.packages.macports.org/kubectl-1.21
---> Fetching distfiles for kubectl-1.21
---> Attempting to fetch kubernetes-1.21.5.tar.gz from
https://distfiles.macports.org/go
---> Verifying checksums for kubectl-1.21
---> Extracting kubectl-1.21
---> Configuring kubectl-1.21
---> Building kubectl-1.21
---> Staging kubectl-1.21 into destroot
Error: Failed to destroot kubectl-1.21: fatal error: unexpected signal
during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e
pc=0x7fff20483c9e]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from
0x7fff20483c9e
stack: frame={sp:0x7ffeefbff918, fp:0x7ffeefbff968}
stack=[0x7ffeefb809b8,0x7ffeefbffa20)
0x00007ffeefbff818: 0x01007ffeefbff838 0x0000000000000004
0x00007ffeefbff828: 0x000000000000001f 0x00007fff20483c9e
0x00007ffeefbff838: 0x0b01dfacedebac1e 0x0000000000000001
0x00007ffeefbff848: 0x0000000004035e31 <runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8
0x00007ffeefbff858: 0x00000000057a017f 0x00007ffeefbff8a0
0x00007ffeefbff868: 0x00000000040360e8
<runtime.fatalthrow.func1+0x0000000000000048> 0x0000000006c32820
0x00007ffeefbff878: 0x0000000000000001 0x0000000000000001
0x00007ffeefbff888: 0x00007ffeefbff8e8 0x0000000004035e31
<runtime.throw+0x0000000000000071>
0x00007ffeefbff898: 0x0000000006c32820 0x00007ffeefbff8d8
0x00007ffeefbff8a8: 0x0000000004036070
<runtime.fatalthrow+0x0000000000000050> 0x00007ffeefbff8b8
0x00007ffeefbff8b8: 0x00000000040360a0
<runtime.fatalthrow.func1+0x0000000000000000> 0x0000000006c32820
0x00007ffeefbff8c8: 0x0000000004035e31 <runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8
0x00007ffeefbff8d8: 0x00007ffeefbff908 0x0000000004035e31
<runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8: 0x00007ffeefbff8f0 0x0000000004035e60
<runtime.throw.func1+0x0000000000000000>
0x00007ffeefbff8f8: 0x00000000057b6c97 0x000000000000002a
0x00007ffeefbff908: 0x00007ffeefbff958 0x000000000404cad6
<runtime.sigpanic+0x0000000000000396>
0x00007ffeefbff918: <0x00000000057b6c97 0x0000000006c32820
0x00007ffeefbff928: 0x00007ffeefbff998 0x00000000040271a6
<runtime.(*mheap).allocSpan+0x0000000000000546>
0x00007ffeefbff938: 0x0000000006c4c688 0x0000000000000007
0x00007ffeefbff948: 0x000000c0008df830 0x0000000000000000
0x00007ffeefbff958: 0x00007ffeefbff9a0 !0x00007fff20483c9e
0x00007ffeefbff968: >0x00007ffeefbff9a0 0x00000000069b0000
0x00007ffeefbff978: 0x00000000000004a0 0x0000000004d18765
<k8s.io/kubernetes/vendor/golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x00007ffeefbff988: 0x000000000406a67f
<runtime.syscall+0x000000000000001f> 0x000000c0008dfa98
0x00007ffeefbff998: 0x0000000004069fec
<runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0008dfa68
0x00007ffeefbff9a8: 0x00000000040684d0
<runtime.asmcgocall+0x0000000000000070> 0x0000000000000001
0x00007ffeefbff9b8: 0x0000000004003400
<runtime.f64hash+0x00000000000000a0> 0x3400000000001018
0x00007ffeefbff9c8: 0x0000000000000000 0x0000000006c67998
0x00007ffeefbff9d8: 0x00000000000005c0 0x000000c0000001a0
0x00007ffeefbff9e8: 0x00000000040665e9
<runtime.systemstack+0x0000000000000049> 0x0000000000000004
0x00007ffeefbff9f8: 0x00000000059dca08 0x0000000006c32820
0x00007ffeefbffa08: 0x00007ffeefbffa50 0x00000000040664e5
<runtime.mstart+0x0000000000000005>
0x00007ffeefbffa18: 0x000000000406649d
<runtime.rt0_go+0x000000000000013d>
runtime.throw({0x57b6c97, 0x6c32820})
/opt/local/lib/go/src/runtime/panic.go:1198 +0x71
runtime: unexpected return pc for runtime.sigpanic called from
0x7fff20483c9e
stack: frame={sp:0x7ffeefbff918, fp:0x7ffeefbff968}
stack=[0x7ffeefb809b8,0x7ffeefbffa20)
0x00007ffeefbff818: 0x01007ffeefbff838 0x0000000000000004
0x00007ffeefbff828: 0x000000000000001f 0x00007fff20483c9e
0x00007ffeefbff838: 0x0b01dfacedebac1e 0x0000000000000001
0x00007ffeefbff848: 0x0000000004035e31 <runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8
0x00007ffeefbff858: 0x00000000057a017f 0x00007ffeefbff8a0
0x00007ffeefbff868: 0x00000000040360e8
<runtime.fatalthrow.func1+0x0000000000000048> 0x0000000006c32820
0x00007ffeefbff878: 0x0000000000000001 0x0000000000000001
0x00007ffeefbff888: 0x00007ffeefbff8e8 0x0000000004035e31
<runtime.throw+0x0000000000000071>
0x00007ffeefbff898: 0x0000000006c32820 0x00007ffeefbff8d8
0x00007ffeefbff8a8: 0x0000000004036070
<runtime.fatalthrow+0x0000000000000050> 0x00007ffeefbff8b8
0x00007ffeefbff8b8: 0x00000000040360a0
<runtime.fatalthrow.func1+0x0000000000000000> 0x0000000006c32820
0x00007ffeefbff8c8: 0x0000000004035e31 <runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8
0x00007ffeefbff8d8: 0x00007ffeefbff908 0x0000000004035e31
<runtime.throw+0x0000000000000071>
0x00007ffeefbff8e8: 0x00007ffeefbff8f0 0x0000000004035e60
<runtime.throw.func1+0x0000000000000000>
0x00007ffeefbff8f8: 0x00000000057b6c97 0x000000000000002a
0x00007ffeefbff908: 0x00007ffeefbff958 0x000000000404cad6
<runtime.sigpanic+0x0000000000000396>
0x00007ffeefbff918: <0x00000000057b6c97 0x0000000006c32820
0x00007ffeefbff928: 0x00007ffeefbff998 0x00000000040271a6
<runtime.(*mheap).allocSpan+0x0000000000000546>
0x00007ffeefbff938: 0x0000000006c4c688 0x0000000000000007
0x00007ffeefbff948: 0x000000c0008df830 0x0000000000000000
0x00007ffeefbff958: 0x00007ffeefbff9a0 !0x00007fff20483c9e
0x00007ffeefbff968: >0x00007ffeefbff9a0 0x00000000069b0000
0x00007ffeefbff978: 0x00000000000004a0 0x0000000004d18765
<k8s.io/kubernetes/vendor/golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x00007ffeefbff988: 0x000000000406a67f
<runtime.syscall+0x000000000000001f> 0x000000c0008dfa98
0x00007ffeefbff998: 0x0000000004069fec
<runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0008dfa68
0x00007ffeefbff9a8: 0x00000000040684d0
<runtime.asmcgocall+0x0000000000000070> 0x0000000000000001
0x00007ffeefbff9b8: 0x0000000004003400
<runtime.f64hash+0x00000000000000a0> 0x3400000000001018
0x00007ffeefbff9c8: 0x0000000000000000 0x0000000006c67998
0x00007ffeefbff9d8: 0x00000000000005c0 0x000000c0000001a0
0x00007ffeefbff9e8: 0x00000000040665e9
<runtime.systemstack+0x0000000000000049> 0x0000000000000004
0x00007ffeefbff9f8: 0x00000000059dca08 0x0000000006c32820
0x00007ffeefbffa08: 0x00007ffeefbffa50 0x00000000040664e5
<runtime.mstart+0x0000000000000005>
0x00007ffeefbffa18: 0x000000000406649d
<runtime.rt0_go+0x000000000000013d>
runtime.sigpanic()
/opt/local/lib/go/src/runtime/signal_unix.go:719 +0x396
goroutine 1 [syscall]:
syscall.syscall(0x4d18760, 0x2, 0x40487413, 0xc0001bae60)
/opt/local/lib/go/src/runtime/sys_darwin.go:22 +0x3b
fp=0xc0008dfa98 sp=0xc0008dfa78 pc=0x406509b
syscall.syscall(0x400e0c7, 0x48, 0x5693960, 0x1)
<autogenerated>:1 +0x26 fp=0xc0008dfae0 sp=0xc0008dfa98
pc=0x406ae46
k8s.io/kubernetes/vendor/golang.org/x/sys/unix.ioctl(0x0, 0x0, 0x0)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:690
+0x39 fp=0xc0008dfb10 sp=0xc0008dfae0 pc=0x4d18239
k8s.io/kubernetes/vendor/golang.org/x/sys/unix.IoctlGetTermios(...)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/golang.org/x/sys/unix/ioctl.go:73
k8s.io/kubernetes/vendor/github.com/moby/term.tcget(0xc0008dfad8)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/moby/term/tc.go:10
+0x3c fp=0xc0008dfb48 sp=0xc0008dfb10 pc=0x50fb1dc
k8s.io/kubernetes/vendor/github.com/moby/term.IsTerminal(...)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/moby/term/term.go:53
k8s.io/kubernetes/vendor/github.com/moby/term.GetFdInfo({0x5732720,
0xc000198010})
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/moby/term/term.go:46
+0x6f fp=0xc0008dfb70 sp=0xc0008dfb48 pc=0x50fb2cf
k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/term.IsTerminal(...)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/term/term.go:70
k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/term.AllowsColorOutput({0x59e8ba0,
0xc000198010})
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/term/term.go:77
+0x30 fp=0xc0008dfb90 sp=0xc0008dfb70 pc=0x51103b0
k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd.NewKubectlCommand({0x59e8b80,
0xc000198000}, {0x59e8ba0, 0xc000198008}, {0x59e8ba0, 0xc000198010})
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/cmd.go:473
+0x6c fp=0xc0008dfe58 sp=0xc0008dfb90 pc=0x534074c
k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd.NewDefaultKubectlCommandWithArgs({0x5a0e2f0,
0xc00042a888}, {0xc000182180, 0x3, 0x3}, {0x59e8b80, 0xc000198000},
{0x59e8ba0, 0xc000198008}, {0x59e8ba0, ...})
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/cmd.go:344
+0x7e fp=0xc0008dfed0 sp=0xc0008dfe58 pc=0x533fdde
k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd.NewDefaultKubectlCommand(...)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/cmd.go:339
main.main()
_output/local/go/src/k8s.io/kubernetes/cmd/kubectl/kubectl.go:38
+0x178 fp=0xc0008dff80 sp=0xc0008dfed0 pc=0x537a278
runtime.main()
/opt/local/lib/go/src/runtime/proc.go:255 +0x227 fp=0xc0008dffe0
sp=0xc0008dff80 pc=0x4038787
runtime.goexit()
/opt/local/lib/go/src/runtime/asm_amd64.s:1581 +0x1
fp=0xc0008dffe8 sp=0xc0008dffe0 pc=0x40687c1
goroutine 35 [chan receive]:
k8s.io/kubernetes/vendor/k8s.io/klog/v2.(*loggingT).flushDaemon(0x0)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:1164
+0x6a
created by k8s.io/kubernetes/vendor/k8s.io/klog/v2.init.0
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/work/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:418
+0xfb
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.21/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63503>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list