Also handle .el files.
Fixes Debian bug #714630, reported by Matthias Klose. Thanks.
reported by Nicolas Boulenguez.
- Fix buildd architecture detection. Only relevant if the chroot setup fails
and dpkg-buildpackage is never run; therefore a minor issue.
+- Fix false positive when "compiling" python files (Debian bug #714630),
+ reported by Matthias Klose.
- Sync architecture specific hardening support with dpkg 1.17.1.
# C++ compiler setting.
return 0 if $line =~ /^\s*C\+\+.+?:\s+(?:yes|no)\s*$/;
return 0 if $line =~ /^\s*C\+\+ Library: stdc\+\+$/;
+ # "Compiling" non binary files.
+ return 0 if $line =~ /^\s*Compiling \S+\.(?:py|el)['"]?(?:\.\.\.)?$/;
# "Compiling" with no file name.
if ($line =~ /^\s*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/) {
# $file_extension_regex may need spaces around the filename.
Compiling with GCC now generates lots of new warnings.
Compiling outside source directory - copying needed files
Compiling the test favour in /build/buildd-test_42.47-11-amd64/test-42.47/debian/tmp-test
+Compiling /«BUILDDIR»/emacs23-23.4+1/debian/build-x/src/../lisp/international/characters.el
+Compiling '/«PKGBUILDDIR»/debian/tmp/usr/lib/python3.3/_markupbase.py'...