Error installing Kampose

James McManus jmpmcmanus at gmail.com
Sat Oct 29 12:26:56 UTC 2022


Ranga,

Thanks! I'll give it a try.

Jim

On Fri, Oct 28, 2022 at 6:15 PM Sriranga Veeraraghavan <
sriranga at 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 <jmpmcmanus at gmail.com> 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 <tramir at hotmail.com>
> 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 <jmpmcmanus at gmail.com> 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 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/20221029/786212c2/attachment.htm>


More information about the macports-users mailing list