Re: Unable to install xz

2022-12-09 Thread Mick
On Thu, Dec 08, 2022 at 09:29:11PM -0800, Kenneth Wolcott wrote: > Hi; > d> sudo port -v -t upgrade outdated > > Command failed: cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz/xz/work" > && /usr/bin/bzip2 -dc >

Re: Unable to install xz

2022-12-09 Thread Joshua Root
Kenneth Wolcott wrote: Killed by signal: 9 Error: Failed to extract xz: command execution failed Happens with many of the ports. What is wrong with my system? This seems to only happen on Ventura and only when using trace mode. There's a ticket open in Trac, but I don't think anyone has bee

ports not working with sudo

2022-12-09 Thread Kaustubh Bansal
Hi I recently installed MacPorts on my machine (MacOs Ventura 13.0) Installation succeeded. I then added /opt/local/bin to PATH I am trying to install clang-15. Command: $ sudo port install clang-15 Message: sudo: port: command not found Command: $ port install clang-15 Message: Error: Insuffic

Re: Unable to install xz

2022-12-09 Thread Eckard Brauer
Am Thu, 8 Dec 2022 21:29:11 -0800 schrieb Kenneth Wolcott : > Executing: cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz/xz/work" > && /usr/bin/bzip2 -dc > '/opt/local/var/macports/distfiles/xz/xz-5.2.9.tar.bz2' |

Re: ports not working with sudo

2022-12-09 Thread chilli.names...@gmail.com
Try port -v selfupdate then try to install clang-15 again? > On Dec 9, 2022, at 07:40, Kaustubh Bansal wrote: > >  > Hi > > I recently installed MacPorts on my machine (MacOs Ventura 13.0) > Installation succeeded. > I then added /opt/local/bin to PATH > > I am trying to install clang-15.

Re: ports not working with sudo

2022-12-09 Thread Kaustubh Bansal
I get following error $ port -v selfupdate Error: Insufficient privileges to write to MacPorts install prefix. On Fri, Dec 9, 2022 at 1:49 PM chilli.names...@gmail.com < chilli.names...@gmail.com> wrote: > Try > > port -v selfupdate > > then try to install clang-15 again? > > > On Dec 9, 2022, a

Re: ports not working with sudo

2022-12-09 Thread Chris Jones
selfupdate requires sudo. try sudo /opt/local/bin/port -v selfupdate On 09/12/2022 1:16 pm, Kaustubh Bansal wrote: I get following error $ port Error: Insufficient privileges to write to MacPorts install prefix. On Fri, Dec 9, 2022 at 1:49 PM chilli.names...@gmail.com

Re: ports not working with sudo

2022-12-09 Thread Eckard Brauer
Am Fri, 9 Dec 2022 14:16:57 +0100 schrieb Kaustubh Bansal : > $ port -v selfupdate > Error: Insufficient privileges to write to MacPorts install prefix. Has there happened some recent(?) change in MacOS' permission system (sorry, I'm still back on 10.6, as I have some PPC machines only)? For me,

Re: ports not working with sudo

2022-12-09 Thread chilli.names...@gmail.com
oops. sudo port -v selfupdate srry > On Dec 9, 2022, at 08:17, Kaustubh Bansal wrote: > >  > I get following error > > $ port -v selfupdate > Error: Insufficient privileges to write to MacPorts install prefix. > >> On Fri, Dec 9, 2022 at 1:49 PM chilli.names...@gmail.com >> wrote: >> Try

Re: ports not working with sudo

2022-12-09 Thread Larry Stone
How did you add /opt/local/bin to PATH? If you didn’t do it right, it won’t apply to your sudo command. If you added it to your shell profile or equivalent, you normally need to re-execute the profile or close the shell and reopen. -- Larry Stone lston...@stonejongleux.com > On Dec 9, 202

Re: Unable to install xz

2022-12-09 Thread Kenneth Wolcott
HI Josua; It fails without "-t" as well. Thanks, Ken On Fri, Dec 9, 2022 at 3:59 AM Joshua Root wrote: > > Kenneth Wolcott wrote: > > > Killed by signal: 9 > > Error: Failed to extract xz: command execution failed > > > > Happens with many of the ports. > > > > What is wrong with my system? >

Re: Unable to install xz

2022-12-09 Thread Joshua Root
If it fails in exactly the same way without trace mode, i.e. during the extract phase with the message "Killed by signal: 9", please add your terminal transcript and corresponding log to . - Josh On 2022-12-10 05:40 , Kenneth Wolcott wrote: HI Josua;

Re: Unable to install xz

2022-12-09 Thread Kenneth Wolcott
Hi Joshua; Well, I slightly mis-spoke. Using verbose without trace, xz install still fails but does not have an explicit error code. Wow, I deleted the contents of the xz work directory and tried to install again, now it works with verbose mode enabled but disabled trace mode. I'm quite c

Re: Unable to install xz

2022-12-09 Thread Joshua Root
Sounds like the failed attempt in trace mode left the work dir in a bad state which was cleared up by cleaning it. There's a reason our troubleshooting advice usually starts with 'port clean ...'. :) I guess now that it has succeeded and the logs are cleaned away, the record of exactly how it

Re: Unable to install xz

2022-12-09 Thread Kenneth Wolcott
Hi Josh; Yep, I guess so as a full "sudo port -v upgrade outdated" just successfully completed :-) Is the correct takeaway from this is not to use the trace flag with the port commands for now on MacOS Ventura? Thanks, Ken On Fri, Dec 9, 2022 at 7:46 PM Joshua Root wrote: > > Sounds like the f

Re: Unable to install xz

2022-12-09 Thread Joshua Root
On 2022-12-10 15:03 , Kenneth Wolcott wrote: Is the correct takeaway from this is not to use the trace flag with the port commands for now on MacOS Ventura? Until there's a fix for this issue, yes. - Josh