Re: force rebuild a port

2024-04-06 Thread Riccardo Mottola via macports-users
Hi Ryan, Ryan Schmidt wrote: As others explained, because you're getting a pre-compiled binary from our servers. This is probably what you want if you suspect something has corrupted your local installation and you want to reinstall. Thank you guys, I didn't think of binary packages, since

Re: force rebuild a port

2024-04-05 Thread Ryan Schmidt
On Apr 5, 2024, at 12:35, Riccardo Mottola wrote: > > If I do > > port -n upgrade --force --no-rev-upgrade harfbuzz > > > it completes in a matter of seconds... and the ol' MacBook isn't that fast :) > > I see cleaning, uninstalling, cleaning, installing activating, cleaning... > but never

Re: force rebuild a port

2024-04-05 Thread Joshua Root
Richard L. Hamilton wrote: A URL likehttps://ports.macports.org/port/harfbuzz/builds/ in your browser (but put in the port name you want in place of harfbuzz) will show what if anything is pre-built for that port. Other views are available,

Re: force rebuild a port

2024-04-05 Thread Richard L. Hamilton
My harfbuzz (on Monterey) was outdated. So I did this: port -v upgrade harfbuzz ---> Computing dependencies for harfbuzz. ---> Fetching archive for harfbuzz ---> harfbuzz-8.4.0_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch

Re: force rebuild a port

2024-04-05 Thread Riccardo Mottola via macports-users
Hi Richard, last week I did a test and it worked, but it was not what I needed. Probably it was a port already in need to upgrade. I have a system now where all ports are up-to-date (as of "port outdated"). If I issue e.g. port -n upgrade --force --no-rev-upgrade gtk2 It takes it time to

Re: force rebuild a port

2024-03-27 Thread Richard L. Hamilton
To explain: -n prevents rebuilding ports that the ports being upgraded (works with install too I suppose, but there should be no need for that) depend on; it may cause failure if they're not already installed and up-to-date --force forces upgrading even of a port that's current; but without

Re: force rebuild a port

2024-03-27 Thread Riccardo Mottola via macports-users
Hi Richard, Richard L. Hamilton wrote: > port -n upgrade --force --no-rev-upgrade crankyport > > It might not work if crankyport needs the latest of something it depends on > and that isn't already up-to-date. But a lot of times, it does work. this is a good one.. appears to work for stubborn

Re: force rebuild a port

2024-03-07 Thread Pieter van Oostrum
Riccardo Mottola via macports-users writes: > Hi! > > suppose I want to rebuild a port, but it has no version update. > 1) e.g. rev-upgrade shows it to be rebuild but "port outdated" doesn't > show it. > 2) Or I want to rebuild it with a different compiler. > > How can I do? "port upgrade X"

Re: force rebuild a port

2024-03-06 Thread Richard L. Hamilton
How about port -n upgrade --force --no-rev-upgrade crankyport It might not work if crankyport needs the latest of something it depends on and that isn't already up-to-date. But a lot of times, it does work. > On Mar 6, 2024, at 15:14, Bill Cole > wrote: > > On 2024-03-06 at 14:19:59

Re: force rebuild a port

2024-03-06 Thread Bill Cole
On 2024-03-06 at 14:19:59 UTC-0500 (Wed, 6 Mar 2024 20:19:59 +0100) Riccardo Mottola via macports-users is rumored to have said: Hi! suppose I want to rebuild a port, but it has no version update. 1) e.g. rev-upgrade shows it to be rebuild but "port outdated" doesn't show it. 2) Or I want

force rebuild a port

2024-03-06 Thread Riccardo Mottola via macports-users
Hi! suppose I want to rebuild a port, but it has no version update. 1) e.g. rev-upgrade shows it to be rebuild but "port outdated" doesn't show it. 2) Or I want to rebuild it with a different compiler. How can I do? "port upgrade X" will do nothing because X is not outdated. "port upgrade