Giter VIP home page Giter VIP logo

Comments (3)

ch40s avatar ch40s commented on June 11, 2024

The error context deadline exceeded was caused by the kernel configuration.
If you have the same issue you can use this script to check your kernel config: https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh

The error I'm getting now is:

UMPIRE - DEBUG:Step 9/13 : RUN pip install --no-warn-script-location --prefix="/install" -r /requirements.txt
...
UMPIRE - DEBUG:Downloading https://files.pythonhosted.org/packages/be/60/da377e1bed002716fb2d5d1d1cab720f298cb33ecff7bf7adea72788e4e4/cryptography-2.8.tar.gz (504kB)
UMPIRE - DEBUG:Installing build dependencies: started
UMPIRE - DEBUG:Installing build dependencies: finished with status 'error'
UMPIRE - DEBUG:  ERROR: Command errored out with exit status 1:
...
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
       #include <ffi.h>
                ^~~~~~~
      compilation terminated.
      error: command 'gcc' failed with exit status 1
...
UMPIRE - ERROR:The command '/bin/sh -c pip install --no-warn-script-location --prefix="/install" -r /requirements.txt' returned a non-zero code: 1

I have already installed libssl-dev, libffi-dev, python3-dev.

from walkoff.

ch40s avatar ch40s commented on June 11, 2024

The error above ffi.h: No such file or directory and a similar one goes away after doing the changes mentioned in #252 (install libffi-dev and libssl-dev via app_sdk/Dockerfile).

The new error I'm getting is the following. I assume gcc is missing and needs to be installed but not sure yet exactly where this should be implemented.

UMPIRE - DEBUG:Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
UMPIRE - DEBUG:Unpacking perl-modules-5.28 (5.28.1-6) ...
UMPIRE - DEBUG:Running setup.py install for multidict: finished with status 'error'
UMPIRE - DEBUG:    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-asqaj_7e/multidict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-asqaj_7e/multidict/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.
close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-f_pxx0ji/install-record.txt --single-version-externally-managed --prefix /install --compile
         cwd: /tmp/pip-install-asqaj_7e/multidict/
...
building 'multidict._multidict' extension
    creating build/temp.linux-armv7l-3.7
    creating build/temp.linux-armv7l-3.7/multidict
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c multidict/_multidict.c -o build/temp.linux-armv7l-3.7/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1

from walkoff.

emrodas10 avatar emrodas10 commented on June 11, 2024

It looks like you didn't add that line to the umpire Dockerfile. I'm going to go ahead and close this issue, pull your change to app_sdk, and add that line to the umpire. Let me know if this is still an issue.

from walkoff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.