Hello community, here is the log from the commit of package post-build-checks for openSUSE:Factory checked in at 2017-12-06 08:46:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old) and /work/SRC/openSUSE:Factory/.post-build-checks.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "post-build-checks" Wed Dec 6 08:46:06 2017 rev:87 rq:545255 version:84.87+git20171124.8f470bc Changes: -------- --- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes 2017-10-26 18:38:57.195155938 +0200 +++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 2017-12-06 08:46:13.408146801 +0100 @@ -1,0 +2,10 @@ +Fri Nov 24 15:48:17 UTC 2017 - r...@suse.de + +- Update to version 84.87+git20171124.8f470bc: + * export QT_HASH_SEED + * Fix incorrect matching due to greedy regexp (Fixes: #14) + * Also treat c++ as a valid compiler + * check_gcc_output: drop ansi escape sequences (colors) + before checking for warnings + +------------------------------------------------------------------- Old: ---- post-build-checks-84.87+git20170929.5b244d1.tar.xz New: ---- post-build-checks-84.87+git20171124.8f470bc.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ post-build-checks.spec ++++++ --- /var/tmp/diff_new_pack.20teBN/_old 2017-12-06 08:46:14.188118243 +0100 +++ /var/tmp/diff_new_pack.20teBN/_new 2017-12-06 08:46:14.192118096 +0100 @@ -16,13 +16,13 @@ # -%define version_unconverted 84.87+git20170929.5b244d1 +%define version_unconverted 84.87+git20171124.8f470bc Name: post-build-checks Summary: post checks for build after rpms have been created License: GPL-2.0+ Group: Development/Tools/Building -Version: 84.87+git20170929.5b244d1 +Version: 84.87+git20171124.8f470bc Release: 0 PreReq: aaa_base permissions sed Requires: aaa_base-malloccheck ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.20teBN/_old 2017-12-06 08:46:14.228116778 +0100 +++ /var/tmp/diff_new_pack.20teBN/_new 2017-12-06 08:46:14.228116778 +0100 @@ -1,5 +1,5 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/openSUSE/post-build-checks.git</param> - <param name="changesrevision">b790187555f414130cbf094ffce38bbb91e21762</param></service> + <param name="changesrevision">8f470bcade61e546593c00d2c78365f5ffdd69b7</param></service> </servicedata> \ No newline at end of file ++++++ post-build-checks-84.87+git20170929.5b244d1.tar.xz -> post-build-checks-84.87+git20171124.8f470bc.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output new/post-build-checks-84.87+git20171124.8f470bc/checks-data/check_gcc_output --- old/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output 2017-09-29 00:39:46.000000000 +0200 +++ new/post-build-checks-84.87+git20171124.8f470bc/checks-data/check_gcc_output 2017-11-24 16:46:40.000000000 +0100 @@ -30,12 +30,12 @@ 'warning:.*(called with bigger.*destination buffer)|(writing .* bytes into a region of size .* overflows the destination)' => "destbufferoverflow", 'warning:.*is used uninitialized in this function' => "uninitialized-variable", 'warning:.*too few arguments for format' => "missing-arg-for-fmt-string", - "warning:.*implicit .*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'" => "implicit-fortify-decl", + "warning:.*implicit [^\']*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'" => "implicit-fortify-decl", 'warning:.*memset used with constant zero length parameter' => "memset-with-zero-length", 'warning:.*comparison with string literal' => "stringcompare", "warning:.*'return' with no value, in function returning non-void" => "voidreturn", 'warning:.*array subscript is (below|above) array bounds' => "arraysubscript", - "warning:.*implicit .*'(time|unlink|isspace|qsort|finite|abs|wait3|iswprint|toupper|tolower|fileno|ftruncate|fchmod|wcwidth|isalnum|isspace|utime|access|mkdir|fputchar|close|atoi|free|geteuid|getuid|getresgid|getresuid|getopt|getpgid|srand48|initgroups|rand|ctime|putenv|fork|open|dup|pipe|ioctl|mkstemp|dirname|basename|isdigit|inet_addr|asprintf|getsid|realloc|wait|gettext|write|isatty|tputs|strtol|strtod|spawn|vfork|kill|clearenv|strerror|strdup|strcmp|openpty|ntohl|iopl|outl|gettimeofday|malloc|strncmp|printf|flock|abort|fclose|fabs|cos|inet_aton|atoi|strstr|sin|system|waitpid|dup2|lseek|strlcat|shutdown|calloc|sigset|rename|chdir|strcasecmp|strlcpy)'" => "implicit-pointer-decl" + "warning:.*implicit [^\']*'(time|unlink|isspace|qsort|finite|abs|wait3|iswprint|toupper|tolower|fileno|ftruncate|fchmod|wcwidth|isalnum|isspace|utime|access|mkdir|fputchar|close|atoi|free|geteuid|getuid|getresgid|getresuid|getopt|getpgid|srand48|initgroups|rand|ctime|putenv|fork|open|dup|pipe|ioctl|mkstemp|dirname|basename|isdigit|inet_addr|asprintf|getsid|realloc|wait|gettext|write|isatty|tputs|strtol|strtod|spawn|vfork|kill|clearenv|strerror|strdup|strcmp|openpty|ntohl|iopl|outl|gettimeofday|malloc|strncmp|printf|flock|abort|fclose|fabs|cos|inet_aton|atoi|strstr|sin|system|waitpid|dup2|lseek|strlcat|shutdown|calloc|sigset|rename|chdir|strcasecmp|strlcpy)'" => "implicit-pointer-decl" ); my %warn_desc = ( @@ -132,7 +132,7 @@ ? length($warnings{$warntype}{$filename}) : 0; if($len > 0) { - $warnings{$warntype}{$filename} .= ", $linenum" + $warnings{$warntype}{$filename} .= ", $linenum" if ($warnings{$warntype}{$filename} !~ /\Q$linenum\E/); } else { $warnings{$warntype}{$filename} = $linenum; @@ -164,6 +164,8 @@ sub analyze_for_warning($) { my ($line) = @_; + $line =~ s/\e\[[\d;]*[a-zA-Z]//g; + # inlined from 'void log_status_write(UPSINFO*, char*, ...)' at reports.c:110 $inline_location = $line if ($line =~ /^\s+inlined from .* at/); if ($line =~ /$warn_monster/o) { @@ -188,7 +190,7 @@ die "warntype is not descriptive: $w" if (length($w) < 8); } - $warn_monster = "(?:" . join('|', keys %warn_checks) . ")"; + $warn_monster = "(?:" . join('|', sort keys %warn_checks) . ")"; } &sanity_check(); @@ -217,7 +219,7 @@ # Detect if we are compiling and if the program uses RPM_OPT_FLAGS. my $iscompilerline = 0; - if (/^(|.*[\s;\/]+)(gcc|cc|g\+\+) .*/i) { + if (/^(|.*[\s;\/]+)(gcc|cc|c\+\+|g\+\+) .*/i) { # avoid make dep lines... $iscompilerline = 1 if (! /(-E|-MD|-MM|-shared|gccmakedep)/); $iscompilerline = 1 if (/(-MD|-MM)/ && /\.o /); # -MD or -MM and object output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-84.87+git20170929.5b244d1/suse-buildsystem.sh new/post-build-checks-84.87+git20171124.8f470bc/suse-buildsystem.sh --- old/post-build-checks-84.87+git20170929.5b244d1/suse-buildsystem.sh 2017-09-29 00:39:46.000000000 +0200 +++ new/post-build-checks-84.87+git20171124.8f470bc/suse-buildsystem.sh 2017-11-24 16:46:40.000000000 +0100 @@ -1,5 +1,6 @@ export SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf export SUSE_ASNEEDED=1 +export QT_HASH_SEED=42 export PERL_HASH_SEED=42 export PYTHONHASHSEED=0