Missing dependencies
If we take a look at the current PKGBUILD, version 0.9.24, the package is missing the dependency python-chardet
. If you look at the upstream setup.py on tag 0.9.24 you can see it's required. Also, the AL package crashes at runtime in a minimal environment.
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'chardet' distribution was not found and is required by impacket
When you'll update to 0.10.0 or 0.11.0, note that since https://github.com/fortra/impacket/pull/1359/files chardet
(python-chardet
) was replaced by charset-normalizer
(python-charset-normalizer
) for licensing reasons.
And whatever the impacket version is, the AL package lacks the ldapdomaindump
dependency as you can also see on upstream setup.py on tag 0.9.24.
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ldapdomaindump>=0.9.0' distribution was not found and is required by impacket
ldapdomaindump
is not packaged on AL yet.
Finally, the dependency future
(python-future
) is also missing and required at runtime. The dependency is required as well in setup.py for runtime at least until 0.11.0 but has been dropped from master so will be removed in 0.12.0.
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'future' distribution was not found and is required by impacket