Re: Error installing Kampose

2022-11-04 Thread Ryan Schmidt
On Oct 28, 2022, at 12:23, James McManus wrote:

> 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.

But presumably the directory is not a git repository. And that may be fine. I 
would ignore this "fatal" error and look for the next error after this.


> The I'm also getting a build error:
> 
> :info:build 
> ../../../../pkg/mod/golang.org/x/sys@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3:
>  too many errors

The relevant error will be before this line, possibly significantly before. 
Usually the relevant error is the first error in the extract or patch or 
configure or build or destroot phase, except that in this case I think you can 
ignore the message about not being a git repository since, if that were 
required, the port would have been programmed to accomplish that.


On Oct 28, 2022, at 16:25, James McManus wrote:

> The first errors in the log 404 errors:
> 
> :msg:archivefetch --->  Fetching archive for kompose
> :debug:archivefetch Executing org.macports.archivefetch (kompose)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 503/501
> :info:archivefetch --->  kompose-1.24.0_0.darwin_22.x86_64.tbz2 doesn't seem 
> to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch 
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from 
> https://packages.macports.org/kompose
> :debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404

You can ignore archive fetch failures. They indicate that a pre-compiled 
archive was not found. No problem; it will be compiled from source on your 
system. We have not created any pre-compiled archives for macOS Ventura yet.


As you can see it's not always straightforward to determine what the relevant 
error is, so I recommend when you encounter a port that doesn't install you 
just file a bug report in our issue tracker and attach the log, and someone 
else can look at the log and determine what the problem is.




Re: Error installing Kampose

2022-10-29 Thread James McManus
Ranga,

Thanks! I'll give it a try.

Jim

On Fri, Oct 28, 2022 at 6:15 PM Sriranga Veeraraghavan <
srira...@berkeley.edu> wrote:

> Hi James,
>
> I think the problem you are having is that a Ventura package for kompose
> has been built yet.  The packages available for kompose look like they
> range from Darwin 10 (MacOSX 10.6 Snow Leopard, I believe) through Darwin
> 21 (Monterey).
>
> I'm not sure when a Ventura package might be built, but you could try to
> build one locally:
>
> sudo port clean kompose
> sudo port -d build kompose
>
> If kompose builds, then you can try an install, which should install your
> locally build kompose instead of trying to fetch it from the server:
>
> sudo port install kompose
>
> I tried this on my M1 Mac, but it doesn't work because of some issue with
> go and kompose being x86_64 (intel) only.  I don't know enough about either
> to track it down further.
>
> Best,
>
> -ranga
>
> On Oct 28, 2022, at 14:25, James McManus  wrote:
>
> I had not tried that, but I just did, and am still getting the error
> message.
>
> The first errors in the log 404 errors:
>
> :msg:archivefetch --->  Fetching archive for kompose
> :debug:archivefetch Executing org.macports.archivefetch (kompose)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 503/501
> :info:archivefetch --->  kompose-1.24.0_0.darwin_22.x86_64.tbz2 doesn't
> seem to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
> https://packages.macports.org/kompose
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/kompose
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
> https://mse.uk.packages.macports.org/kompose
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
>
> I did use sudo when running the command.
>
> Thanks
> Jim
>
> On Fri, Oct 28, 2022 at 4:17 PM Mircea Trandafir 
> wrote:
>
>> 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
>>
>> On Oct 28, 2022, at 7:23 PM, James McManus  wrote:
>>
>> 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@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 

Re: Error installing Kampose

2022-10-28 Thread Sriranga Veeraraghavan
Hi James, 

I think the problem you are having is that a Ventura package for kompose has 
been built yet.  The packages available for kompose look like they range from 
Darwin 10 (MacOSX 10.6 Snow Leopard, I believe) through Darwin 21 (Monterey).

I'm not sure when a Ventura package might be built, but you could try to build 
one locally:

sudo port clean kompose
sudo port -d build kompose

If kompose builds, then you can try an install, which should install your 
locally build kompose instead of trying to fetch it from the server:

sudo port install kompose

I tried this on my M1 Mac, but it doesn't work because of some issue with go 
and kompose being x86_64 (intel) only.  I don't know enough about either to 
track it down further.

Best,

-ranga

> On Oct 28, 2022, at 14:25, James McManus  wrote:
> 
> I had not tried that, but I just did, and am still getting the error message.
> 
> The first errors in the log 404 errors:
> 
> :msg:archivefetch --->  Fetching archive for kompose
> :debug:archivefetch Executing org.macports.archivefetch (kompose)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 503/501
> :info:archivefetch --->  kompose-1.24.0_0.darwin_22.x86_64.tbz2 doesn't seem 
> to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch 
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from 
> https://packages.macports.org/kompose 
> :debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> :msg:archivefetch --->  Attempting to fetch 
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from 
> https://ywg.ca.packages.macports.org/mirror/macports/packages/kompose 
> 
> :debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> :msg:archivefetch --->  Attempting to fetch 
> kompose-1.24.0_0.darwin_22.x86_64.tbz2 from 
> https://mse.uk.packages.macports.org/kompose 
> 
> :debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> :debug:archivefetch Privilege de-escalation not attempted as not running as 
> root.
> 
> I did use sudo when running the command.
> 
> Thanks
> Jim
> 
> On Fri, Oct 28, 2022 at 4:17 PM Mircea Trandafir  > wrote:
> 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 
> 
>> On Oct 28, 2022, at 7:23 PM, James McManus > > wrote:
>> 
>> 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@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
>>  

Re: Error installing Kampose

2022-10-28 Thread James McManus
I had not tried that, but I just did, and am still getting the error
message.

The first errors in the log 404 errors:

:msg:archivefetch --->  Fetching archive for kompose

:debug:archivefetch Executing org.macports.archivefetch (kompose)

:debug:archivefetch euid/egid changed to: 0/0

:debug:archivefetch chowned /opt/local/var/macports/incoming to macports

:debug:archivefetch euid/egid changed to: 503/501

:info:archivefetch --->  kompose-1.24.0_0.darwin_22.x86_64.tbz2 doesn't
seem to exist in /opt/local/var/macports/incoming/verified

:msg:archivefetch --->  Attempting to fetch
kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
https://packages.macports.org/kompose

:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404

:msg:archivefetch --->  Attempting to fetch
kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/kompose

:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404

:msg:archivefetch --->  Attempting to fetch
kompose-1.24.0_0.darwin_22.x86_64.tbz2 from
https://mse.uk.packages.macports.org/kompose

:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404

:debug:archivefetch Privilege de-escalation not attempted as not running as
root.

I did use sudo when running the command.

Thanks
Jim

On Fri, Oct 28, 2022 at 4:17 PM Mircea Trandafir  wrote:

> 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
>
> On Oct 28, 2022, at 7:23 PM, James McManus  wrote:
>
> 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@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 
> wrote:
>
>>
>>
>> On 27 Oct 2022, at 4:45 pm, James McManus  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 
>> wrote:
>>
>>> Did you follow the migration instructions or just upgrade the OS and
>>> then reinstall MacPorts?
>>>
>>> On Oct 27, 

Re: Error installing Kampose

2022-10-28 Thread Mircea Trandafir
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 

> On Oct 28, 2022, at 7:23 PM, James McManus  > wrote:
> 
> 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@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  > wrote:
> 
> 
>> On 27 Oct 2022, at 4:45 pm, James McManus > > 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 > > 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 >> > 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.

Re: Error installing Kampose

2022-10-28 Thread James McManus
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@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 
wrote:

>
>
> On 27 Oct 2022, at 4:45 pm, James McManus  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 
> 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  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/
>> 

Re: Error installing Kampose

2022-10-27 Thread James McManus
I just upgraded the OS and then reinstall MacPorts.

On Thu, Oct 27, 2022 at 9:28 AM Lenore Horner 
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  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@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@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@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@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@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@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@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@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@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@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@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  

Re: Error installing Kampose

2022-10-27 Thread Lenore Horner
Did you follow the migration instructions or just upgrade the OS and then 
reinstall MacPorts?

> On Oct 27, 2022, at 08:56, James McManus  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@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@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@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@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@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@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@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@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@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@v0.0.0-20201029080932-201ba4db2418/unix/zsyscall_darwin_amd64.go:121:3
>  
> 

Error installing Kampose

2022-10-27 Thread James McManus
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@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@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@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@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@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@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@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@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@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@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@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