Re: Why some ports seem to install universal when I do not request it ?

2023-08-14 Thread Joshua Root

On 15/8/2023 05:06, Christopher Jones wrote:

Hi All,

Just migrated from an intel to AppleSilicon machine.

Reinstalling MacPOrts, from scratch off course, I’ve noticed some ports get 
install universal, when it’s not something I have requested. e.g.

--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2 
from https://packages.macports.org/zlib
--->  Attempting to fetch 
zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2.rmd160 from 
https://packages.macports.org/zlib
--->  Installing zlib @1.2.13_0+universal
--->  Cleaning zlib
--->  Deactivating zlib @1.2.13_0
--->  Cleaning zlib
--->  Activating zlib @1.2.13_0+universal

zlib has a universal port, but its not a default one, and I didn’t request it, 
nor have I ever set my default settings to always install universal.

As I am new to apple silicon machines, is this normal ?


Most likely you installed a port that supports x86_64 but not arm64. The 
behaviour is the same as as when you install a port that only supports 
i386 on an x86_64 system.


- Josh


Re: Why some ports seem to install universal when I do not request it ?

2023-08-14 Thread Sergio Had
As long as there are dependencies, it is a potentially breaking behavior.
I think libunwind was (is?) forcing universal which breaks ppc build.
On Aug 15, 2023 03:07 +0800, Christopher Jones , 
wrote:
> Hi All,
>
> Just migrated from an intel to AppleSilicon machine.
>
> Reinstalling MacPOrts, from scratch off course, I’ve noticed some ports get 
> install universal, when it’s not something I have requested. e.g.
>
> ---> Fetching archive for zlib
> ---> Attempting to fetch zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2 
> from https://packages.macports.org/zlib
> ---> Attempting to fetch 
> zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2.rmd160 from 
> https://packages.macports.org/zlib
> ---> Installing zlib @1.2.13_0+universal
> ---> Cleaning zlib
> ---> Deactivating zlib @1.2.13_0
> ---> Cleaning zlib
> ---> Activating zlib @1.2.13_0+universal
>
> zlib has a universal port, but its not a default one, and I didn’t request 
> it, nor have I ever set my default settings to always install universal.
>
> As I am new to apple silicon machines, is this normal ?
>
> cheers Chris


Why some ports seem to install universal when I do not request it ?

2023-08-14 Thread Christopher Jones
Hi All,

Just migrated from an intel to AppleSilicon machine.

Reinstalling MacPOrts, from scratch off course, I’ve noticed some ports get 
install universal, when it’s not something I have requested. e.g.

--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2 
from https://packages.macports.org/zlib
--->  Attempting to fetch 
zlib-1.2.13_0+universal.darwin_22.arm64-x86_64.tbz2.rmd160 from 
https://packages.macports.org/zlib
--->  Installing zlib @1.2.13_0+universal
--->  Cleaning zlib
--->  Deactivating zlib @1.2.13_0
--->  Cleaning zlib
--->  Activating zlib @1.2.13_0+universal

zlib has a universal port, but its not a default one, and I didn’t request it, 
nor have I ever set my default settings to always install universal.

As I am new to apple silicon machines, is this normal ?

cheers Chris