sidaf / homebrew-pentest

Homebrew Tap - Pen Test Tools
704 stars 175 forks source link

Error installing Empire #17

Open azams opened 6 years ago

azams commented 6 years ago

Hi, i found an error while installing Empire.

here is the command i used to install Empire : brew install sidaf/pentest/empire

and here the output :

$ brew install sidaf/pentest/empire Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/cask, homebrew/core). ==> Updated Formulae apache-flink eye-d3 llnode sfk asdf gitbucket mmseqs2 sphinx-doc conserver gopass node-build strongswan dependency-check ii pre-commit wine emacs jenkins rsstail xonsh ethereum kubeless sbcl

==> Installing empire from sidaf/pentest ==> Cloning https://github.com/PowerShellEmpire/Empire Cloning into '/Users/xxx/Library/Caches/Homebrew/empire--git'... remote: Counting objects: 11676, done. remote: Compressing objects: 100% (5/5), done. remote: Total 11676 (delta 0), reused 0 (delta 0), pack-reused 11671 Receiving objects: 100% (11676/11676), 20.47 MiB | 327.00 KiB/s, done. Resolving deltas: 100% (7930/7930), done. ==> Checking out revision e43fb94 ==> Downloading https://pypi.python.org/packages/58/75/362faac80a1bc2742b4b696dc ==> Downloading from https://pypi.org/packages/58/75/362faac80a1bc2742b4b696dc35 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b11 ==> Downloading from https://pypi.org/packages/60/db/645aa9af249f059cc3a368b118d ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/91/c1/5ffeb4468cecc532dbdae4b44 ==> Downloading from https://pypi.org/packages/91/c1/5ffeb4468cecc532dbdae4b4470 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/cd/37/39aca520918ce1935bea9c356 ==> Downloading from https://pypi.org/packages/cd/37/39aca520918ce1935bea9c356bc ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/db/9c/149ba60c47d107f85fe525641 ==> Downloading from https://pypi.org/packages/db/9c/149ba60c47d107f85fe52564133 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/0f/7c/b316cd9779817173e93f5cebc ==> Downloading from https://pypi.org/packages/0f/7c/b316cd9779817173e93f5cebc8f ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/f2/2f/0b98b06a345a761bec91a079c ==> Downloading from https://pypi.org/packages/f2/2f/0b98b06a345a761bec91a079cca ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb ==> Downloading from https://pypi.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/dc/b4/a60bcdba945c00f6d608d8975 ==> Downloading from https://pypi.org/packages/dc/b4/a60bcdba945c00f6d608d897513 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/77/f2/bccec75ca4280a9fa762a90a1 ==> Downloading from https://pypi.org/packages/77/f2/bccec75ca4280a9fa762a90a1b8 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel ==> Downloading https://pypi.python.org/packages/92/ea/e7d512719dcc672ce7ed5d70f ==> Downloading from https://pypi.org/packages/92/ea/e7d512719dcc672ce7ed5d70f18 ######################################################################## 100.0% ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel Last 15 lines from /Users/xxx/Library/Logs/Homebrew/empire/11.python: generating cffi module 'build/temp.macosx-10.13-intel-2.7/_padding.c' generating cffi module 'build/temp.macosx-10.13-intel-2.7/_constant_time.c' generating cffi module 'build/temp.macosx-10.13-intel-2.7/_openssl.c' building '_openssl' extension creating build/temp.macosx-10.13-intel-2.7/build creating build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7 clang -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.13-intel-2.7/_openssl.c -o build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7/_openssl.o build/temp.macosx-10.13-intel-2.7/_openssl.c:2508:14: error: typedef redefinition with different types ('void' vs 'struct comp_method_st') typedef void COMP_METHOD; ^ /usr/local/opt/openssl/include/openssl/ossl_typ.h:181:31: note: previous definition is here typedef struct comp_method_st COMP_METHOD; ^ 1 error generated. error: command 'clang' failed with exit status 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/sidaf/homebrew-pentest/issues

Do you have any solution for this issue?

Thanks, Best regards

firewavemtl commented 6 years ago

Same here, for a bunch of sidaf' formulae.

sidaf commented 6 years ago

It seems to be due to the order that python modules are installed - I can't remember if brew uses easy_install or pip - but previously the install mechanism didn't check if a module dependancy was already installed, as long as it was there at runtime everything was OK, but it does seem to care now and bail. I'll have to go through and re-order the module installation list for each failing formula. If you can create a separate Issue for each failing formula then that would be of help.

sidaf commented 6 years ago

Alternatively, pull requests with fixes would be greatly welcomed! :-)

whatthehomepod commented 5 years ago

June 2018???? Still open....