Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nmap: make compatible with Big Sur #58243

Closed
wants to merge 1 commit into from
Closed

nmap: make compatible with Big Sur #58243

wants to merge 1 commit into from

Conversation

claui
Copy link
Contributor

@claui claui commented Jul 19, 2020

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Adds an upstream patch that fixes an integer truncation issue, which prevented nmap from running on on Big Sur.

Adds an upstream patch that fixes an integer truncation issue,
which prevented nmap from running on on Big Sur.
@claui claui added the 11 Big Sur is specifically affected label Jul 19, 2020
@SeekingMeaning
Copy link
Contributor

Does nmap/nmap@05763b6 work on Big Sur?

@claui
Copy link
Contributor Author

claui commented Jul 19, 2020

@SeekingMeaning It does for me.

@SeekingMeaning
Copy link
Contributor

Ah sorry, I didn't realize you were already using it

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@logicito
Copy link

logicito commented Aug 22, 2020

Is there a version of Nmap for macOS Big Sur that I can download? Thanks a lot

@SMillerDev
Copy link
Member

Just installing nmap from homebrew will work

@logicito
Copy link

logicito commented Aug 22, 2020

Just installing nmap from homebrew will work

That's how I installed it on my macOS Big Sur Beta 5, when I run it I get the following message:

brosenz@MacBook-Pro ~ % nmap -v -A scanme.nmap.org
Starting Nmap 7.80 ( https://nmap.org ) at 2020-08-22 12:33 EDT
Assertion failed: (res > 7), function nsock_library_initialize, file nsock_pool.c, line 307.
zsh: abort nmap -v -A scanme.nmap.org

@logicito
Copy link

logicito commented Aug 22, 2020

I check the installation log and found this error:

==> Summary
🍺 /usr/local/Cellar/openssl@1.1/1.1.1g: 8,059 files, 18MB
==> Installing nmap
==> Pouring nmap-7.80_1.catalina.bottle.1.tar.gz
Error: The brew link step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/ncat
Target /usr/local/bin/ncat
already exists. You may want to remove it:
rm '/usr/local/bin/ncat'

To force the link and overwrite all conflicting files:
brew link --overwrite nmap

To list all files that would be deleted:
brew link --overwrite --dry-run nmap

@claui
Copy link
Contributor Author

claui commented Aug 23, 2020

Target /usr/local/bin/ncat already exists.

Looks like a conflict with some unrelated ncat binary.

@claui claui deleted the nmap-big-sur branch August 23, 2020 21:22
@dwhite-tillster
Copy link

I have a similar issue which started with "Assertion failed: (res > 7), function nsock_library_initialize, file nsock_pool.c, line 307" after upgrading to Big Sur bur and it turns out to be a result of /usr not being writable.

I receive the same error
"Error: Could not symlink share/man/de/man1/nmap.1
/usr/local/share/man/de/man1 is not writable."
response and was able to do a chmod but still get the error.

When I do a touch /usr/test-file I get a "touch: test-file: Operation not permitted" error.

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11 Big Sur is specifically affected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants