Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 158023 Details for
Bug 228935
[QA] check for "command not found" (patch provided)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
small patch
portage-qa.patch (text/plain), 1.97 KB, created by
Olivier Huber
on 2008-06-22 17:58:00 UTC
(
hide
)
Description:
small patch
Filename:
MIME Type:
Creator:
Olivier Huber
Created:
2008-06-22 17:58:00 UTC
Size:
1.97 KB
patch
obsolete
>--- pym/portage/__init__.py~ 2008-06-20 13:42:09.000000000 +0200 >+++ pym/portage/__init__.py 2008-06-22 17:58:03.000000000 +0200 >@@ -4194,15 +4194,25 @@ > else: > am_maintainer_mode = [] > configure_opts_warn = [] >+ missing_inherit_env = [] >+ missing_inherit_ebuild = [] > configure_opts_warn_re = re.compile( > r'^configure: WARNING: Unrecognized options: .*') > am_maintainer_mode_re = re.compile(r'.*/missing --run .*') >+ missing_inherit_env_re = re.compile( >+ r'.*temp/environment: .* command not found .*') >+ missing_inherit_ebuild_re = re.compile( >+ r'.*ebuild: *. command not found .*') > try: > for line in f: > if am_maintainer_mode_re.search(line) is not None: > am_maintainer_mode.append(line.rstrip("\n")) > if configure_opts_warn_re.match(line) is not None: > configure_opts_warn.append(line.rstrip("\n")) >+ if missing_inherit_env_re.match(line) is not None: >+ missing_inherit_env.append(line.rstrip("\n")) >+ if missing_inherit_ebuild_re.match(line) is not None: >+ missing_inherit_ebuild.append(line.rstrip("\n")) > finally: > f.close() > >@@ -4236,6 +4246,26 @@ > msg.append("") > msg.extend("\t" + line for line in configure_opts_warn) > _eqawarn(msg) >+ >+ if missing_inherit_env: >+ msg = ["QA Notice: Unrecognized command in ebuild:"] >+ msg.append("") >+ msg.extend("\t" + line for line in missing_inherit_env) >+ msg.append("") >+ msg.extend(wrap( >+ "Please file a bug at " + \ >+ "https://bugs.gentoo.org",wrap_width)) >+ _eqawarn(msg) >+ >+ if missing_inherit_ebuild: >+ msg = ["QA Notice: Unrecognized command in ebuild:"] >+ msg.append("") >+ msg.extend("\t" + line for line in missing_inherit_ebuild) >+ msg.append("") >+ msg.extend(wrap( >+ "Please file a bug at " + \ >+ "https://bugs.gentoo.org",wrap_width)) >+ _eqawarn(msg) > > if mydo == "install": > # User and group bits that match the "portage" user or group are
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228935
:
158023
|
158025
|
158029