<div dir="ltr">I'm trying to install Kampose using MacPorts on my MacBook Pro. I recently updated maxOS to Ventura. This required me to reinstall MacPorts. After installing MacPorts I also updated outdated packages using the following command:<div><br></div><div><pre class="gmail-programlisting" style="font-size:medium;background-color:rgb(230,230,230);border:thin inset black;overflow:auto;padding:2px 5px;margin:2px;color:rgb(0,0,0)"><code class="gmail-prompt"> </code><strong class="gmail-userinput"><code>sudo port upgrade outdated</code></strong></pre></div><div><br></div><div>When I tried to install Kompose using this command:</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">sudo port install kompose</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">I got the following error:</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">Error: Failed to build kompose: command execution failed<span class="gmail-Apple-converted-space"> </span></p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/main.log for details.</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">Error: Follow <a href="https://guide.macports.org/#project.tickets">https://guide.macports.org/#project.tickets</a> if you believe there is a bug.</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">
</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">Error: Processing of port kompose failed</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">Looking at the log file the following errors occurred:</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build Executing:<span class="gmail-Apple-converted-space"> </span>cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/<a href="http://github.com/kubernetes/kompose">github.com/kubernetes/kompose</a>" && make -j8 -w bin</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build system:<span class="gmail-Apple-converted-space"> </span>cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/<a href="http://github.com/kubernetes/kompose">github.com/kubernetes/kompose</a>" && make -j8 -w bin</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build fatal: not a git repository (or any of the parent directories): .git</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/<a href="http://github.com/kubernetes/kompose">github.com/kubernetes/kompose</a>'</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build CGO_ENABLED=0 GO111MODULE=on go build<span class="gmail-Apple-converted-space"> </span>-ldflags="-w -s -X <a href="http://github.com/kubernetes/kompose/pkg/version.GITCOMMIT=">github.com/kubernetes/kompose/pkg/version.GITCOMMIT=</a>" -o kompose main.go</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build # <a href="http://golang.org/x/sys/unix">golang.org/x/sys/unix</a></p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/syscall_darwin.1_13.go:29:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/syscall_darwin.1_13.go:29:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:27:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:27:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:40:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:40:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:28:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:28:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:43:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:43:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:59:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:59:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:75:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:75:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:90:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:90:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:105:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:105:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3</a>: //go:linkname must refer to declared function or variable</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build ../../../../pkg/mod/<a href="http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3">golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3</a>: too many errors</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build make: *** [bin] Error 2</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/<a href="http://github.com/kubernetes/kompose">github.com/kubernetes/kompose</a>'</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">
</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">:info:build Command failed:<span class="gmail-Apple-converted-space"> </span>cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/<a href="http://github.com/kubernetes/kompose">github.com/kubernetes/kompose</a>" && make -j8 -w bin</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:info:build Exit code: 2</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:error:build Failed to build kompose: command execution failed</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build Error code: CHILDSTATUS 4875 2</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build Backtrace: command execution failed</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build <span class="gmail-Apple-converted-space"> </span>while executing</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build <span class="gmail-Apple-converted-space"> </span>invoked from within</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build "command_exec -callback portprogress::target_progress_callback build"</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build <span class="gmail-Apple-converted-space"> </span>(procedure "portbuild::build_main" line 8)</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build <span class="gmail-Apple-converted-space"> </span>invoked from within</p><p class="gmail-p1" style="margin:0px;font:13px "Helvetica Neue"">:debug:build "$procedure $targetname"</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">
</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/main.log for details.</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">Jim</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><br></p></div><div><br></div><div><br></div></div>