Hi, wanted to report an issue, probably with upstream.
I always got the "nmap not found" issue. It seems that a fresh install causes "zenmap.conf" to point to "../nmap" which is wrong. Removing the line made Zenmap to work again.
Git Clone URL: | https://aur.archlinux.org/zenmap-python3-git.git (read-only, click to copy) |
---|---|
Package Base: | zenmap-python3-git |
Description: | Graphical Nmap frontend and results viewer - rerwite in python 3 |
Upstream URL: | https://github.com/nmap/nmap |
Keywords: | zenmap,nmap,nmap-gui,python3 |
Licenses: | GPL2 |
Conflicts: | zenmap |
Provides: | zenmap |
Submitter: | matan-h |
Maintainer: | matan-h |
Last Packager: | matan-h |
Votes: | 4 |
Popularity: | 1.39 |
First Submitted: | 2022-09-29 10:42 (UTC) |
Last Updated: | 2022-12-16 11:07 (UTC) |
Hi, wanted to report an issue, probably with upstream.
I always got the "nmap not found" issue. It seems that a fresh install causes "zenmap.conf" to point to "../nmap" which is wrong. Removing the line made Zenmap to work again.
i got the following error
==> Starting pkgver()...
cat: /home/b3/.cache/yay/zenmap-python3-git/src/nmap-master/zenmap/share/zenmap/config/zenmap_version: No such file or directory
==> ERROR: A failure occurred in pkgver().
Aborting...
-> error making: zenmap-python3-git
edit: it's fixed after clear the old files and reinstall instead of update it
I have update the package source to the merged upstream
Perhaps try installing python-setuptools by itself, then zenmap?
@WSDMatty: I tried again, as suggested, but got the same results. I'm utterly clueless about AUR packaging, but a quick google lead me here. This:
# Subversion printf "r%s" "$(svnversion | tr -d 'A-z')"
leads me to wonder if the charactersSVN
in pkgver=7.92SVN
are the problem. I do not know how to try it myself, though. Sorry.
@matan-h Did a little research, it looks like upstream merged this fork 4 days ago, and this package no longer needs to use kulikjak's github as source, but the upstream nmap source with the same effect, and no version warnings.
No longer builds with nmap 7.93-1 and python 3.10.8-3.
@justinchudgar I had no problem installing. I received different warnings. Perhaps try installing python-setuptools by itself, then zenmap?
/usr/lib/python3.10/site-packages/setuptools/dist.py:543: UserWarning: The version specified ('7.92SVN') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
warnings.warn(
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 7.92SVN is an invalid version and will not be supported in a future release
warnings.warn(
No longer builds with nmap 7.93-1
and python 3.10.8-3
.
==> Starting package()...
/usr/lib/python3.10/site-packages/setuptools/dist.py:543: UserWarning: The version specified ('7.92SVN') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
...
AttributeError: partially initialized module 'setuptools' has no attribute 'version' (most likely due to a circular import)
==> ERROR: A failure occurred in package().
Aborting...
-> error making: zenmap-python3-git
You should add conflicts with zenmap
thanks @burnout, I have added python
and python-cairo
to dependencies
Missing cairo python module. To fix this run sudo pip install pycairo
Pinned Comments
matan-h commented on 2022-12-16 11:08 (UTC)
I have update the package source to the merged upstream