ventura -> too eager. xcode 14.1 and gcc12

2022-10-27 Thread Garry Jolley-Rogers

Hi,
 I pulled the trigger too early on Ventura. too eager, I guess. And hit 
some roadblocks.


Notably, xcode 14.1 hasn't been released. And a few errors. I tried 
downloading a 14.1rc but still no joy particularly for gcc12 and co.


I expect I just need to wait. Any suggestions welcome.

G



~
Garry Jolley-Rogers
w: http://about.me/garry.jolleyrogers
e: ga...@jolley-rogers.id.au 
Mobile/cell phone: + 61 (0) 415 113101
Home: + 61 (0) 2 6161 4632
Skype garryjolley-rogers
~


<>

Re: Aubio fails to install as a prerequisite for Denemo

2022-10-27 Thread Kenneth Wolcott
Thank you for reminding me to use port select.

On Thu, Oct 27, 2022 at 4:31 PM Ryan Schmidt  wrote:
>
> On Oct 27, 2022, at 12:01, Kenneth Wolcott wrote:
> >
> > I added a symlink:
> >
> > sudo ln -s /opt/local/bin/python3.10 /opt/local/bin/python
> >
> >  The aubio app now installs successfully.
>
> Great, I'm glad that worked. That confirms that the port has a bug that needs 
> to be fixed. Ports must not require users to do such things to build.
>
> FYI, you can use `sudo port select python` to manage that symlink for you.
>


Re: Catelina xcode

2022-10-27 Thread Ryan Schmidt
On Oct 11, 2022, at 22:46, James Linder wrote:

> My wife’s machine is Catelina (and Ends at Big Sur). It has, and I/She uses 
> lots of ports and IIRC we have used Qt before, but when I try to build 
> something I get the XCode license dialog. No worries, accept. "Something is 
> wrong see the log”
> The something wrong turn out to be Certificate Expired.
> After spelunking I got an Xcode for catelina. Install. "Something is wrong 
> see the log” Again Certificate Expired.
> 
> OK I’m starting to fumble. Setting her date back for a build is like a lead 
> balloon.
> A VM with no internet sccess ?
> 
> Any body able to guide me please?

Can you show the exact error message from the log?

You shouldn't have any trouble installing a compatible version of Xcode on 
Catalina, or for that matter on any other OS version, and you shouldn't need to 
change your computer's date.

The list of compatible Xcode versions for Catalina is at:

https://trac.macports.org/wiki/XcodeVersionInfo#macOS10.15

Don't forget to install the matching version of the Xcode command line tools.

Re: Aubio fails to install as a prerequisite for Denemo

2022-10-27 Thread Ryan Schmidt
On Oct 27, 2022, at 12:01, Kenneth Wolcott wrote:
> 
> I added a symlink:
> 
> sudo ln -s /opt/local/bin/python3.10 /opt/local/bin/python
> 
>  The aubio app now installs successfully.

Great, I'm glad that worked. That confirms that the port has a bug that needs 
to be fixed. Ports must not require users to do such things to build.

FYI, you can use `sudo port select python` to manage that symlink for you.



Re: MacPorts for Ventura expects Xcode 14.1

2022-10-27 Thread Clemens Lang
On Thu, Oct 27, 2022 at 02:58:36PM -0400, Murray Eisenberg wrote:
> Is the advisable solution to go ahead and install Xcode 14.1 RC2 along
> with the corresponding Command Line tools (from developer.apple.com)?

Yes.


HTH,
Clemens


MacPorts for Ventura expects Xcode 14.1

2022-10-27 Thread Murray Eisenberg
I’m following normal MacPorts migration procedure after upgrading macOS from 
Monterey to Ventura (13.0). 

At the step of running the restore_ports.tcl script, I get errors:

"The installed version of Xcode (14.0.1) is too old to use on the 
installed OS version. Version 14.1 or later is recommended on macOS 13.”

This is a surprising stumbling block, since Xcode 14.0.1 is the current 
released version; 14.1 is still only a release candidate (at this moment RC2).

Is the advisable solution to go ahead and install Xcode 14.1 RC2 along with the 
corresponding Command Line tools (from developer.apple.com)?

---
Murray Eisenbergmurrayeisenb...@gmail.com





Re: Aubio fails to install as a prerequisite for Denemo

2022-10-27 Thread Kenneth Wolcott
Hi Ryan;

  I haven't filed a bug report yet because I decided to update to
MacOS Ventura and then re-installed MacPorts.

  Meanwhile:

I added a symlink:

sudo ln -s /opt/local/bin/python3.10 /opt/local/bin/python

  The aubio app now installs successfully.

  This was after updating MacOS to Ventura and a complete reinstall of
MacPorts (actually several times :-) )

  But the install of denemo fails on a different prerequisite (some qt
thing, don't remember right now, some problem with the SDK in
xtools?).

  So I will punt for now with regards to denemo.

  I don't think I want to file the bug report just yet because the
situation has changed and I don't have the time to reproduce this
carefully/properly.

  Perhaps I will have time to do that in the near future.

Thanks,
Ken



On Mon, Oct 17, 2022 at 6:30 AM Ryan Schmidt  wrote:
>
> On Oct 16, 2022, at 20:28, Kenneth Wolcott wrote:
>
> > --->  Building aubio
> > Executing:  cd 
> > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_aubio/aubio/work/aubio-0.4.9"
> > && /opt/local/bin/python2.7 ./waf build --verbose
> > Waf: Entering directory
> > `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_aubio/aubio/work/aubio-0.4.9/build'
> > Sphinx manual: install aubio first
> > [176/231] Compiling tests/create_tests_source.py
> > 17:58:12 runner ' python ../tests/create_tests_source.py
> > tests/44100Hz_44100f_sine441_stereo.wav '
> > /bin/sh: python: command not found
>
> Please file a bug report in the issue tracker.
>
>


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