Re: MacOS 26 with fink 0.45.99.git

Hanspeter Niederstrasser <[email protected]> Mon, 15 Sep 2025 18:51:49 -0500
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 9/15/25 6:35 PM, Robert Wyatt wrote:
> For what it's worth I have fink running on an M4 Pro MacMini (please let me know if you have packages you’d like tested on this platform!) with the newest operating system (and gpgme11):
> 
> New package: dists/stable/main/binary-darwin-arm64/crypto/gpgme11_1.3.1-4_darwin-arm64.deb
> New package: dists/stable/main/binary-darwin-arm64/crypto/gpgme11-shlibs_1.3.1-4_darwin-arm64.deb
> 
> ROBERTs-Mac-mini ~ % sw_vers; arch; gcc -dumpmachine; xcodebuild -version
> ProductName:		macOS
> ProductVersion:		26.0
> BuildVersion:		25A353
> arm64
> arm64-apple-darwin25.0.0
> Xcode 16.4
> Build version 16F6
> 
> ROBERTs-Mac-mini ~ % fink --version
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-git Sun Sep 14 19:02:41 2025, 15.0, arm64
> Trees: local/main stable/main
> 
> ROBERTs-Mac-mini ~ % gcc --version
> Apple clang version 17.0.0 (clang-1700.0.13.5)
> Target: arm64-apple-darwin25.0.0
> Thread model: posix
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> 
> I had to manipulate a file (I’m sure this is not the only or best way to do it, but… it worked):
> 
> /opt/sw/lib/perl5/Fink/Services.pm
> 
> Around line 1458 I added the exception ’26.0’ = 15.0 per the following:
> 
> sub get_osx_vers {
> 	my $sw_vers = get_osx_vers_long();
> 	my $darwin_osx = get_darwin_equiv();
> 	$sw_vers =~ s/^(\d+\.\d+).*$/$1/;
> 	if ($sw_vers != $darwin_osx) {
> 		# Special cases in Big Sur, Monterey, Ventura, and Sonoma
> 		# where it's OK to have a mismatch.
> 		my %sw_to_darwin = (
> 			'11.6' => 11.5,
> 			'11.7' => 11.5,
> 			'12.6' => 12.5,
> 			'12.7' => 12.5,
> 			'13.6' => 13.5,
> 			'13.7' => 13.5,
> 			'14.7' => 14.6,
> 			'26.0' => 15.0);
> 		die "$sw_vers does not match the expected value of $darwin_osx. Please run `fink selfupdate` to download a newer version of fink"
> 			unless $sw_to_darwin{$sw_vers} == $darwin_osx;
> 	}
> 	return $sw_vers;
> }

Excellent news! The code was updated about a month ago to know about 
macOS 26 and be able to bootstrap a fresh install, but I knew there 
would be an issue with upgrading due to a longstanding bug you edited 
around.

Was your install from a recently updated git pull ? I'm surprised that 
it says "Distribution: 15.0" since the most recent code says macOS 26 
should be "Distribution: 26.0":
https://github.com/fink/fink/commit/e28fd03431cac3bb4e47b84d2a515d9f70d4b6b3#diff-644b9c15e75bc3c878645dc3706446a499fe409d22d95652aa07e5f0408ff635

As another diagnostic, what does `fink list macosx` say? For example, on 
10.14.6, I get (along with tetex-macosx which is irrelevant here):

  i   macosx                      10.14.6-1             [virtual package 
representing the system]

Hanspeter

-- 
When a stupid man is doing something he is ashamed of, he always
declares that it is his duty.
   --George Bernard Shaw



_______________________________________________
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