Bug 801192

Summary: rpmlint apparently crashing during package build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Klaus Kämpf <kkaempf>
Component: BasesystemAssignee: Dirk Mueller <dmueller>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Klaus Kämpf 2013-01-30 09:08:24 UTC
https://build.opensuse.org/package/live_build_log?arch=i586&package=omc-smash&project=systemsmanagement%3Awbem&repository=openSUSE_Factory

fails at the end of build with

[  912s] RPMLINT report:
[  912s] ===============
[  914s] Traceback (most recent call last):
[  914s]   File "rpmlint.py", line 379, in <module>
[  914s]   File "rpmlint.py", line 169, in main
[  914s]   File "rpmlint.py", line 229, in runChecks
[  914s]   File "TagsCheck.py", line 541, in check
[  914s]   File "Filter.py", line 37, in printError
[  914s]   File "Filter.py", line 70, in _print
[  914s]   File "Config.py", line 178, in isFiltered
[  914s]   File "/usr/lib/python2.7/re.py", line 190, in compile
[  914s]   File "/usr/lib/python2.7/re.py", line 242, in _compile
[  914s] sre_constants.error: multiple repeat
[  914s] 0 packages and 0 specfiles checked; 0 errors, 0 warnings.
Comment 1 Dirk Mueller 2013-02-26 10:46:20 UTC
I agree the error reporting could be better, but basically the problem is an invalid regexp in your rpmlintrc: 

--- omcsmash-rpmlintrc  (revision 11)
+++ omcsmash-rpmlintrc  (working copy)
@@ -1 +1 @@
-addFilter("devel-file-in-non-devel-package .*/openwbem/c++providers/.*\.so")
+addFilter("devel-file-in-non-devel-package .*/openwbem/c\+\+providers/.*\.so")
Comment 2 Dirk Mueller 2013-02-26 11:10:29 UTC
Added a patch to make the error reporting more verbose.
Comment 3 Klaus Kämpf 2013-02-26 11:46:13 UTC
(In reply to comment #1)
> I agree the error reporting could be better
;-)

>, but basically the problem is an
> invalid regexp in your rpmlintrc: 

Thanks !
Comment 4 Klaus Kämpf 2013-02-27 13:16:52 UTC
Now I get
[ 1206s] /.build_patchrpmcheck_scr: line 6: syntax error near unexpected token `un'