Bug 2210900
| Summary: | [abrt] rpmlint: _parse(): _parser.py:865:_parse:re.error: missing ), unterminated subpattern at position 55 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian J. Murrell <brian.murrell> | ||||||||||||||||
| Component: | rpmlint | Assignee: | Tom "spot" Callaway <spotrh> | ||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | brian.murrell, j, spotrh, tmz, twoerner | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/7ff6833b228a004a23241f37cccd5f40e256ae5 | ||||||||||||||||||
| Whiteboard: | abrt_hash:76823e756fe52a3f32c04775d9b1657d6bf66b58;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2023-05-30 16:24:05 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Brian J. Murrell
2023-05-30 01:19:09 UTC
Created attachment 1967779 [details]
File: os_info
Created attachment 1967780 [details]
File: environ
Created attachment 1967781 [details]
File: mountinfo
Created attachment 1967782 [details]
File: open_fds
Created attachment 1967783 [details]
File: backtrace
Created attachment 1967784 [details]
File: cpuinfo
Created attachment 1967785 [details]
File: namespaces
What are the contents of ior.rpmlintrc? My first suspicion is that the missing closing ')' is in that config file. Let's rule that out first. Hrm. I updated the "Reason" during the data review, but that didn't seem to actually change the reason logged here. In any case …
The problem is (was) that '(' was being interpreted specially rather than literally. The particular line in the rpmlintrc file was:
addFilter('ior.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/mpich/bin/ior (RUNPATH: check/lib64:/usr/lib64:/usr/lib64/mpich/lib)')
But I thought the argument to addFilter() was a regular string unless prefixed with an r (i.e. r'some string') but I suppose that was just a misunderstanding on my part.
Eventually I fixed the problem with:
addFilter('ior.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/mpich/bin/ior \(RUNPATH: check/lib64:/usr/lib64:/usr/lib64/mpich/lib\)')
It would definitely be nice if the parsing errors were handled/reported better. I don't know how feasible that is offhand. Sorry you got caught by this unfriendly failure. It may be worth filing upstream, in case someone there finds it to be easy or enjoys the challenge. It was only recently that addFilter() was mildly documented in the README file, in upstream 49c97e50 (Document rpmlintrc keywords., 2021-03-23). But they have been regular expressions for as long as I can recall, for what little that's worth. |