File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,19 @@ for it in $RECIPES; do
6767 # Accept some errors as non-fatal
6868 if [ $? -ne 0 ]; then
6969 echo " WARNING: conan create failed for $recipe_dir "
70- if echo " $output " | grep -q " ERROR: There are invalid packages" ; then
71- echo " WARNING: Invalid packages found, skipping the build."
72- elif echo " $output " | grep -q " ERROR: Version conflict" ; then
73- echo " WARNING: Version conflict, skipping the build."
74- elif echo " $output " | grep -q " ERROR: Missing binary" ; then
75- echo " WARNING: Missing binary, skipping the build."
70+ allowed_errors=(
71+ " ERROR: There are invalid packages"
72+ " ERROR: Version conflict"
73+ " ERROR: Missing binary"
74+ " Failed to establish a new connection"
75+ " ConanException: sha256 signature failed"
76+ " NotFoundException: Not found"
77+ )
78+ # check if any allowed error is in the output
79+ if printf ' %s\n' " ${allowed_errors[@]} " | grep -q -f - <( echo " $output " ) ; then
80+ echo " WARNING: Could not apply patches, skipping build:"
81+ echo " $output " | tail -n 10
82+ echo " -------------------------------------------------------"
7683 else
7784 echo " ERROR: Fatal error during conan create command execution:"
7885 echo " $output "
You can’t perform that action at this time.
0 commit comments