-
Notifications
You must be signed in to change notification settings - Fork 669
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
Docker mingw build doesn't work from mac host #641
Comments
Looks like both @sjanusz-r7 and @cdelafuente-r7 have bumped into this It might be worth taking a deeper look into why this is breaking; I'm pretty sure it's uid/gid issues or file traversal order differences |
@cdelafuente-r7 I think you've fixed this now? 👀 |
Yes, I was able to build with some addition to these files: metasploit-payloads/c/meterpreter/workspace/ext_server_kiwi/CMakeLists.txt Lines 49 to 52 in 7ff8ee5
metasploit-payloads/c/meterpreter/workspace/ext_server_priv/CMakeLists.txt Lines 45 to 48 in 7ff8ee5
These changes were required due to a change in Mingw definitions (here and here). That said, it sounds weird, since without this fix, it should break on other platforms too. I have no idea why it was only breaking on Mac OSX. |
Thanks! Will close |
The docker mingw build doesn't work from a mac host. It also doesn't work when using vmware shared folder running from macosx, and building on a ubuntu host machine either.
Failure:
It looks like compiling works in the container just fine, as long as the mounted volume isn't used:
i.e. moving into
/tmp/meterpreter
and git cloning/git init submodules/etc, works - but the mounted/meterpreter
fails. Potentially something to do with permissions/uids/gids, or different file traversal order (?), not sure yet - haven't looked deeper.The text was updated successfully, but these errors were encountered: