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

[PATCH v2] ci: update Cirrus-CI image to FreeBSD 12.3

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
May 25, 2022, 12:51 UTC
Message-ID
<20220525125112.86954-1-levraiphilippeblain@gmail.com>
In-Reply-To
<20220524165823.18804-1-levraiphilippeblain@gmail.com>

The FreeBSD CI build (on Cirrus-CI) has been failing in 't9001-send-email.sh' for quite some time, with an error from the runtime linker relating to the Perl installation:

    $ GIT_SEND_EMAIL_NOTTY=1 git send-email \
    '--from=Example <from@example.com>' '--to=nobody@example.com' \
    '--smtp-server=/tmp/cirrus-ci-build/t/trash directory.t9001-send-email/fake.sendmail' \
    --compose '--subject=foo' 0001-Second.patch
    ld-elf.so.1: /usr/local/lib/perl5/5.32/mach/CORE/libperl.so.5.32: Undefined symbol "strerror_l@FBSD_1.6"

This first instance is in t9001.6 but it fails similarly in several tests in this file.

The FreeBSD image we use is FreeBSD 12.2, which is unsupported since March 31st, 2022 [1]. Switching to a supported version, 12.3, makes this error disappear [2].

Change the image we use to FreeBSD 12.3.

[1] https://www.freebsd.org/security/unsupported/ [2] https://lore.kernel.org/git/9cc31276-ab78-fa8a-9fb4-b19266911211@gmail.com/

Reviewed-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
---
    Changes since v1:
    - switch to FreeBSD 12.3 instead of 13.0
    - add the invocation triggering the error to the commit message
    - add Carlo's reviewed-by
    
    v1:
    Here is a proper patch following my earlier mail [1].
    
    [1] https://lore.kernel.org/git/CAPUEspgdAos4KC-3AwYDd5p+u0hGk73nGocBTFFSR7VB9+M5jw@mail.gmail.com/T/#t
 .cirrus.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index e114ffee1a..4860bebd32 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -9,7 +9,7 @@ freebsd_12_task:
     DEFAULT_TEST_TARGET: prove
     DEVELOPER: 1
   freebsd_instance:
-    image_family: freebsd-12-2
+    image_family: freebsd-12-3
     memory: 2G
   install_script:
     pkg install -y gettext gmake perl5

base-commit: 7a3eb286977746bc09a5de7682df0e5a7085e17c
-- 
2.29.2
Previous: Johannes SchindelinNext: Junio C Hamano
Message 8 of 9 in “ci: update Cirrus-CI image to FreeBSD 13.0”
  1. ci: update Cirrus-CI image to FreeBSD 13.0Philippe Blain, May 24, 2022
  2. Carlo Marcelo Arenas BelónMay 24, 2022
  3. Philippe BlainMay 24, 2022
  4. Carlo ArenasMay 25, 2022
  5. Ævar Arnfjörð BjarmasonMay 24, 2022
  6. Philippe BlainMay 24, 2022
  7. Johannes SchindelinMay 25, 2022
  8. ci: update Cirrus-CI image to FreeBSD 12.3Philippe Blain, May 25, 2022
  9. Junio C HamanoMay 25, 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.