Re: Big Sur on an M1 - any ideas?

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
On 2/19/2021 2:29 PM, Debbie Fligor wrote:
> Hi,
>
> I joined this mailing list (and the fink-users list) after finding a thread about getting fink working on big sur in general, and there was also a discussion about getting it working on an M1. I’m running into the same problem the other poster had, and I didn’t see any follow up. It’s a brand new install, and I’m fine trying pretty much anything, as I’d rather not switch over to using homebrew. Usually I don’t have any problem keeping fink running, although I don’t have any 10.15 systems setup, just 10.14 and earlier.
>
> I’m posting here, since it’s where the other thread on the M1 was, but I’m happy to take this to a different place, if that’s better. Thanks in advance for any pointers.
>
> I haven’t updated with the latest patches to BigSur, but I can bump patching up in the schedule that if that helps.
>
> admin@yfandes-wired ~ % uname -a
> Darwin yfandes-wired.dfjk.org 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64
>
>
> Here’s how far I get:
>
> admin@yfandes-wired src % git clone git://github.com/TheSin-/fink.git
> Cloning into 'fink'...
> remote: Enumerating objects: 259, done.
> remote: Counting objects: 100% (259/259), done.
> remote: Compressing objects: 100% (162/162), done.
> remote: Total 33301 (delta 136), reused 185 (delta 96), pack-reused 33042
> Receiving objects: 100% (33301/33301), 10.71 MiB | 2.45 MiB/s, done.
> Resolving deltas: 100% (21985/21985), done.
> admin@yfandes-wired src % cd fink
> admin@yfandes-wired fink % git checkout -b dpkg1.16 origin/dpkg1.16
> Branch 'dpkg1.16' set up to track remote branch 'dpkg1.16' from 'origin'.
> Switched to a new branch 'dpkg1.16'
> admin@yfandes-wired fink % cat REVISION
> 10.9: 81
> 10.10: 91
> 10.11: 101
> 10.12: 111
> 10.13: 121
> 10.14: 131
> 10.14.5: 141
> 10.15: 151
> 11.0: 161
> admin@yfandes-wired fink % ./bootstrap
>
> Fink must be installed and run with superuser (root) privileges. Fink can automatically try to become root when it's run from a user account.
> Since you're currently running this script as a normal user, the method you choose will also be used immediately for this script. Available
> methods:
>
> (1)	Use sudo
> (2)	Use su
> (3)	None, fink must be run as root
>
> Choose a method: [1]
>
> Checking package... looks good (fink-0.45.99.git).
> Checking system... arm-apple-darwin20.2.0
> Use of uninitialized value $gcc in regexp compilation at /Users/admin/src/fink/perlmod/Fink/Services.pm line 1343.
> Use of uninitialized value $gcc in concatenation (.) or string at /Users/admin/src/fink/perlmod/Fink/Bootstrap.pm line 164.
> This system is unrecognized and not supported by Fink.
> admin@yfandes-wired fink %

Fink's bootstrap is set up to be conservative, so arm-apple-darwin20.x 
needs to be added to the the allowed list. $gcc is uninitialized because 
of that failure. fink/perlmod/Fink/Bootstrap.pm is the place where this 
happens, so you might try editing to experiment.   I don't recall for 
sure if that suffices to set the architecture for everything, or if 
there are other code adjustments that need to be made, however.

Unfortunately, nobody on the development team has an M1.  I'd like a new 
computer, true, but that's not really in my budget.

We appreciate any help that our user community is able to provide.

--akh



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.