From cdc5d9cba175e233eb8da498d46ff4be5080b035 Mon Sep 17 00:00:00 2001 From: Ilya Maximets Date: Fri, 27 Mar 2020 09:51:51 +0100 Subject: cirrus: Force pkg update on FreeBSD. Seems like FreeBSD ports/images are not well maintained and frequently causes package installation failures like this: [1/40] Fetching automake-1.16.1_2.txz: .......... done pkg: cached package automake-1.16.1_2: size mismatch, fetching from remote [2/40] Fetching automake-1.16.1_2.txz: .......... done pkg: cached package automake-1.16.1_2: size mismatch, cannot continue Consider running 'pkg update -f' Forced update doesn't increase build time significantly, but helps to solve at least this one kind of issues. Acked-by: William Tu Signed-off-by: Ilya Maximets --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 1b32f55d6..9428164ee 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,6 +16,7 @@ freebsd_build_task: prepare_script: - sysctl -w kern.coredump=0 + - pkg update -f - pkg install -y ${DEPENDENCIES} configure_script: -- cgit v1.2.1