Did you clean compose before retrying?

sudo port clean kompose
sudo port install kompose

Also, the actual error is in the lines above what you sent. Could you check in 
the log where you see the *first* error message?

-- 
Mircea Trandafir
Senior researcher
Rockwool Foundation Research Unit
Ny Kongensgade 6
DK 1472, Copenhagen
Denmark
Web: http://www.mirceatrandafir.com <http://www.mirceatrandafir.com/>

> On Oct 28, 2022, at 7:23 PM, James McManus <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> I followed the instructions at: https://trac.macports.org/wiki/Migration 
> <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
>  <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>'
> 
> The directory path listed above does exist.
> 
> The I'm also getting a build error:
> 
> :info:build 
> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3
>  
> <http://golang.org/x/[email protected]/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 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 <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 
>> On 27 Oct 2022, at 4:45 pm, James McManus <[email protected] 
>> <mailto:[email protected]>> 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 
> <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 <[email protected] 
>> <mailto:[email protected]>> 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 <[email protected] 
>>> <mailto:[email protected]>> 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/[email protected]/unix/syscall_darwin.1_13.go:29:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:29:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.1_13.go:27:3
>>>  
>>> <http://golang.org/x/[email protected]/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/[email protected]/unix/zsyscall_darwin_amd64.1_13.go:40:3
>>>  
>>> <http://golang.org/x/[email protected]/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/[email protected]/unix/zsyscall_darwin_amd64.go:28:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:28:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:43:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:43:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:59:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:59:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:75:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:75:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:90:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:90:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:105:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:105:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3
>>>  
>>> <http://golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3>:
>>>  //go:linkname must refer to declared function or variable
>>> :info:build 
>>> ../../../../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3
>>>  
>>> <http://golang.org/x/[email protected]/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
>>> 
>>> 
>>> 
>> 

Reply via email to