Re: ports.tar corrupt?

2022-10-16 Thread Dave Horsfall
On Mon, 17 Oct 2022, raf via macports-users wrote:

[...]

> I get the same messages on macos-10.6.8 when doing "port selfupdate && 
> port upgrade outdated and not MacVim" and I say yes to reclaiming. But 
> if I say no, and reclaim separately, it's fine.

Aha...  I've always answered "Y", so I'll give that way a go.

> It doesn't happen for me on macos-10.14.6.

Unfortunately I'm stuck on 10.13.6...

-- Dave


Re: ports.tar corrupt?

2022-10-16 Thread raf via macports-users
On Mon, Oct 17, 2022 at 11:27:39AM +1100, Joshua Root  wrote:

> Dave Horsfall wrote:
> 
> > I don't know what it is with MacPorts and me, but here's the latest
> > problem; when doing my weekly "port upgrade outdated" I get:
> > 
> >  Warning: Port cairo not found:
> >  Warning: It looks like your PortIndex file 
> > forrsync://rsync.macports.org/macports/release/tarballs/ports.tar  may be 
> > corrupt.
> > 
> > Etc.
> > 
> > How do I fix that?
> 
> If the PortIndex is truly corrupt, a selfupdate or sync should set it right.
> But I think this might be a previously discussed issue where a scheduled
> reclaim run can happen when exiting after syncing the ports tree, without
> reloading the index. I'm not sure if a ticket was ever filed. If that's the
> case, you don't need to do anything, everything will be fine the next time
> you run port (because it loads the index anew when it starts).
> 
> - Josh

I get the same messages on macos-10.6.8 when doing
"port selfupdate && port upgrade outdated and not MacVim"
and I say yes to reclaiming. But if I say no, and reclaim
separately, it's fine.

It doesn't happen for me on macos-10.14.6.

cheers,
raf



Aubio fails to install as a prerequisite for Denemo

2022-10-16 Thread Kenneth Wolcott
Hi;

  I like Lilypond.

  Thought I'd try Denemo.

  Successful at installing via MacPorts many of the prerequisites, but
fails on aubio.

  Apparently there are more than one version of python installed
during this process, but none of them are known as vanilla python.

Thanks in advance for the assistance.

Ken Wolcott

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

Waf: Leaving 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'
Build failed
 -> task in 'create_tests_source' failed with exit status 127:
{task 4323263768: create_tests_source create_tests_source.py ->
44100Hz_44100f_sine441_stereo.wav}
' python ../tests/create_tests_source.py
tests/44100Hz_44100f_sine441_stereo.wav '
Command failed:  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
Exit code: 1
Error: Failed to build aubio: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_aubio/aubio/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you
believe there is a bug.
Error: Processing of port denemo failed


Re: ports.tar corrupt?

2022-10-16 Thread Joshua Root

Dave Horsfall wrote:


I don't know what it is with MacPorts and me, but here's the latest
problem; when doing my weekly "port upgrade outdated" I get:

 Warning: Port cairo not found:
 Warning: It looks like your PortIndex file 
forrsync://rsync.macports.org/macports/release/tarballs/ports.tar  may be 
corrupt.

Etc.

How do I fix that?


If the PortIndex is truly corrupt, a selfupdate or sync should set it 
right. But I think this might be a previously discussed issue where a 
scheduled reclaim run can happen when exiting after syncing the ports 
tree, without reloading the index. I'm not sure if a ticket was ever 
filed. If that's the case, you don't need to do anything, everything 
will be fine the next time you run port (because it loads the index anew 
when it starts).


- Josh



ports.tar corrupt?

2022-10-16 Thread Dave Horsfall
I don't know what it is with MacPorts and me, but here's the latest 
problem; when doing my weekly "port upgrade outdated" I get:

Warning: Port cairo not found: 
Warning: It looks like your PortIndex file for 
rsync://rsync.macports.org/macports/release/tarballs/ports.tar may be corrupt.

Etc.

How do I fix that?

Thanks.

-- Dave