the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this
patch. (trunk r12179)
svn path=/main/branches/2.1.6/; revision=12215
"virtual.versioned":"PROVIDE contains virtuals with versions",
"virtual.exists":"PROVIDE contains existing package names",
"virtual.unavailable":"PROVIDE contains a virtual which contains no profile default",
"virtual.versioned":"PROVIDE contains virtuals with versions",
"virtual.exists":"PROVIDE contains existing package names",
"virtual.unavailable":"PROVIDE contains a virtual which contains no profile default",
- "usage.obsolete":"The ebuild makes use of an obsolete construct"
+ "usage.obsolete":"The ebuild makes use of an obsolete construct",
+ "upstream.workaround":"The ebuild works around an upstream bug, an upstream bug should be filed and tracked in bugs.gentoo.org"
"virtual.exists",
"virtual.unavailable",
"usage.obsolete",
"virtual.exists",
"virtual.unavailable",
"usage.obsolete",
.B metadata.missing
Missing metadata.xml files
.TP
.B metadata.missing
Missing metadata.xml files
.TP
+.B upstream.workaround
+The ebuild works around an upstream bug, an upstream bug should be filed and
+tracked in bugs.gentoo.org
+.TP
.B usage.obsolete
The ebuild makes use of an obsolete construct
.TP
.B usage.obsolete
The ebuild makes use of an obsolete construct
.TP
class EMakeParallelDisabled(LineCheck):
"""Check for emake -j1 calls which disable parallelization."""
class EMakeParallelDisabled(LineCheck):
"""Check for emake -j1 calls which disable parallelization."""
- repoman_check_name = 'ebuild.minorsyn'
+ repoman_check_name = 'upstream.workaround'
re = re.compile(r'^\s*emake\s+-j\s*1\s')
error = errors.EMAKE_PARALLEL_DISABLED
re = re.compile(r'^\s*emake\s+-j\s*1\s')
error = errors.EMAKE_PARALLEL_DISABLED
NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d'
PATCHES_ERROR = 'PATCHES is not a bash array on line: %d'
REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'
NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d'
PATCHES_ERROR = 'PATCHES is not a bash array on line: %d'
REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'
-EMAKE_PARALLEL_DISABLED = 'Ebuild calls emake -j1 on line: %d'
+EMAKE_PARALLEL_DISABLED = 'Upstream parallel compilation bug (ebuild calls emake -j1 on line: %d)'
DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d'
DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d'