mitre / multiscanner

Modular file scanning/analysis framework
http://multiscanner.readthedocs.io/
Other
617 stars 125 forks source link

ERROR: Service 'web' failed to build : Build failed when running 'docker-compose up --build' #210

Open mmuncan1980 opened 1 year ago

mmuncan1980 commented 1 year ago

`Collecting reportlab Downloading reportlab-3.6.12.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 29.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output]

setup-python-3.10.9-linux-x86_64: ================================================
  ##### setup-python-3.10.9-linux-x86_64: Attempting build of _rl_accel
  ##### setup-python-3.10.9-linux-x86_64: extensions from 'src/rl_addons/rl_accel'
  ##### setup-python-3.10.9-linux-x86_64: ================================================
  ##### setup-python-3.10.9-linux-x86_64: ===================================================
  ##### setup-python-3.10.9-linux-x86_64: Attempting build of _renderPM
  ##### setup-python-3.10.9-linux-x86_64: extensions from 'src/rl_addons/renderPM'
  ##### setup-python-3.10.9-linux-x86_64: ===================================================
  ##### setup-python-3.10.9-linux-x86_64: will use package libart 2.3.21
  !!!!! cannot find ft2build.h
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. The command '/bin/sh -c apk add --no-cache bash bison file jansson jpeg libffi python3 su-exec tini zip zlib && apk add --no-cache -t .build-deps autoconf automake build-base file-dev flex git jansson-dev jpeg-dev libc-dev libffi-dev libtool musl-dev postgresql-dev py3-pip python3-dev zlib-dev && echo "Install ssdeep from source..." && cd /tmp && wget -O /tmp/$SSDEEP.tar.gz https://downloads.sourceforge.net/project/ssdeep/$SSDEEP/$SSDEEP.tar.gz && tar zxvf $SSDEEP.tar.gz && cd $SSDEEP && ./configure && make && make install && echo "Install Yara from source..." && cd /tmp/ && git clone --recursive --branch v$YARA_VERSION https://github.com/VirusTotal/yara.git && cd /tmp/yara && ./bootstrap.sh && sync && ./configure --with-crypto --enable-magic --enable-cuckoo --enable-dotnet && make && make install && echo "Install yara-python..." && cd /tmp/ && git clone --recursive --branch v$YARA_PY_VERSION https://github.com/VirusTotal/yara-python && cd yara-python && python3 setup.py build --dynamic-linking && python3 setup.py install && echo "Downloading yara signatures..." && git clone --depth 1 https://github.com/Yara-Rules/rules.git /opt/multiscanner/etc/yarasigs/Yara-Rules && cd /opt/multiscanner && pip3 install --upgrade pip && pip3 install -r requirements.txt && rm -rf /tmp/* && apk del --purge .build-deps' returned a non-zero code: 1 ERROR: Service 'web' failed to build : Build failed`

any solution to this? =)

sz55net commented 10 months ago

I'm also experiencing this issue.