git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Ed MasteNext: Junio C Hamano
Message 4 of 6 in “Investigating Cirrus CI FreeBSD failures”
  1. Philippe BlainMay 21, 2022
  2. Carlo ArenasMay 21, 2022
  3. Ed MasteMay 30, 2022
  4. Philippe BlainMay 30, 2022
  5. Junio C HamanoMay 31, 2022
  6. Johannes SchindelinJun 2, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.