Error installing Kampose

Lenore Horner lenorehorner at sbcglobal.net
Thu Oct 27 13:07:53 UTC 2022


Did you follow the migration instructions or just upgrade the OS and then reinstall MacPorts?

> On Oct 27, 2022, at 08:56, James McManus <jmpmcmanus at gmail.com> wrote:
> 
> 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:
> 
>  sudo port upgrade outdated
> 
> When I tried to install Kompose using this command:
> 
> sudo port install kompose
> 
> I got the following error:
> 
> Error: Failed to build kompose: command execution failed 
> 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.
> Error: Follow https://guide.macports.org/#project.tickets <https://guide.macports.org/#project.tickets> if you believe there is a bug.
> Error: Processing of port kompose failed
> 
> Looking at the log file the following errors occurred:
> 
> :info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/github.com/kubernetes/kompose <http://github.com/kubernetes/kompose>" && make -j8 -w bin
> :debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/github.com/kubernetes/kompose <http://github.com/kubernetes/kompose>" && make -j8 -w bin
> :info:build fatal: not a git repository (or any of the parent directories): .git
> :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/github.com/kubernetes/kompose <http://github.com/kubernetes/kompose>'
> :info:build CGO_ENABLED=0 GO111MODULE=on go build  -ldflags="-w -s -X github.com/kubernetes/kompose/pkg/version.GITCOMMIT= <http://github.com/kubernetes/kompose/pkg/version.GITCOMMIT=>" -o kompose main.go
> :info:build # golang.org/x/sys/unix <http://golang.org/x/sys/unix>
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/syscall_darwin.1_13.go:29:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/syscall_darwin.1_13.go:29:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:27:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:27:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:40:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.1_13.go:40:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:28:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:28:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:43:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:43:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:59:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:59:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:75:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:75:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:90:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:90:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:105:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:105:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3>: //go:linkname must refer to declared function or variable
> :info:build ../../../../pkg/mod/golang.org/x/sys at v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3 <http://golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3>: too many errors
> :info:build make: *** [bin] Error 2
> :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/github.com/kubernetes/kompose <http://github.com/kubernetes/kompose>'
> :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kompose/kompose/work/gopath/src/github.com/kubernetes/kompose <http://github.com/kubernetes/kompose>" && make -j8 -w bin
> :info:build Exit code: 2
> :error:build Failed to build kompose: command execution failed
> :debug:build Error code: CHILDSTATUS 4875 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :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.
> 
> Jim
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221027/078e2104/attachment.htm>


More information about the macports-users mailing list