[ovs-dev] [PATCH] cirrus: Force pkg update on FreeBSD.
Ilya Maximets
i.maximets at ovn.org
Fri Mar 27 10:46:43 UTC 2020
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.
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
---
Example of a broken build:
https://cirrus-ci.com/task/6639720348254208?command=prepare
With force update:
https://cirrus-ci.com/task/5040146315739136?command=prepare
.cirrus.yml | 1 +
1 file changed, 1 insertion(+)
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:
--
2.25.1
More information about the dev
mailing list