Re: po4a again....

[email protected] Fri, 11 Jun 2021 14:14:46 -0500
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Everyone will have the po4a-XXX.info files for all distributions. Fink 
just uses the one that matches the Distribution set in %p/etc/fink.conf

If `fink dumpinfo -finfofile` is showing po4a-11.0.info when running 
macOS11.4, then fink is confused about your system.

1) What does `fink dumpinfo -fallversions po4a` show? This will list all 
the versions that are available or installed on your system. Because 
each .info file for po4a for each distribution has a different Revision: 
value, you can tell what fink has and sees. po4a-11.0 has %r=401. 
po4a-11.3 has %r=501. Make sure you `fink selfupdate` first, because I 
just fixed something.
2) Look at the file `/opt/sw/lib/perl5/Fink/Bootstrap.pm`. Around line 
272, it lists the darwin versions that get linked to `Dist: 11.3`. It 
should say "i386-apple-darwin20\.[4-6]".
3) To confirm, what does `uname -a` output? I think 11.4 should output 
darwin20.5.

You might need to run `fink reinstall fink` to get your Fink to realize 
that you're on 11.4. In %p/etc/fink.conf, the Distribution field should 
show 11.3 for any current macOS11 >= 11.3.

Hanspeter


On 2021-06-11 13:37, Scott Hannahs via Fink-devel wrote:
> Hanspeter,
> 
> Got it, so it uses the highest distribution less than or equal to the
> current OS version.  (ie use of 11.3 or an 11.4 OS).
> 
> I am confused that I have an 11.3 distribution dot-info file but my
> 11.4 OS says it is using 11.0 dot-info file according to dump-info.
> 
> I had already installed po4a under 11.3 and so it does not need an
> update for 11.4, but I am then confused as to how dumpinfo is working?
>  If I do an install will it possibly use a different distribution than
> dump-info is showing?
> 
> -Scott
> 
>> On Jun 11, 2021, at 11:44, [email protected] wrote:
>> 
>> The possible values of the Distribution field are partially dictated 
>> by the system-perl version, especially when Apple changes the 
>> system-perl version on us in the middle of the same macOS release. 
>> This is why we have `Dist: 10.14` (for 10.14.0 through 10.14.4) and 
>> `Dist: 10.14.5` (for 10.14.5 through 10.14.6). On macOS11, `Dist: 
>> 11.0` is for 11.0 through 11.2.x (using /usr/bin/perl5.28). For 11.3 
>> and up, Apple changed to /usr/bin/perl5.30, so 11.3 through 11.5beta 
>> should be using `Dist: 11.3`. If you updated to 11.4 and your Fink is 
>> now showing that it's on Dist:11.0, then you probably need to ./inject 
>> from a updated git pull of the Fink tree that knows about 11.4.
>> 
>> https://github.com/nieder/fink/tree/dpkg1.16
>> 
>> Hanspeter
>> 
>> 
>> On 2021-06-11 09:40, Scott Hannahs via Fink-devel wrote:
>>> There is now an OS 11.3 variant for po4a, but since OS 11.4 is now
>>> released, that OS reverts to using the 11.0 variant?  I am confused 
>>> as
>>> to how it picks the variant for that file.
>>> OS 11.0 uses po4-11.0
>>> OS 11.1 uses ???
>>> OS 11.2 uses ???
>>> OS 11.3 uses po4-11.3
>>> OS 11.4 uses ???
>>> Can the Distribution field be >=11.0, <= 11.2
>>> and for the second one be >=11.3
>>> Does the distribution field use logical comparators on a two digit
>>> version?  Can it handle a 3 dot (3 digit?) version compare?
>>> -Scott
>>> _______________________________________________
>>> Fink-devel mailing list
>>> [email protected]
>>> List archive:
>>> https://sourceforge.net/p/fink/mailman/fink-devel
>>> Subscription management:
>>> https://lists.sourceforge.net/lists/listinfo/fink-devel
>> 
>> 
>> _______________________________________________
>> Fink-devel mailing list
>> [email protected]
>> List archive:
>> https://sourceforge.net/p/fink/mailman/fink-devel
>> Subscription management:
>> https://lists.sourceforge.net/lists/listinfo/fink-devel
> 
> 
> 
> _______________________________________________
> Fink-devel mailing list
> [email protected]
> List archive:
> https://sourceforge.net/p/fink/mailman/fink-devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel


_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel