Re: Investigating Cirrus CI FreeBSD failures
- From
Philippe Blain <levraiphilippeblain@gmail.com>
- Date
- May 30, 2022, 20:15 UTC
- Message-ID
- <e31d26ad-3b0b-15c0-262f-4eee83220949@gmail.com>
- In-Reply-To
- <CAPyFy2AETzTCJUtbxS+RmygajrUS5XUkZvF-1FVbJ67t61bJtg@mail.gmail.com>
Hi Ed,
Le 2022-05-30 à 12:09, Ed Maste a écrit :
Show 15 quoted lines
> On Fri, 20 May 2022 at 20:38, Philippe Blain > <levraiphilippeblain@gmail.com> wrote: >> >> Hi, >> >> I spent a bit of time investigating the Git Cirrus-CI failures on FreeBSD. >> It seems something goes wrong with the Perl installation, as most failures >> are in t9001-send-email.sh, and the error messages are: >> >> ld-elf.so.1: /usr/local/lib/perl5/5.32/mach/CORE/libperl.so.5.32: Undefined symbol "strerror_l@FBSD_1.6" > > Ah, what happened here is that this is picking up the perl package > built on 12.3 (i.e., the earliest supported FreeBSD 12.x) which added > strerror_l. > https://cgit.freebsd.org/src/commit/?id=d3912bec58d0b82509a0973cae02f156986d88fa
OK, so it is expected that the Cirrus 12.2 image would install this newer version of the perl package which if I understand correctly is not compatible with this version ?
Is there a way to tell pkg not to update packages to incompatible versions, or is the FreeBSD policy that as soon as a release is marked as unsupported, then no guarantee is made that things (like installing packages) continue working on that version ?
Show 11 quoted lines
> >> I know next to nothing about Perl or FreeBSD, but simply changing our image >> to FreeBSD 13.0 makes all failures in t9001 disappear [2]: >> >> ... >> Is this something that we should do ? Or should we stick to FreeBSD 12 >> and try to debug this installation problem ? > > I expect this could have been addressed also by updating to 12.3. > Cirrus also supports "matrix" so both could be tested. >
For now we opted to just update to 12.3, see [1].
Thanks for your answer,
Philippe.
[1] https://lore.kernel.org/git/20220525125112.86954-1-levraiphilippeblain@gmail.com/