diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2011-01-01 17:08:44 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-01-01 11:42:19 -0800 |
commit | 292fa74c082235cdda1dacb91133599ce0ff779f (patch) | |
tree | 08f667abd1143b6fc0f237d97d08f90562fec393 | |
parent | 4933a8e769ee51c930fa46e67ddc0b895574bb20 (diff) | |
download | portage-292fa74c082235cdda1dacb91133599ce0ff779f.tar.gz portage-292fa74c082235cdda1dacb91133599ce0ff779f.tar.bz2 portage-292fa74c082235cdda1dacb91133599ce0ff779f.zip |
Filter QA warning for --disable-dependency-tracking configure option.
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index aeb3f864a..f1f8260d9 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -1237,6 +1237,10 @@ 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: # @@ -1268,7 +1272,8 @@ 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: + if configure_opts_warn_re.match(line) is not None and \ + configure_opts_warn_exclude_re.search(line) is None: configure_opts_warn.append(line.rstrip("\n")) if make_jobserver_re.match(line) is not None: |