Error installing Kampose

James McManus jmpmcmanus at gmail.com
Fri Oct 28 17:23:44 UTC 2022


I followed the instructions at: https://trac.macports.org/wiki/Migration
and did the migration. I've been able to use macPorts to install ports such
as wget and ffmpeg, which were not previously installed on my mac, so it
looks like macPorts is working.

However, I am still not able to install Kompose. I'm still getting the not
a git repository error message:

: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" && 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" && 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'


The directory path listed above does exist.


The I'm also getting a build error:


:info:build ../../../../pkg/mod/
golang.org/x/sys at 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'

: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" && make -j8 -w bin

:info:build Exit code: 2

:error:build Failed to build kompose: command execution failed

:debug:build Error code: CHILDSTATUS 13579 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"


Jim

On Thu, Oct 27, 2022 at 1:23 PM Chris Jones <jonesc at hep.phy.cam.ac.uk>
wrote:

>
>
> On 27 Oct 2022, at 4:45 pm, James McManus <jmpmcmanus at gmail.com> wrote:
>
> 
> I just upgraded the OS and then reinstall MacPorts.
>
>
> So you did not remove all your ports and reinstall them, as per the
> migration instructions ?
>
>  https://trac.macports.org/wiki/Migration
>
> If not, please follow those instructions correctly, to see if it address
> your issues. If not report back.
>
> Chris
>
>
> On Thu, Oct 27, 2022 at 9:28 AM Lenore Horner <lenorehorner at sbcglobal.net>
> wrote:
>
>> 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 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" && 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" && 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'
>> :info:build CGO_ENABLED=0 GO111MODULE=on go build  -ldflags="-w -s -X
>> github.com/kubernetes/kompose/pkg/version.GITCOMMIT=" -o kompose main.go
>> :info:build # 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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> //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:
>> 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'
>>
>> :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" && 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/20221028/9a45251b/attachment.htm>


More information about the macports-users mailing list