<div dir="ltr"><div>Hi</div><div><br></div><div>I tried to compile drbd9 master branch  on centos 8 which come with spatch 1.0.7 only.</div><div><br></div><div>following is one-liner patch to make error message match the checks(if hash spatch &amp;&amp; spatch_is_recent; then)  in drbd-kernel-compat/gen_compat_patch.sh</div><div><br></div>diff --git a/drbd/drbd-kernel-compat/gen_compat_patch.sh b/drbd/drbd-kernel-compat/gen_compat_patch.sh<br>index 19466081..d6f34286 100644<br>--- a/drbd/drbd-kernel-compat/gen_compat_patch.sh<br>+++ b/drbd/drbd-kernel-compat/gen_compat_patch.sh<br>@@ -105,6 +105,6 @@ elif test ! -e ../.git &amp;&amp; [[ $SPAAS = true ]]; then<br>     echo &quot;  You can create a new .tgz including this pre-computed compat patch&quot;<br>     echo &quot;  by calling \&quot;echo drbd-$REL_VERSION/drbd/$compat_patch &gt;&gt;.filelist ; make tgz\&quot;&quot;<br> else<br>-   echo &quot;ERROR: spatch not found in \$PATH. Install package &#39;coccinelle&#39;!&quot;<br>+   echo &quot;ERROR: spatch is older than version $MIN_SPATCH_VERSION OR spatch not found in \$PATH. Install package &#39;coccinelle&#39;!&quot;<br>    exit 1<br> fi<br><div><br></div><div>Regards</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">T.J. Yang</div></div>