Index: cctools-6.2.10/configure
===================================================================
--- cctools-6.2.10.orig/configure
+++ cctools-6.2.10/configure
@@ -1040,7 +1040,7 @@ then
 	fi
 	if [ $python3 != 0 ]
 	then
-		python3_version=`${python3} -V 2>&1 | cut -d " " -f 2`
+		python3_version=`${python3} -V 2>&1 | head -n1 | cut -d " " -f 2`
 		echo "python3 version is ${python3_version}"
 		python3_major_version=`echo ${python3_version} | cut -d . -f 1`
 		python3_minor_version=`echo ${python3_version} | cut -d . -f 2 | cut -d . -f 1,2`
