teamdfir / sift

SIFT
MIT License
483 stars 67 forks source link

[CLI] Ubuntu 16.04 failed to install SIFT.Failed to install packages: dpapick. #365

Closed saishandilya closed 5 years ago

saishandilya commented 5 years ago

hi @ekristen

I was trying to install SIFT on EC2 Ubuntu 16.04 Instance,Previously using Packages only command: sudo sift install --mode=packages-only --user=ubuntu

Initially,it was working fine..last couple of days it failed to launch due to the below errors.Could you please suggest how to fix the issue.

$ sudo sift install --mode=packages-only --user=ubuntu

sift-cli@1.7.1-master.f1177e4 sift-version: notinstalled

Installing and configuring SaltStack properly ...

downloading v2019.06.0

downloading sift-saltstack-v2019.06.0.tar.gz.asc downloading sift-saltstack-v2019.06.0.tar.gz.sha256 downloading sift-saltstack-v2019.06.0.tar.gz.sha256.asc downloading sift-saltstack-v2019.06.0.tar.gz validating file sift-saltstack-v2019.06.0.tar.gz validating signature for sift-saltstack-v2019.06.0.tar.gz.sha256 extracting update sift-saltstack-v2019.06.0.tar.gz performing update v2019.06.0 Log file: /var/cache/sift/cli/v2019.06.0/saltstack.log

Completed: python-software-properties (Took: 3188.055 ms) Completed: apt-transport-https (Took: 394.586 ms) Completed: deb https://apt.dockerproject.org/repo ubuntu-xenial main (Took: 4086.52 ms) Completed: sift-gift-dev (Took: 1575.801 ms) Completed: gift (Took: 7344.678 ms) Completed: /etc/apt/preferences.d/gift (Took: 27.409 ms) Completed: sift-dev (Took: 510.015 ms) Completed: sift-repo (Took: 7136.227 ms) Completed: /etc/apt/preferences.d/sift (Took: 7.126 ms) Completed: software-properties-common (Took: 11.283 ms) Completed: noobslab-themes (Took: 7302.381 ms) Completed: noobslab-icons (Took: 7561.696 ms) Completed: openjdk-repo (Took: 7705.58 ms) Completed: deb http://archive.ubuntu.com/ubuntu/ xenial multiverse (Took: 3779.926 ms) Completed: deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse (Took: 3820.047 ms) Completed: deb http://archive.ubuntu.com/ubuntu/ xenial universe (Took: 6512.488 ms) Completed: ubuntutweak (Took: 1.053 ms) Completed: sift-repos (Took: 1.034 ms) Completed: binplist (Took: 11.709 ms) Completed: unity-webapps-common (Took: 11.582 ms) Completed: aeskeyfind (Took: 2075.144 ms) Completed: afflib-tools (Took: 2375.533 ms) Completed: afterglow (Took: 2259.689 ms) Completed: aircrack-ng (Took: 3291.969 ms) Completed: apache2 (Took: 6793.632 ms) Completed: arp-scan (Took: 4001.737 ms) Completed: autopsy (Took: 5331.119 ms) Completed: bcrypt (Took: 2141.736 ms) Completed: bitpim (Took: 34311.286 ms) Completed: bitpim-lib (Took: 424.004 ms) Completed: bkhive (Took: 2123.319 ms) Completed: bless (Took: 15455.561 ms) Completed: blt (Took: 3011.353 ms) Completed: build-essential (Took: 11989.378 ms) Completed: bulk-extractor (Took: 136614.629 ms) Completed: cabextract (Took: 2502.836 ms) Completed: ccrypt (Took: 2578.861 ms) Completed: cifs-utils (Took: 5238.678 ms) Completed: clamav (Took: 5306.031 ms) Completed: cmospwd (Took: 2461.448 ms) Completed: cryptcat (Took: 2296.239 ms) Completed: cryptsetup (Took: 481.97 ms) Completed: curl (Took: 6.224 ms) Completed: dc3dd (Took: 2108.209 ms) Completed: dcfldd (Took: 2391.458 ms) Completed: dconf-tools (Took: 2748.726 ms) Completed: docker-engine (Took: 7538.753 ms) Completed: driftnet (Took: 2549.31 ms) Completed: dsniff (Took: 2495.729 ms) Completed: dumbpig (Took: 2301.889 ms) Completed: e2fslibs-dev (Took: 3752.477 ms) Completed: ent (Took: 2402.035 ms) Completed: epic5 (Took: 2412.207 ms) Completed: etherape (Took: 3735.23 ms) Completed: ettercap-graphical (Took: 2941.384 ms) Completed: exfat-fuse (Took: 2606.012 ms) Completed: exfat-utils (Took: 401.055 ms) Completed: exif (Took: 1953.389 ms) Completed: extundelete (Took: 2482.511 ms) Completed: fdupes (Took: 2412.3 ms) Completed: feh (Took: 2664.434 ms) Completed: flasm (Took: 2344.435 ms) Completed: flex (Took: 400.019 ms) Completed: foremost (Took: 1896.572 ms) Completed: g++ (Took: 405.269 ms) Completed: gawk (Took: 6.369 ms) Completed: gcc (Took: 6.156 ms) Completed: gdb (Took: 3367.536 ms) Completed: gddrescue (Took: 2496.547 ms) Completed: ghex (Took: 2949.468 ms) Completed: git (Took: 410.772 ms) Completed: graphviz (Took: 3116.163 ms) Completed: grepcidr (Took: 2497.585 ms) Completed: gthumb (Took: 17849.405 ms) Completed: gzrt (Took: 2679.588 ms) Completed: hexedit (Took: 2535.025 ms) Completed: htop (Took: 2582.636 ms) Completed: hydra (Took: 3548.239 ms) Completed: hydra-gtk (Took: 2654.332 ms) Completed: ipython (Took: 3516.625 ms) Completed: jq (Took: 2593.186 ms) Completed: kdiff3 (Took: 48602.823 ms) Completed: knocker (Took: 3264.282 ms) Completed: kpartx (Took: 2536.651 ms) Completed: lft (Took: 2458.279 ms) Completed: libafflib-dev (Took: 2356.721 ms) Completed: libafflib0v5 (Took: 436.968 ms) Completed: libbde (Took: 2982.033 ms) Completed: libbde-tools (Took: 2992.439 ms) Completed: libesedb (Took: 3249.392 ms) Completed: libesedb-tools (Took: 3085.426 ms) Completed: libevt (Took: 3287.053 ms) Completed: libevt-tools (Took: 3365.551 ms) Completed: libevtx (Took: 3330.916 ms) Completed: libevtx-tools (Took: 4417.335 ms) Completed: libewf (Took: 398.084 ms) Completed: libewf-dev (Took: 6.429 ms) Completed: libewf-python (Took: 2053.662 ms) Completed: libewf-tools (Took: 5517.712 ms) Completed: libffi-dev (Took: 3698.501 ms) Completed: libfuse-dev (Took: 4473.729 ms) Completed: libfvde (Took: 3591.22 ms) Completed: libfvde-tools (Took: 2751.441 ms) Completed: liblightgrep (Took: 406.411 ms) Completed: libmsiecf (Took: 2825.762 ms) Completed: libncurses5-dev (Took: 2573.179 ms) Completed: libnet1 (Took: 475.332 ms) Completed: libolecf (Took: 2915.419 ms) Completed: libparse-win32registry-perl (Took: 3774.874 ms) Completed: libpff (Took: 5832.708 ms) Completed: libpff-dev (Took: 7468.782 ms) Completed: libpff-python (Took: 2743.397 ms) Completed: libpff-tools (Took: 3463.92 ms) Completed: libplist-utils (Took: 2524.258 ms) Completed: libregf (Took: 3314.488 ms) Completed: libregf-dev (Took: 4998.744 ms) Completed: libregf-python (Took: 2727.568 ms) Completed: libregf-tools (Took: 3101.46 ms) Completed: libssl-dev (Took: 399.076 ms) Completed: libtext-csv-perl (Took: 3238.212 ms) Completed: libvmdk (Took: 4532.219 ms) Completed: libvshadow (Took: 4977.967 ms) Completed: libvshadow-dev (Took: 5501.698 ms) Completed: libvshadow-python (Took: 3401.704 ms) Completed: libvshadow-tools (Took: 2816.439 ms) Completed: libxml2-dev (Took: 5415.529 ms) Completed: libxslt-dev (Took: 4574.341 ms) Completed: md5deep (Took: 2727.2 ms) Completed: nbd-client (Took: 7881.414 ms) Completed: nbtscan (Took: 2489.606 ms) Completed: netcat (Took: 405.706 ms) Completed: netpbm (Took: 6.517 ms) Completed: netsed (Took: 2023.659 ms) Completed: netwox (Took: 3863.631 ms) Completed: nfdump (Took: 3552.145 ms) Completed: ngrep (Took: 2427.135 ms) Completed: nikto (Took: 3911.373 ms) Completed: okular (Took: 4386.707 ms) Completed: open-iscsi (Took: 476.852 ms) Completed: openjdk-7-jdk (Took: 6.297 ms) Completed: ophcrack (Took: 2407.054 ms) Completed: ophcrack-cli (Took: 2466.586 ms) Completed: outguess (Took: 2482.28 ms) Completed: p0f (Took: 2605.718 ms) Completed: p7zip-full (Took: 2650.466 ms) Completed: pdftk (Took: 5697.966 ms) Completed: perl (Took: 410.721 ms) Running: perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->e>> Completed: perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->edit(build_requires_install_policy => "yes"); $c->commit' (Took: 1.001 ms) Completed: pev (Took: 2389.64 ms) Completed: phonon (Took: 406.304 ms) Completed: pkg-config (Took: 2071.72 ms) Completed: python-plaso (Took: 415.779 ms) Completed: python-dfvfs (Took: 10.854 ms) Completed: python (Took: 6.245 ms) Completed: python3-xlsxwriter (Took: 10.939 ms) Completed: python-xlsxwriter (Took: 2621.227 ms) Completed: python-dfvfs (Took: 38529.056 ms) Completed: python-plaso (Took: 37923.995 ms) Completed: plaso-tools (Took: 61983.405 ms) Completed: /var/cache/sift/archives/powershell_6.0.0-alpha.13-1ubuntu1.16.04.1_amd64.deb (Took: 1346.548 ms) Completed: sift-powershell (Took: 6156.683 ms) Completed: pv (Took: 3002.306 ms) Completed: pyew (Took: 2675.785 ms) Completed: python-dev (Took: 5468.953 ms) Completed: python-flowgrep (Took: 2463.676 ms) Completed: python-fuse (Took: 2304.289 ms) Completed: python-nids (Took: 2323.949 ms) Completed: python-ntdsxtract (Took: 2560.792 ms) Completed: python-pefile (Took: 407.873 ms) Completed: python-pip (Took: 4251.47 ms) Completed: pytsk3 (Took: 411.83 ms) Completed: python-pytsk3 (Took: 6.163 ms) Completed: python-qt4 (Took: 2852.367 ms) Completed: python-tk (Took: 2329.31 ms) Completed: python-virtualenv (Took: 2861.816 ms) Completed: colorama (Took: 5308.743 ms) Completed: construct (Took: 5720.385 ms) Completed: dpapick (Took: 6387.27 ms) Completed: distorm3 (Took: 6734.52 ms) Completed: haystack (Took: 7863.927 ms) Completed: lxml (Took: 6189.285 ms) Completed: ioc_writer (Took: 5674.857 ms) Completed: pefile (Took: 2845.074 ms) Completed: pycoin (Took: 6025.911 ms) Completed: pysocks (Took: 6002.096 ms) Completed: simplejson (Took: 6695.081 ms) Completed: yara-python (Took: 14999.557 ms) Completed: python-volatility (Took: 10478.107 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/sift/ (Took: 151.223 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/malprocfind.py (Took: 1.173 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/idxparser.py (Took: 1.059 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/chromehistory.py (Took: 1.025 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/mimikatz.py (Took: 0.998 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/openioc_scan.py (Took: 0.992 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/pstotal.py (Took: 0.98 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/firefoxhistory.py (Took: 0.98 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/autoruns.py (Took: 0.981 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/malfinddeep.py (Took: 1.087 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/prefetch.py (Took: 1.04 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/baseline.py (Took: 0.994 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/ssdeepscan.py (Took: 0.996 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/uninstallinfo.py (Took: 0.998 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/trustrecords.py (Took: 0.978 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/usnparser.py (Took: 0.991 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/apihooksdeep.py (Took: 0.996 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/editbox.py (Took: 0.985 ms) Completed: /usr/lib/python2.7/dist-packages/volatility/plugins/javarat.py (Took: 1.007 ms) Completed: python-yara (Took: 6.81 ms) Completed: python3 (Took: 6.012 ms) Completed: python3-pip (Took: 7817.298 ms) Completed: qemu (Took: 13078.021 ms) Completed: qemu-utils (Took: 497.913 ms) Completed: radare2 (Took: 5332.161 ms) Completed: rar (Took: 2656.475 ms) Completed: readpst (Took: 2997.421 ms) Completed: rsakeyfind (Took: 2538.944 ms) Completed: safecopy (Took: 2523.792 ms) Completed: samba (Took: 8018.275 ms) Completed: samdump2 (Took: 437.435 ms) Completed: scalpel (Took: 2330.934 ms) Completed: sleuthkit (Took: 65.348 ms) Completed: socat (Took: 2591.531 ms) Completed: ssdeep (Took: 2612.201 ms) Completed: ssldump (Took: 2664.467 ms) Completed: sslsniff (Took: 2861.799 ms) Completed: stunnel4 (Took: 3298.334 ms) Completed: system-config-samba (Took: 4306.079 ms) Completed: tcl (Took: 2861.1 ms) Completed: tcpflow (Took: 3016.959 ms) Completed: tcpick (Took: 2487.434 ms) Completed: tcpreplay (Took: 2603.339 ms) Completed: tcpslice (Took: 2520.487 ms) Completed: tcpstat (Took: 2627.021 ms) Completed: tcptrace (Took: 2573.401 ms) Completed: tcptrack (Took: 2509.295 ms) Completed: tcpxtract (Took: 2505.983 ms) Completed: testdisk (Took: 2556.724 ms) Completed: tofrodos (Took: 2580.582 ms) Completed: transmission (Took: 3482.414 ms) Completed: unity-control-center (Took: 33268.927 ms) Completed: unrar (Took: 3353.03 ms) Completed: upx-ucl (Took: 3024.063 ms) Completed: vbindiff (Took: 2531.398 ms) Completed: vim (Took: 420.345 ms) Completed: virtuoso-minimal (Took: 3416.378 ms) Completed: vmfs-tools (Took: 2703.921 ms) Completed: winbind (Took: 4143.5 ms) Completed: dpkg --add-architecture i386 (Took: 91.407 ms) Completed: sift-wine-apt-update (Took: 83285.356 ms) Completed: wine (Took: 42668.619 ms) Completed: wireshark (Took: 43495.15 ms) Completed: xdot (Took: 4231.888 ms) Completed: xfsprogs (Took: 506.166 ms) Completed: xmount (Took: 3925.043 ms) Completed: xpdf (Took: 4491.001 ms) Completed: zenity (Took: 441.176 ms) Completed: git+https://github.com/dkovar/analyzeMFT.git@64c71d7c8905a119b7abdf9813e6ef5f11d3ccf1 (Took: 3258.953 ms) Completed: git+https://github.com/mbevilacqua/appcompatprocessor.git@46ba76a73fcf71640f2a6e9db02afaaac3e178b9 (Took: 35367.602 ms) Completed: argparse (Took: 4995.039 ms) Completed: bitstring (Took: 6132.325 ms) Completed: docopt (Took: 6031.599 ms) Completed: geoip2 (Took: 6816.69 ms) Completed: machinae (Took: 22992.494 ms) Completed: pip==9.0.1 (Took: 7289.261 ms) Completed: python-dateutil >= 2.4.2 (Took: 2368.438 ms) Completed: python-evtx (Took: 6691.761 ms) Completed: python-magic (Took: 2405.215 ms) Completed: python-registry (Took: 3138.683 ms) Completed: setuptools (Took: 4124.545 ms) Completed: wheel (Took: 2909.792 ms) Completed: /opt/rekall (Took: 149691.303 ms) Completed: rekall (Took: 1229.484 ms) Completed: /usr/local/bin/rekall (Took: 78.063 ms) Completed: six (Took: 1597.471 ms) Completed: stix (Took: 5300.393 ms) Completed: stix-validator (Took: 4127.311 ms) Completed: timesketch (Took: 44551.826 ms) Completed: unicodecsv (Took: 3230.295 ms) Completed: usnparser (Took: 3358.863 ms) Completed: virustotal-api (Took: 2588.276 ms) Completed: windowsprefetch (Took: 3168.655 ms) Completed: sift-python-packages (Took: 1.351 ms)

Incomplete due to Failures -- Success: 281, Failure: 4

List of Failures (first 10 only)

 NOTE: First failure is generally the root cause.

 IMPORTANT: If opening a ticket, please include this information.

  - ID: dpapick
    SLS: sift.python-packages.dpapick
    Run#: 177
    Comment: Failed to install packages: dpapick. Error: Collecting dpapick

Downloading https://files.pythonhosted.org/packages/44/5a/066f5d9791d3799a0d2cd52b44cfe9caecefa7be14013ceb79953d13014b/dpapick-0.3-py2-none-any.whl Collecting pyasn1>=0.1.7 (from dpapick) Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB) Collecting M2Crypto>=0.21.1 (from dpapick) Downloading https://files.pythonhosted.org/packages/52/e3/85f7ad64cd50b4c361b6533baeaa4d3919087993f24a93b34ae841a42628/M2Crypto-0.33.0.tar.gz (1.3MB) Collecting CFPropertyList (from dpapick) Downloading https://files.pythonhosted.org/packages/23/19/9b54460b5bc841a122672e7e25147f40b74320c683876a93b8c193d8b608/CFPropertyList-0.0.1.tar.gz Collecting python-registry>=1.0.4 (from dpapick) Downloading https://files.pythonhosted.org/packages/d6/19/a710a8509b4aa02b49cdf7bc992d0c03699b8a2d09b7dfee80005068b6df/python-registry-1.0.4.tar.gz Collecting typing (from M2Crypto>=0.21.1->dpapick) Downloading https://files.pythonhosted.org/packages/cc/3e/29f92b7aeda5b078c86d14f550bf85cff809042e3429ace7af6193c3bc9f/typing-3.6.6-py2-none-any.whl Collecting enum34 (from python-registry>=1.0.4->dpapick) Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Installing collected packages: pyasn1, typing, M2Crypto, CFPropertyList, enum34, python-registry, dpapick Found existing installation: pyasn1 0.1.9 Not uninstalling pyasn1 at /usr/lib/python2.7/dist-packages, outside environment /usr Running setup.py install for M2Crypto: started Running setup.py install for M2Crypto: finished with status 'error' Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-bIiHgu/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-yGfxsu-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/init.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto creating build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL running build_ext building 'M2Crypto._m2crypto' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/SWIG x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/tmp/pip-build-bIiHgu/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING SWIG/_m2crypto_wrap.c:4754:0: warning: "PyUnicode_FromString" redefined

define PyUnicode_FromString(x) PyString_FromString(x)

 ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from SWIG/_m2crypto_wrap.c:151:
/usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition
 # define PyUnicode_FromString PyUnicodeUCS4_FromString
 ^
SWIG/_m2crypto_wrap.c:4755:0: warning: "PyUnicode_Format" redefined
 #define PyUnicode_Format(x, y) PyString_Format(x, y)
 ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from SWIG/_m2crypto_wrap.c:151:
/usr/include/python2.7/unicodeobject.h:275:0: note: this is the location of the previous definition
 # define PyUnicode_Format PyUnicodeUCS4_Format
 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_num':
SWIG/_m2crypto_wrap.c:9882:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:9882:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:9882:26: note: each undeclared identifier is reported only once for each function it appears in
SWIG/_m2crypto_wrap.c:9882:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:9893:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:9894:17: warning: implicit declaration of function 'OPENSSL_sk_num' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_num((struct stack_st const *)arg1);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_value':
SWIG/_m2crypto_wrap.c:9904:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:9904:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:9904:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:9919:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:9925:20: warning: implicit declaration of function 'OPENSSL_sk_value' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_value((struct stack_st const *)arg1,arg2);
                    ^
SWIG/_m2crypto_wrap.c:9925:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_value((struct stack_st const *)arg1,arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_set':
SWIG/_m2crypto_wrap.c:9935:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:9935:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:9935:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:9953:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:9963:20: warning: implicit declaration of function 'OPENSSL_sk_set' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_set(arg1,arg2,(void const *)arg3);
                    ^
SWIG/_m2crypto_wrap.c:9963:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_set(arg1,arg2,(void const *)arg3);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_new':
SWIG/_m2crypto_wrap.c:9973:3: error: unknown type name 'OPENSSL_sk_compfunc'
   OPENSSL_sk_compfunc arg1 = (OPENSSL_sk_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:9973:31: error: 'OPENSSL_sk_compfunc' undeclared (first use in this function)
   OPENSSL_sk_compfunc arg1 = (OPENSSL_sk_compfunc) 0 ;
                               ^
SWIG/_m2crypto_wrap.c:9973:52: error: expected ',' or ';' before numeric constant
   OPENSSL_sk_compfunc arg1 = (OPENSSL_sk_compfunc) 0 ;
                                                    ^
SWIG/_m2crypto_wrap.c:9975:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *result = 0 ;
   ^
SWIG/_m2crypto_wrap.c:9984:13: error: 'OPENSSL_STACK' undeclared (first use in this function)
   result = (OPENSSL_STACK *)OPENSSL_sk_new(arg1);
             ^
SWIG/_m2crypto_wrap.c:9984:28: error: expected expression before ')' token
   result = (OPENSSL_STACK *)OPENSSL_sk_new(arg1);
                            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_new_null':
SWIG/_m2crypto_wrap.c:9994:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *result = 0 ;
   ^
SWIG/_m2crypto_wrap.c:9997:13: error: 'OPENSSL_STACK' undeclared (first use in this function)
   result = (OPENSSL_STACK *)OPENSSL_sk_new_null();
             ^
SWIG/_m2crypto_wrap.c:9997:28: error: expected expression before ')' token
   result = (OPENSSL_STACK *)OPENSSL_sk_new_null();
                            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_free':
SWIG/_m2crypto_wrap.c:10007:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10007:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10007:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10017:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10018:3: warning: implicit declaration of function 'OPENSSL_sk_free' [-Wimplicit-function-declaration]
   OPENSSL_sk_free(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_pop_free':
SWIG/_m2crypto_wrap.c:10028:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10028:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10028:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10040:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10047:3: warning: implicit declaration of function 'OPENSSL_sk_pop_free' [-Wimplicit-function-declaration]
   OPENSSL_sk_pop_free(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_deep_copy':
SWIG/_m2crypto_wrap.c:10057:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10057:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10057:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10058:3: error: unknown type name 'OPENSSL_sk_copyfunc'
   OPENSSL_sk_copyfunc arg2 = (OPENSSL_sk_copyfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10058:31: error: 'OPENSSL_sk_copyfunc' undeclared (first use in this function)
   OPENSSL_sk_copyfunc arg2 = (OPENSSL_sk_copyfunc) 0 ;
                               ^
SWIG/_m2crypto_wrap.c:10058:52: error: expected ',' or ';' before numeric constant
   OPENSSL_sk_copyfunc arg2 = (OPENSSL_sk_copyfunc) 0 ;
                                                    ^
SWIG/_m2crypto_wrap.c:10059:3: error: unknown type name 'OPENSSL_sk_freefunc'
   OPENSSL_sk_freefunc arg3 = (OPENSSL_sk_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10059:31: error: 'OPENSSL_sk_freefunc' undeclared (first use in this function)
   OPENSSL_sk_freefunc arg3 = (OPENSSL_sk_freefunc) 0 ;
                               ^
SWIG/_m2crypto_wrap.c:10059:52: error: expected ',' or ';' before numeric constant
   OPENSSL_sk_freefunc arg3 = (OPENSSL_sk_freefunc) 0 ;
                                                    ^
SWIG/_m2crypto_wrap.c:10065:18: error: 'result' undeclared (first use in this function)
   OPENSSL_STACK *result = 0 ;
                  ^
SWIG/_m2crypto_wrap.c:10072:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10085:28: error: expected expression before ')' token
   result = (OPENSSL_STACK *)OPENSSL_sk_deep_copy((struct stack_st const *)arg1,arg2,arg3);
                            ^
SWIG/_m2crypto_wrap.c:10057:18: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_insert':
SWIG/_m2crypto_wrap.c:10095:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10095:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10095:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10113:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10123:17: warning: implicit declaration of function 'OPENSSL_sk_insert' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_insert(arg1,(void const *)arg2,arg3);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_delete':
SWIG/_m2crypto_wrap.c:10133:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10133:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10133:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10148:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10154:20: warning: implicit declaration of function 'OPENSSL_sk_delete' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_delete(arg1,arg2);
                    ^
SWIG/_m2crypto_wrap.c:10154:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_delete(arg1,arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_delete_ptr':
SWIG/_m2crypto_wrap.c:10164:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10164:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10164:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10178:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10183:20: warning: implicit declaration of function 'OPENSSL_sk_delete_ptr' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_delete_ptr(arg1,(void const *)arg2);
                    ^
SWIG/_m2crypto_wrap.c:10183:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_delete_ptr(arg1,(void const *)arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_find':
SWIG/_m2crypto_wrap.c:10193:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10193:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10193:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10207:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10212:17: warning: implicit declaration of function 'OPENSSL_sk_find' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_find(arg1,(void const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_find_ex':
SWIG/_m2crypto_wrap.c:10222:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10222:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10222:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10236:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10241:17: warning: implicit declaration of function 'OPENSSL_sk_find_ex' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_find_ex(arg1,(void const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_push':
SWIG/_m2crypto_wrap.c:10251:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10251:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10251:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10265:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10270:17: warning: implicit declaration of function 'OPENSSL_sk_push' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_push(arg1,(void const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_unshift':
SWIG/_m2crypto_wrap.c:10280:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10280:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10280:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10294:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10299:17: warning: implicit declaration of function 'OPENSSL_sk_unshift' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_unshift(arg1,(void const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_shift':
SWIG/_m2crypto_wrap.c:10309:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10309:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10309:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10320:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10321:20: warning: implicit declaration of function 'OPENSSL_sk_shift' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_shift(arg1);
                    ^
SWIG/_m2crypto_wrap.c:10321:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_shift(arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_pop':
SWIG/_m2crypto_wrap.c:10331:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10331:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10331:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10342:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10343:20: warning: implicit declaration of function 'OPENSSL_sk_pop' [-Wimplicit-function-declaration]
   result = (void *)OPENSSL_sk_pop(arg1);
                    ^
SWIG/_m2crypto_wrap.c:10343:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (void *)OPENSSL_sk_pop(arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_zero':
SWIG/_m2crypto_wrap.c:10353:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10353:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10353:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10363:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10364:3: warning: implicit declaration of function 'OPENSSL_sk_zero' [-Wimplicit-function-declaration]
   OPENSSL_sk_zero(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_set_cmp_func':
SWIG/_m2crypto_wrap.c:10374:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10374:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10374:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10375:3: error: unknown type name 'OPENSSL_sk_compfunc'
   OPENSSL_sk_compfunc arg2 = (OPENSSL_sk_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10375:31: error: 'OPENSSL_sk_compfunc' undeclared (first use in this function)
   OPENSSL_sk_compfunc arg2 = (OPENSSL_sk_compfunc) 0 ;
                               ^
SWIG/_m2crypto_wrap.c:10375:52: error: expected ',' or ';' before numeric constant
   OPENSSL_sk_compfunc arg2 = (OPENSSL_sk_compfunc) 0 ;
                                                    ^
SWIG/_m2crypto_wrap.c:10380:23: error: expected ';' before 'result'
   OPENSSL_sk_compfunc result;
                       ^
SWIG/_m2crypto_wrap.c:10387:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10394:3: error: 'result' undeclared (first use in this function)
   result = (OPENSSL_sk_compfunc)OPENSSL_sk_set_cmp_func(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c:10394:33: error: expected ';' before 'OPENSSL_sk_set_cmp_func'
   result = (OPENSSL_sk_compfunc)OPENSSL_sk_set_cmp_func(arg1,arg2);
                                 ^
SWIG/_m2crypto_wrap.c:10374:18: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_dup':
SWIG/_m2crypto_wrap.c:10404:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10404:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10404:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10408:18: error: 'result' undeclared (first use in this function)
   OPENSSL_STACK *result = 0 ;
                  ^
SWIG/_m2crypto_wrap.c:10415:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10416:28: error: expected expression before ')' token
   result = (OPENSSL_STACK *)OPENSSL_sk_dup((struct stack_st const *)arg1);
                            ^
SWIG/_m2crypto_wrap.c:10404:18: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_sort':
SWIG/_m2crypto_wrap.c:10426:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10426:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10426:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10436:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10437:3: warning: implicit declaration of function 'OPENSSL_sk_sort' [-Wimplicit-function-declaration]
   OPENSSL_sk_sort(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_OPENSSL_sk_is_sorted':
SWIG/_m2crypto_wrap.c:10447:3: error: unknown type name 'OPENSSL_STACK'
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10447:26: error: 'OPENSSL_STACK' undeclared (first use in this function)
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                          ^
SWIG/_m2crypto_wrap.c:10447:41: error: expected expression before ')' token
   OPENSSL_STACK *arg1 = (OPENSSL_STACK *) 0 ;
                                         ^
SWIG/_m2crypto_wrap.c:10458:26: error: expected expression before ')' token
   arg1 = (OPENSSL_STACK *)(argp1);
                          ^
SWIG/_m2crypto_wrap.c:10459:17: warning: implicit declaration of function 'OPENSSL_sk_is_sorted' [-Wimplicit-function-declaration]
   result = (int)OPENSSL_sk_is_sorted((struct stack_st const *)arg1);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_STRING_new':
SWIG/_m2crypto_wrap.c:10522:3: error: unknown type name 'sk_OPENSSL_STRING_compfunc'
   sk_OPENSSL_STRING_compfunc arg1 = (sk_OPENSSL_STRING_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10522:38: error: 'sk_OPENSSL_STRING_compfunc' undeclared (first use in this function)
   sk_OPENSSL_STRING_compfunc arg1 = (sk_OPENSSL_STRING_compfunc) 0 ;
                                      ^
SWIG/_m2crypto_wrap.c:10522:66: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_STRING_compfunc arg1 = (sk_OPENSSL_STRING_compfunc) 0 ;
                                                                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_STRING_pop_free':
SWIG/_m2crypto_wrap.c:10776:3: error: unknown type name 'sk_OPENSSL_STRING_freefunc'
   sk_OPENSSL_STRING_freefunc arg2 = (sk_OPENSSL_STRING_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:10776:38: error: 'sk_OPENSSL_STRING_freefunc' undeclared (first use in this function)
   sk_OPENSSL_STRING_freefunc arg2 = (sk_OPENSSL_STRING_freefunc) 0 ;
                                      ^
SWIG/_m2crypto_wrap.c:10776:66: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_STRING_freefunc arg2 = (sk_OPENSSL_STRING_freefunc) 0 ;
                                                                  ^
In file included from /usr/include/openssl/crypto.h:129:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/err.h:124,
                 from SWIG/_m2crypto_wrap.c:3854:
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_STRING_find_ex':
SWIG/_m2crypto_wrap.c:10946:17: error: expected expression before 'struct'
   result = (int)sk_OPENSSL_STRING_find_ex(arg1,arg2);
                 ^
In file included from /usr/include/openssl/crypto.h:129:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/err.h:124,
                 from SWIG/_m2crypto_wrap.c:3854:
SWIG/_m2crypto_wrap.c:10946:17: error: expected expression before 'char'
   result = (int)sk_OPENSSL_STRING_find_ex(arg1,arg2);
                 ^
SWIG/_m2crypto_wrap.c:10925:9: warning: variable 'arg2' set but not used [-Wunused-but-set-variable]
   char *arg2 = (char *) 0 ;
         ^
SWIG/_m2crypto_wrap.c:10924:35: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   struct stack_st_OPENSSL_STRING *arg1 = (struct stack_st_OPENSSL_STRING *) 0 ;
                                   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_STRING_deep_copy':
SWIG/_m2crypto_wrap.c:11024:3: error: unknown type name 'sk_OPENSSL_STRING_copyfunc'
   sk_OPENSSL_STRING_copyfunc arg2 = (sk_OPENSSL_STRING_copyfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11024:38: error: 'sk_OPENSSL_STRING_copyfunc' undeclared (first use in this function)
   sk_OPENSSL_STRING_copyfunc arg2 = (sk_OPENSSL_STRING_copyfunc) 0 ;
                                      ^
SWIG/_m2crypto_wrap.c:11024:66: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_STRING_copyfunc arg2 = (sk_OPENSSL_STRING_copyfunc) 0 ;
                                                                  ^
SWIG/_m2crypto_wrap.c:11025:3: error: unknown type name 'sk_OPENSSL_STRING_freefunc'
   sk_OPENSSL_STRING_freefunc arg3 = (sk_OPENSSL_STRING_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11025:38: error: 'sk_OPENSSL_STRING_freefunc' undeclared (first use in this function)
   sk_OPENSSL_STRING_freefunc arg3 = (sk_OPENSSL_STRING_freefunc) 0 ;
                                      ^
SWIG/_m2crypto_wrap.c:11025:66: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_STRING_freefunc arg3 = (sk_OPENSSL_STRING_freefunc) 0 ;
                                                                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_STRING_set_cmp_func':
SWIG/_m2crypto_wrap.c:11062:3: error: unknown type name 'sk_OPENSSL_STRING_compfunc'
   sk_OPENSSL_STRING_compfunc arg2 = (sk_OPENSSL_STRING_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11062:38: error: 'sk_OPENSSL_STRING_compfunc' undeclared (first use in this function)
   sk_OPENSSL_STRING_compfunc arg2 = (sk_OPENSSL_STRING_compfunc) 0 ;
                                      ^
SWIG/_m2crypto_wrap.c:11062:66: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_STRING_compfunc arg2 = (sk_OPENSSL_STRING_compfunc) 0 ;
                                                                  ^
SWIG/_m2crypto_wrap.c:11067:30: error: expected ';' before 'result'
   sk_OPENSSL_STRING_compfunc result;
                              ^
SWIG/_m2crypto_wrap.c:11081:3: error: 'result' undeclared (first use in this function)
   result = (sk_OPENSSL_STRING_compfunc)sk_OPENSSL_STRING_set_cmp_func(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_num':
SWIG/_m2crypto_wrap.c:11103:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_num' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_num((struct stack_st_OPENSSL_CSTRING const *)arg1);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_value':
SWIG/_m2crypto_wrap.c:11134:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_value' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_value((struct stack_st_OPENSSL_CSTRING const *)arg1,arg2);
                    ^
SWIG/_m2crypto_wrap.c:11134:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_value((struct stack_st_OPENSSL_CSTRING const *)arg1,arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_new':
SWIG/_m2crypto_wrap.c:11144:3: error: unknown type name 'sk_OPENSSL_CSTRING_compfunc'
   sk_OPENSSL_CSTRING_compfunc arg1 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11144:39: error: 'sk_OPENSSL_CSTRING_compfunc' undeclared (first use in this function)
   sk_OPENSSL_CSTRING_compfunc arg1 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
                                       ^
SWIG/_m2crypto_wrap.c:11144:68: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_CSTRING_compfunc arg1 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
                                                                    ^
SWIG/_m2crypto_wrap.c:11155:47: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_new' [-Wimplicit-function-declaration]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_new(arg1);
                                               ^
SWIG/_m2crypto_wrap.c:11155:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_new(arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_new_null':
SWIG/_m2crypto_wrap.c:11168:47: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_new_null' [-Wimplicit-function-declaration]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_new_null();
                                               ^
SWIG/_m2crypto_wrap.c:11168:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_new_null();
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_free':
SWIG/_m2crypto_wrap.c:11189:3: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_free' [-Wimplicit-function-declaration]
   sk_OPENSSL_CSTRING_free(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_zero':
SWIG/_m2crypto_wrap.c:11210:3: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_zero' [-Wimplicit-function-declaration]
   sk_OPENSSL_CSTRING_zero(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_delete':
SWIG/_m2crypto_wrap.c:11241:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_delete' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_delete(arg1,arg2);
                    ^
SWIG/_m2crypto_wrap.c:11241:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_delete(arg1,arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_delete_ptr':
SWIG/_m2crypto_wrap.c:11273:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_delete_ptr' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_delete_ptr(arg1,(char const *)arg2);
                    ^
SWIG/_m2crypto_wrap.c:11273:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_delete_ptr(arg1,(char const *)arg2);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_push':
SWIG/_m2crypto_wrap.c:11307:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_push' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_push(arg1,(char const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_unshift':
SWIG/_m2crypto_wrap.c:11341:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_unshift' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_unshift(arg1,(char const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_pop':
SWIG/_m2crypto_wrap.c:11365:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_pop' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_pop(arg1);
                    ^
SWIG/_m2crypto_wrap.c:11365:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_pop(arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_shift':
SWIG/_m2crypto_wrap.c:11387:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_shift' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_shift(arg1);
                    ^
SWIG/_m2crypto_wrap.c:11387:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_shift(arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_pop_free':
SWIG/_m2crypto_wrap.c:11398:3: error: unknown type name 'sk_OPENSSL_CSTRING_freefunc'
   sk_OPENSSL_CSTRING_freefunc arg2 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11398:39: error: 'sk_OPENSSL_CSTRING_freefunc' undeclared (first use in this function)
   sk_OPENSSL_CSTRING_freefunc arg2 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
                                       ^
SWIG/_m2crypto_wrap.c:11398:68: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_CSTRING_freefunc arg2 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
                                                                    ^
SWIG/_m2crypto_wrap.c:11416:3: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_pop_free' [-Wimplicit-function-declaration]
   sk_OPENSSL_CSTRING_pop_free(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_insert':
SWIG/_m2crypto_wrap.c:11457:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_insert' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_insert(arg1,(char const *)arg2,arg3);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_set':
SWIG/_m2crypto_wrap.c:11500:20: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_set' [-Wimplicit-function-declaration]
   result = (char *)sk_OPENSSL_CSTRING_set(arg1,arg2,(char const *)arg3);
                    ^
SWIG/_m2crypto_wrap.c:11500:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (char *)sk_OPENSSL_CSTRING_set(arg1,arg2,(char const *)arg3);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_find':
SWIG/_m2crypto_wrap.c:11534:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_find' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_find(arg1,(char const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_find_ex':
SWIG/_m2crypto_wrap.c:11568:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_find_ex' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_find_ex(arg1,(char const *)arg2);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_sort':
SWIG/_m2crypto_wrap.c:11591:3: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_sort' [-Wimplicit-function-declaration]
   sk_OPENSSL_CSTRING_sort(arg1);
   ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_is_sorted':
SWIG/_m2crypto_wrap.c:11613:17: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_is_sorted' [-Wimplicit-function-declaration]
   result = (int)sk_OPENSSL_CSTRING_is_sorted((struct stack_st_OPENSSL_CSTRING const *)arg1);
                 ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_dup':
SWIG/_m2crypto_wrap.c:11635:47: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_dup' [-Wimplicit-function-declaration]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_dup((struct stack_st_OPENSSL_CSTRING const *)arg1);
                                               ^
SWIG/_m2crypto_wrap.c:11635:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_dup((struct stack_st_OPENSSL_CSTRING const *)arg1);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_deep_copy':
SWIG/_m2crypto_wrap.c:11646:3: error: unknown type name 'sk_OPENSSL_CSTRING_copyfunc'
   sk_OPENSSL_CSTRING_copyfunc arg2 = (sk_OPENSSL_CSTRING_copyfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11646:39: error: 'sk_OPENSSL_CSTRING_copyfunc' undeclared (first use in this function)
   sk_OPENSSL_CSTRING_copyfunc arg2 = (sk_OPENSSL_CSTRING_copyfunc) 0 ;
                                       ^
SWIG/_m2crypto_wrap.c:11646:68: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_CSTRING_copyfunc arg2 = (sk_OPENSSL_CSTRING_copyfunc) 0 ;
                                                                    ^
SWIG/_m2crypto_wrap.c:11647:3: error: unknown type name 'sk_OPENSSL_CSTRING_freefunc'
   sk_OPENSSL_CSTRING_freefunc arg3 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11647:39: error: 'sk_OPENSSL_CSTRING_freefunc' undeclared (first use in this function)
   sk_OPENSSL_CSTRING_freefunc arg3 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
                                       ^
SWIG/_m2crypto_wrap.c:11647:68: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_CSTRING_freefunc arg3 = (sk_OPENSSL_CSTRING_freefunc) 0 ;
                                                                    ^
SWIG/_m2crypto_wrap.c:11673:47: warning: implicit declaration of function 'sk_OPENSSL_CSTRING_deep_copy' [-Wimplicit-function-declaration]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_deep_copy((struct stack_st_OPENSSL_CSTRING const *)arg1,arg2,arg3);
                                               ^
SWIG/_m2crypto_wrap.c:11673:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   result = (struct stack_st_OPENSSL_CSTRING *)sk_OPENSSL_CSTRING_deep_copy((struct stack_st_OPENSSL_CSTRING const *)arg1,arg2,arg3);
            ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_CSTRING_set_cmp_func':
SWIG/_m2crypto_wrap.c:11684:3: error: unknown type name 'sk_OPENSSL_CSTRING_compfunc'
   sk_OPENSSL_CSTRING_compfunc arg2 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11684:39: error: 'sk_OPENSSL_CSTRING_compfunc' undeclared (first use in this function)
   sk_OPENSSL_CSTRING_compfunc arg2 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
                                       ^
SWIG/_m2crypto_wrap.c:11684:68: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_CSTRING_compfunc arg2 = (sk_OPENSSL_CSTRING_compfunc) 0 ;
                                                                    ^
SWIG/_m2crypto_wrap.c:11689:31: error: expected ';' before 'result'
   sk_OPENSSL_CSTRING_compfunc result;
                               ^
SWIG/_m2crypto_wrap.c:11703:3: error: 'result' undeclared (first use in this function)
   result = (sk_OPENSSL_CSTRING_compfunc)sk_OPENSSL_CSTRING_set_cmp_func(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c:11703:41: error: expected ';' before 'sk_OPENSSL_CSTRING_set_cmp_func'
   result = (sk_OPENSSL_CSTRING_compfunc)sk_OPENSSL_CSTRING_set_cmp_func(arg1,arg2);
                                         ^
SWIG/_m2crypto_wrap.c:11683:36: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   struct stack_st_OPENSSL_CSTRING *arg1 = (struct stack_st_OPENSSL_CSTRING *) 0 ;
                                    ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_BLOCK_new':
SWIG/_m2crypto_wrap.c:11766:3: error: unknown type name 'sk_OPENSSL_BLOCK_compfunc'
   sk_OPENSSL_BLOCK_compfunc arg1 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:11766:37: error: 'sk_OPENSSL_BLOCK_compfunc' undeclared (first use in this function)
   sk_OPENSSL_BLOCK_compfunc arg1 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
                                     ^
SWIG/_m2crypto_wrap.c:11766:64: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_BLOCK_compfunc arg1 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
                                                                ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_BLOCK_pop_free':
SWIG/_m2crypto_wrap.c:12005:3: error: unknown type name 'sk_OPENSSL_BLOCK_freefunc'
   sk_OPENSSL_BLOCK_freefunc arg2 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:12005:37: error: 'sk_OPENSSL_BLOCK_freefunc' undeclared (first use in this function)
   sk_OPENSSL_BLOCK_freefunc arg2 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
                                     ^
SWIG/_m2crypto_wrap.c:12005:64: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_BLOCK_freefunc arg2 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
                                                                ^
In file included from /usr/include/openssl/crypto.h:129:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/err.h:124,
                 from SWIG/_m2crypto_wrap.c:3854:
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_BLOCK_find_ex':
SWIG/_m2crypto_wrap.c:12157:17: error: expected expression before 'struct'
   result = (int)sk_OPENSSL_BLOCK_find_ex(arg1,arg2);
                 ^
In file included from /usr/include/openssl/crypto.h:129:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/err.h:124,
                 from SWIG/_m2crypto_wrap.c:3854:
SWIG/_m2crypto_wrap.c:12157:17: error: expected expression before 'void'
   result = (int)sk_OPENSSL_BLOCK_find_ex(arg1,arg2);
                 ^
SWIG/_m2crypto_wrap.c:12138:34: warning: variable 'arg1' set but not used [-Wunused-but-set-variable]
   struct stack_st_OPENSSL_BLOCK *arg1 = (struct stack_st_OPENSSL_BLOCK *) 0 ;
                                  ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_BLOCK_deep_copy':
SWIG/_m2crypto_wrap.c:12233:3: error: unknown type name 'sk_OPENSSL_BLOCK_copyfunc'
   sk_OPENSSL_BLOCK_copyfunc arg2 = (sk_OPENSSL_BLOCK_copyfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:12233:37: error: 'sk_OPENSSL_BLOCK_copyfunc' undeclared (first use in this function)
   sk_OPENSSL_BLOCK_copyfunc arg2 = (sk_OPENSSL_BLOCK_copyfunc) 0 ;
                                     ^
SWIG/_m2crypto_wrap.c:12233:64: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_BLOCK_copyfunc arg2 = (sk_OPENSSL_BLOCK_copyfunc) 0 ;
                                                                ^
SWIG/_m2crypto_wrap.c:12234:3: error: unknown type name 'sk_OPENSSL_BLOCK_freefunc'
   sk_OPENSSL_BLOCK_freefunc arg3 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:12234:37: error: 'sk_OPENSSL_BLOCK_freefunc' undeclared (first use in this function)
   sk_OPENSSL_BLOCK_freefunc arg3 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
                                     ^
SWIG/_m2crypto_wrap.c:12234:64: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_BLOCK_freefunc arg3 = (sk_OPENSSL_BLOCK_freefunc) 0 ;
                                                                ^
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_OPENSSL_BLOCK_set_cmp_func':
SWIG/_m2crypto_wrap.c:12271:3: error: unknown type name 'sk_OPENSSL_BLOCK_compfunc'
   sk_OPENSSL_BLOCK_compfunc arg2 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
   ^
SWIG/_m2crypto_wrap.c:12271:37: error: 'sk_OPENSSL_BLOCK_compfunc' undeclared (first use in this function)
   sk_OPENSSL_BLOCK_compfunc arg2 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
                                     ^
SWIG/_m2crypto_wrap.c:12271:64: error: expected ',' or ';' before numeric constant
   sk_OPENSSL_BLOCK_compfunc arg2 = (sk_OPENSSL_BLOCK_compfunc) 0 ;
                                                                ^
SWIG/_m2crypto_wrap.c:12276:29: error: expected ';' before 'result'
   sk_OPENSSL_BLOCK_compfunc result;
                             ^
SWIG/_m2crypto_wrap.c:12290:3: error: 'result' undeclared (first use in this function)
   result = (sk_OPENSSL_BLOCK_compfunc)sk_OPENSSL_BLOCK_set_cmp_func(arg1,arg2);
   ^
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:5671:1: warning: 'BIO_meth_free' defined but not used [-Wunused-function]
 BIO_meth_free( BIO_METHOD *meth )
 ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

---------------------------------------- The directory '/home/ssm-user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

The directory '/home/ssm-user/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-bIiHgu/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-yGfxsu-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-bIiHgu/M2Crypto/ You are using pip version 8.1.1, however version 19.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

ghost commented 5 years ago

I ran into the same issue.

This might help: https://github.com/teamdfir/sift/issues/224

I installed a few other packages as well so I'm not sure what the true fix was. When I have time, I'll run through another clean install and give it another go.

ghost commented 5 years ago

I think this will do it. sudo pip uninstall m2crypto sudo apt install python-m2crypto sudo apt install python3-pip --reinstall sudo pip install dpapick sudo sift install - should then work, at least that's what I just did on a 2nd VM that was in a borked state.

saishandilya commented 5 years ago

@saltydog4n6

Thanks for the help.I tried integrating the above set of commands as a part of my script,everything went well.It is now able to install SIFT without any failures.