Don't filter QA warning for --disable-dep...
authorZac Medico <zmedico@gentoo.org>
Wed, 12 Jan 2011 15:15:20 +0000 (07:15 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 12 Jan 2011 15:41:26 +0000 (07:41 -0800)
This reverts commit f3785f651bff9febc0bb3be4f0ee8e4d732495d5.
It's unnecessary to filter since now we check configure --help output
for disable-dependency-tracking (bug #211529).

pym/portage/package/ebuild/doebuild.py

index f1f8260d990f262276a867974d52bfc3e67530d9..aeb3f864a95a2fd45c37e12dc53e79400c88c8f9 100644 (file)
@@ -1237,10 +1237,6 @@ def _check_build_log(mysettings, out=None):
        configure_opts_warn = []
        configure_opts_warn_re = re.compile(
                r'^configure: WARNING: [Uu]nrecognized options: ')
-       # --disable-dependency-tracking is passed by default in EAPI 4;
-       # filter the warning if this is the only unrecognized option.
-       configure_opts_warn_exclude_re = re.compile(
-               r': --disable-dependency-tracking$')
 
        # Exclude output from dev-libs/yaz-3.0.47 which looks like this:
        #
@@ -1272,8 +1268,7 @@ def _check_build_log(mysettings, out=None):
                        if helper_missing_file_re.match(line) is not None:
                                helper_missing_file.append(line.rstrip("\n"))
 
-                       if configure_opts_warn_re.match(line) is not None and \
-                               configure_opts_warn_exclude_re.search(line) is None:
+                       if configure_opts_warn_re.match(line) is not None:
                                configure_opts_warn.append(line.rstrip("\n"))
 
                        if make_jobserver_re.match(line) is not None: