Re: Bug#1119973: kpatch FTBFS on ppc64el

Trupti <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
On 2025-11-03 15:19, Trupti wrote:
> Package: kpatch
> Version: 0.9.11-1
> Distribution: sid
> Severity: serious
> Tags: ftbfs
> X-Debbugs-Cc:[email protected]
> User: [email protected]
> Usertags: ppc64el
> 
> 
> 
> Package kpatch is FTBFS on ppc64el with log :
> https://buildd.debian.org/status/fetch.php?pkg=kpatch&arch=ppc64el&ver=0.9.11-1&stamp=1761919050&raw=0
> 
> 
> 
> I was able to reproduce the issue on ppc64el with the error:
> gcc-plugins/gcc-common.h:4:10: fatal error: bversion.h: No such file
> or directory
>     4 | #include "bversion.h"
> 
> 
> 
> I am looking into this.
> gcc-12-plugin-dev [ppc64el],

> 
> Thanks,
> Trupti


Hello,

Adding build dependency > gcc-15-plugin-dev [ppc64el], inside 
debian/control fixes the issue.

And attached is the patch for the issue.

Thanks,
Trupti
fix-gcc-plugin-error.patch (text/x-diff, 398 B)
Index: kpatch-0.9.11/debian/control
===================================================================
--- kpatch-0.9.11.orig/debian/control
+++ kpatch-0.9.11/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
  debhelper-compat (= 13),
  g++-14 [ppc64el],
  gcc-14-plugin-dev [ppc64el],
+ gcc-15-plugin-dev [ppc64el],
  libelf-dev,
  shellcheck,
 Vcs-Browser: https://salsa.debian.org/debian/kpatch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.