t/logs/ignore-line
t/logs/libtool
t/logs/make
+t/logs/parallel
t/logs/qt4
t/logs/verbose-build
t/tests.t
detect if the compiler applied PIE internally (c.f. Debian Bug 845339).
- Add --line-numbers command line option
- Sync architecture specific hardening support with dpkg 1.19.0.5.
+- Use proper look back for non-verbose detection if DEB_BUILD_OPTIONS=parallel
+ is present. Previously it was too small causing false-positives if the
+ option was detected.
Version 0.07
# This flags is not always available, but if it is use it.
if ($line =~ /^DEB_BUILD_OPTIONS=.*\bparallel=(\d+)/) {
- $parallel = $1;
+ $parallel = $1 * 2;
}
# We skip over unimportant lines at the beginning of the log to
--- /dev/null
+DEB_BUILD_OPTIONS=parallel=2
+
+dpkg-buildpackage: source package test
+
+[ 3%] Building C object fec/CMakeFiles/fec.dir/encode_rs_char.c.o
+[ 6%] Building C object fec/CMakeFiles/fec.dir/decode_rs_char.c.o
+cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnux32/fec && /usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -o CMakeFiles/fec.dir/decode_rs_char.c.o -c /<<PKGBUILDDIR>>/fec/decode_rs_char.c
+cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnux32/fec && /usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -o CMakeFiles/fec.dir/encode_rs_char.c.o -c /<<PKGBUILDDIR>>/fec/encode_rs_char.c
+[ 9%] Building C object fec/CMakeFiles/fec.dir/init_rs_char.c.o
+cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnux32/fec && /usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -o CMakeFiles/fec.dir/init_rs_char.c.o -c /<<PKGBUILDDIR>>/fec/init_rs_char.c
+[ 12%] Linking C static library libfec.a
use strict;
use warnings;
-use Test::More tests => 232;
+use Test::More tests => 234;
sub is_blhc {
NONVERBOSE BUILD: [ 3%] Building CXX object scribus/text/CMakeFiles/scribus_text_lib.dir/frect.cpp.o
';
+is_blhc 'parallel', '', 0, '';
+
# handle debug builds