Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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#23952 - [namcap] crashes on some packages with symlinks
Attached to Project:
Arch Linux
Opened by Eric Belanger (Snowman) - Wednesday, 27 April 2011, 03:38 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Wednesday, 27 April 2011, 21:16 GMT
Opened by Eric Belanger (Snowman) - Wednesday, 27 April 2011, 03:38 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Wednesday, 27 April 2011, 21:16 GMT
|
DetailsDescription:
When running namcap on the enlightenment-1.0.8-1 package, namcap aborts with the following error: $ namcap PKGBUILD *x86_64.pkg.tar.xz Traceback (most recent call last): File "/usr/lib/python3.2/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python3.2/runpy.py", line 73, in _run_code exec(code, run_globals) File "/usr/lib/python3.2/site-packages/namcap.py", line 261, in <module> process_realpackage(package, active_modules) File "/usr/lib/python3.2/site-packages/namcap.py", line 114, in process_realpackage rule.analyze(pkginfo, pkgtar) File "/usr/lib/python3.2/site-packages/Namcap/rules/mimefiles.py", line 46, in analyze f = tar.extractfile(entry) File "/usr/lib/python3.2/tarfile.py", line 2221, in extractfile return self.extractfile(self._find_link_target(tarinfo)) File "/usr/lib/python3.2/tarfile.py", line 2517, in _find_link_target raise KeyError("linkname %r not found" % linkname) KeyError: "linkname 'usr/share/applications//usr/share/e16/misc/e16.desktop-app' not found" |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Wednesday, 27 April 2011, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: Coming in next version 3.1.0
Wednesday, 27 April 2011, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: Coming in next version 3.1.0
EDIT: and also an upstreambug in the Python tarfile library that resolves symlinks by just concatening dirname with link target, which is a broken way of doing things.