Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Peter Serocka
> On Apr 14, 2022, at 08:31, Ryan Schmidt wrote: > > On Apr 13, 2022, at 03:32, Peter Serocka wrote: > >> FWIW, I have found it useful to install MacPorts under a new prefix >> with every MacOS/Darwin release (like /opt/macports##). > > By doing that you'll miss out on being able to receive

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Ryan Schmidt
On Apr 14, 2022, at 04:34, Peter Serocka wrote: > Sure. On the other hand -- let me suggest MacPorts to adopt > OS/architecture-specific prefixes by default. Transitions will benefit, in > particular in cases where "some" ports are troublesome. I don't think there's any chance of that happening

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Richard L. Hamilton
Would use of @loader_path as in @loader_path/../lib or whatever when linking binaries (and something similar for linking between libraries within MacPorts) not be a big part of making it so the executables and libraries didn't embed where the tree lived? There would doubtless be other changes t

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Peter Serocka
> On Apr 14, 2022, at 11:48, Ryan Schmidt wrote: > > On Apr 14, 2022, at 04:34, Peter Serocka wrote: > >> Sure. On the other hand -- let me suggest MacPorts to adopt >> OS/architecture-specific prefixes by default. Transitions will benefit, in >> particular in cases where "some" ports are t

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Peter Serocka
app bundles produced by Xcode are much more "controlled" than usual packages that use all kinds of build/make tools... It is virtually impossible to impose the use of @loader_path from the "top" level where MacPorts is operating... > On Apr 14, 2022, at 11:57, Richard L. Hamilton wrote: > > Wo

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread chilli.names...@gmail.com
> On Apr 14, 2022, at 06:45, Peter Serocka wrote: > >  > >> On Apr 14, 2022, at 11:48, Ryan Schmidt wrote: >> >>> On Apr 14, 2022, at 04:34, Peter Serocka wrote: >>> >>> Sure. On the other hand -- let me suggest MacPorts to adopt >>> OS/architecture-specific prefixes by default. Transitio

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Peter Serocka
> On Apr 14, 2022, at 13:08, chilli.names...@gmail.com wrote: > > > > > I don't get it. What is stopping MacPorts users that don't use custom > prefixes from using network drives? A custom prefix and hierarchy will not > isolate anything. A package manager isn't much of a package manager i

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread chilli.names...@gmail.com
> On Apr 14, 2022, at 07:54, Peter Serocka wrote: > >  > >> On Apr 14, 2022, at 13:08, chilli.names...@gmail.com wrote: >> >> >> >> >> I don't get it. What is stopping MacPorts users that don't use custom >> prefixes from using network drives? A custom prefix and hierarchy will not >> i

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Peter Serocka
> On Apr 14, 2022, at 14:10, chilli.names...@gmail.com wrote: > > > > Thinking more about upgrading, maybe there's an Xcode version issue? MacPorts > requires Xcode's command line tools. Though a newer version of macOS can run > older and outdated versions of Xcode, after upgrading the OS,

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Daniel J. Luke
On Apr 14, 2022, at 2:56 PM, Peter Serocka wrote: >> On Apr 14, 2022, at 14:10, chilli.names...@gmail.com wrote: > Xcode version mismatch issues do exist in some situations, and I have been > dealing with those; but my point here is that the port command itself refuses > to do any further work a

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread chilli.names...@gmail.com
> On Apr 14, 2022, at 14:56, Peter Serocka wrote: > >  > >> On Apr 14, 2022, at 14:10, chilli.names...@gmail.com wrote: >> >> >> >> Thinking more about upgrading, maybe there's an Xcode version issue? >> MacPorts requires Xcode's command line tools. Though a newer version of >> macOS ca

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Ryan Schmidt
> On Apr 14, 2022, at 15:24, chilli.names...@gmail.com wrote: > >> Error: Current platform "darwin 19" does not match expected platform "darwin >> 18" >> Error: If you upgraded your OS, please follow the migration instructions: >> https://trac.macports.org/wiki/Migration >> OS platform mismat

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Ryan Schmidt
On Apr 14, 2022, at 14:34, Daniel J. Luke wrote: > On Apr 14, 2022, at 2:56 PM, Peter Serocka wrote: > >> Error: Current platform "darwin 19" does not match expected platform "darwin >> 18" >> Error: If you upgraded your OS, please follow the migration instructions: >> https://trac.macports.org

Re: Building software to be relocatable (was: Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?)

2022-04-14 Thread Ryan Schmidt
On Apr 14, 2022, at 04:57, Richard L. Hamilton wrote: > Would use of @loader_path as in @loader_path/../lib or whatever when linking > binaries (and something similar for linking between libraries within > MacPorts) not be a big part of making it so the executables and libraries > didn't embed

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Jim DeLaHunt
On 2022-04-11 19:10, Jim DeLaHunt wrote: Hello, MacPorts folks: I am following the MacPorts wiki "Migration"[1] instructions as I move from a macOS 10.14.6 Mojave machine with an intel CPU to a macOS 13.1 Monterey machine with an arm64 CPU.… Ahem. The new machine is of course macOS 12.3.1 M

Re: During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

2022-04-14 Thread Dave Horsfall
On Thu, 14 Apr 2022, Daniel J. Luke wrote: [...] > > Which prevents further upgrades or installs in the existing tree. > > ... until you follow the instructions. > > Once you do step 2, the port command works again (and you should follow > the rest of the instructions, but if you're prepared t