Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62269 - [namcap] crashes on a package

Attached to Project: Arch Linux
Opened by RoundCube (RoundCube) - Sunday, 07 April 2019, 19:31 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 10 April 2019, 23:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I have an package on which namcap crashes.
PKGBUILD + PKG attached, it's very different from the one on the AUR.

Traceback (most recent call last):
File "/usr/lib/python3.7/", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.7/site-packages/", line 245, in <module>
process_realpackage(package, active_modules)
File "/usr/lib/python3.7/site-packages/", line 110, in process_realpackage
errs, warns, infos = Namcap.depends.analyze_depends(pkginfo)
File "/usr/lib/python3.7/site-packages/Namcap/", line 130, in analyze_depends
reason_strings = [Namcap.tags.format_message(reason) for reason in reasons]
File "/usr/lib/python3.7/site-packages/Namcap/", line 130, in <listcomp>
reason_strings = [Namcap.tags.format_message(reason) for reason in reasons]
File "/usr/lib/python3.7/site-packages/Namcap/", line 55, in format_message
return (tags[tag] % data)
KeyError: 'shared-mime-info-needed'

Additional info:
* package version: 3.2.8-3

Steps to reproduce:
run namcap on the PKG (not PKGBUILD)
PKGBUILD is attached in case it helps debugging namcap
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 10 April 2019, 23:48 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#56898 
Comment by Chih-Hsuan Yen (yan12125) - Monday, 08 April 2019, 04:51 GMT
Apparently the same issue as