Hi! On Thu, 2024-09-19 at 17:39:49 +0200, Drew Parsons wrote: > Package: dpkg-dev > Version: 1.22.11 > Severity: normal
> dpkg-buildflags has started tightening build conditions such that > implicit declarations are now treated as errors (C flag > -Werror=implicit-function-declaration) > > This is a problem for scalapack (probably blas too), which has an > ancient code base without headers, so implicit function declarations > all the way through > > dpkg-buildflags provides the facility to switch off the error > condition by setting > export DEB_BUILD_MAINT_OPTIONS = qa=-bug-implicit-func > in debian/rules, which I've done for scalapack 2.2.1-4exp4. > > This fixes the scalapack for all architectures > https://buildd.debian.org/status/package.php?p=scalapack&suite=experimental > except powerpc > > https://buildd.debian.org/status/fetch.php?pkg=scalapack&arch=powerpc&ver=2.2.1-4exp4&stamp=1726724534&raw=0 > > On powerpc, I can see other dpkg-buildflags options, > -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -Wformat -Werror=format-security > > but a flag for implicit-function-declaration is missing (whether > -Werror or -Wno-error). > > So dpkg-buildflags on powerpc does not seem to be processing the > qa=-bug-implicit-func option in DEB_BUILD_MAINT_OPTIONS. It looks like that powerpc chroot is not up-to-date, as it is installing dpkg 1.22.6, where the change to pass -Wno-error was done in dpkg 1.22.7. From the log: Toolchain package versions: binutils_2.42.50.20240710-1 dpkg-dev_1.22.6 I guess this needs to be either reassigned to some porter pseudo-package or missing that, then closed and the porters contacted separately. Feel free to do whatever might be appropriate here. :) Thanks, Guillem

