Re: Error on macOS 13.6

Merle Reinhart <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Yes, that works for me and I agree it is a better fix.

However I have to ask if we always will be overriding the check is the check even useful?

Thanks!!!

Merlr

Sent from my iPad

> On Sep 22, 2023, at 6:20 AM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> External Email - Use Caution
> 
>> On 9/21/23 8:02 PM, Merle Reinhart wrote:
>> I just noticed the same thing.  I edited Services.pm and removed the -1 from line number 1535.  This fixes Apple Silicon.
>> 
>> This is likely not a good general fix (ie, I see different breakage with Intel Monterey [12.7 vs 12.5] and I don’t have an Intel machine running Ventura handy).  But, it should get you going on Apple Silicon Macs running Venture for now.
>> 
>> Merle
>> 
>> 
>> 
>>>> On Sep 21, 2023, at 7:27 PM, Sean Case <[email protected]> wrote:
>>> 
>>> External Email - Use Caution
>>> 
>>> I'm using the dpkg1.16 branch, on an M1 mini.
>>> 
>>> Just updated to macOS 13.6, and trying to do "fink selfupdate" gives:
>>> 
>>>> 13.6 does not match the expected value of 13.5. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449.
>>> 
>>> As this error occurred while doing "fink selfupdate", the suggestion to run "fink selfupdate" was not very helpful.
>>> 
>>> Looking at the specified code, it looks like there are special cases to handle 11.6/11.5 and 12.6/12.5.  I guess 13.6/13.5 could be handled similarly...
>>> 
>>> Is there a way of fixing this - ideally, without reinstalling fink from scratch?
> 
> A better fix than changing Services.pm::get_darwin_equiv() is to expand
> the list of exceptions further down in get_osx_vers() (around line 1447)
> 
> Changing it to this (long single line) should work:
> 
> if (($sw_vers == 11.6 && $darwin_osx == 11.5) || ($sw_vers == 11.7 &&
> $darwin_osx == 11.5) || ($sw_vers == 12.6 && $darwin_osx == 12.5) ||
> ($sw_vers == 12.7 && $darwin_osx == 12.5) || ($sw_vers == 13.6 &&
> $darwin_osx == 13.5)) {
> 
> If you undo the removing of -1 from Line#1535 and edit L#1447 instead,
> can you selfupdate?
> 
> This is the list of the various systems where Apple decided to not
> increase the darwin version when bumping the macOS version.
> 
> Hanspeter
> 

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.