Source: sparse Version: 0.5.0-4 Severity: important Since I uploaded the new version of horst (5.0, from 4.2), sparse now fails to parse its source code on some architecture. The buildds report problems with s390x and ppc64el:
https://buildd.debian.org/status/fetch.php?pkg=horst&arch=s390x&ver=5.0-1&stamp=1503905687&raw=0 https://buildd.debian.org/status/fetch.php?pkg=horst&arch=ppc64el&ver=5.0-1&stamp=1503906226&raw=0 The error is: sparse -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -Wall -Wextra -g -I. -DDO_DEBUG -I/usr/include/libnl3 *.[ch] /usr/include/powerpc64le-linux-gnu/gnu/stubs.h:8:12: error: unable to open 'gnu/stubs-32.h' >From #debian-devel, I got the tip that: 09:48:04 <waldi> jrtc27: nope, it fails to define __s390x__, which is used to detect the wordsize used 09:48:17 <jrtc27> ah, right, of course, _WORDSIZE is implied by other things 09:49:39 <waldi> anarcat: sparse either calls gcc with a wrong arch or cpp without defining the architecture specific defines all the headers expects I frankly have no idea of how to fix this, so I'm submitting a bug report (instead of a patch, sorry). Thanks for your attention! -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)