Properly ignore cargo/rust output
Sync architecture specific hardening support with dpkg 1.22.0 Also remove avr32 architecture from tests which no longer exists.
Properly handle quoted flags Add an additional test to make sure we won't accidentally accept environment variables as flags. This does not fix Debian bug #975650. For that environment variables must be properly handled.
Support ignoring lines by embedding a string in the build log
Fix format CFLAGS for Ada/Fortran with some build logs No longer check for "gnat" and "gfortran" packages as dependency. Instead, apply the special handling unconditionally. This might be slightly slower but permits running blhc on Ada/Fortran build logs which provide no information about dependencies (e.g. when running just dpkg-buildpackage).
MANIFEST: add t/logs/dpkg-buildpackage-architecture-new Forgotten in 1b2ee66 ("Fix architecture detection with recent dpkg-buildpackage versions", 2019-08-24).
Detect overwrite of -fstack-protector
Use proper look back for non-verbose detection for DEB_BUILD_OPTIONS=parallel
Add --debian to handle PIE flags like buildd mode
Don't report missing PIE flags in buildd mode if GCC defaults to PIE Dpkg since 1.8.15 respects GCC's settings and doesn't inject PIE flags if GCC already applies them internally. Therefore don't require PIE flags if a recent enough dpkg version is used and GCC applies PIE on the current architecture.
MANIFEST: add t/logs/fortran
check for -fstack-protector-strong Enabled since dpkg 1.17.11. Closes Debian Bug #757885 reported by Markus Koschany.
Consider lines with -O0 or -Og debug builds. Disable checks for -O2 for those lines. Fixes Debian bug #714628, reported by Matthias Klose. Thanks.
Fix buildd architecture detection. Only relevant if the chroot setup fails and dpkg-buildpackage is never run.
Fix detection of build dependencies for buildd logs. Fixes Debian bug #719656, reported by Nicolas Boulenguez. Thanks.
t/logs/buildd-architecture-old: Rename to dpkg-buildpackage-architecture-old.
MANIFEST: Add missing t/logs/configure-check. Forgotten in 4769334033d6a630aa26128c4991443b91f36f13.
Detect architecture in old buildd logs which add an "is". E.g. dpkg-buildpackage: host architecture is ia64
Fix build dependency related checks for pbuilder build logs. This affects Ada and hardening-wrapper checks.
Ignore missing -Wformat -Werror=format-security for Ada files. Thanks to Nicolas Boulenguez for reporting this. See http://bugs.debian.org/680117 for details.