Skip to content
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 build failed #8

Closed
mikkz opened this issue Apr 15, 2021 · 1 comment
Closed

Docker build failed #8

mikkz opened this issue Apr 15, 2021 · 1 comment

Comments

@mikkz
Copy link

mikkz commented Apr 15, 2021

Hello,

First of all, thanks for this action!

Just wanted to let you know that it seems having an issue with building the image for this action.

This is the step where the error occurs based on our build logs

  Step 4/8 : RUN pip install awscli
  
   ---> Running in b3840c14c6d2
  Collecting awscli
    Downloading https://files.pythonhosted.org/packages/69/60/b865ce91eb8965746cc673bc35eac63fe51aed41a757401e1c8bbb6534c9/awscli-1.19.52-py2.py3-none-any.whl (3.6MB)
  Collecting colorama<0.4.4,>=0.2.5 (from awscli)
    Downloading https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl
  Collecting PyYAML<5.5,>=3.10 (from awscli)
    Downloading https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz (175kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'error'
    Complete output from command /usr/bin/python2 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-sDunpv --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython:
    Collecting setuptools
      Downloading https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl (583kB)
    Collecting wheel
      Downloading https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl
    Collecting Cython
      Downloading https://files.pythonhosted.org/packages/d9/cd/0d2d90b27219c07f68f1c25bcc7b02dd27639d2180add9d4b73e70945869/Cython-0.29.23.tar.gz (2.1MB)
    Installing collected packages: setuptools, wheel, Cython
      Running setup.py install for Cython: started
        Running setup.py install for Cython: finished with status 'error'
        Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-4gCMSU/Cython/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-bOm1O8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-sDunpv --compile:
        Unable to find pgen, not compiling formal grammar.
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-x86_64-2.7
        copying cython.py -> build/lib.linux-x86_64-2.7
        creating build/lib.linux-x86_64-2.7/Cython
        copying Cython/Debugging.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/TestUtils.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/Utils.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/Coverage.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/Shadow.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/CodeWriter.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/__init__.py -> build/lib.linux-x86_64-2.7/Cython
        copying Cython/StringIOTree.py -> build/lib.linux-x86_64-2.7/Cython
        creating build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/Dependencies.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/Cythonize.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/Inline.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/BuildExecutable.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/IpythonMagic.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/Distutils.py -> build/lib.linux-x86_64-2.7/Cython/Build
        copying Cython/Build/__init__.py -> build/lib.linux-x86_64-2.7/Cython/Build
        creating build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Version.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/TypeInference.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Buffer.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/TreePath.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Symtab.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Future.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/TreeFragment.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/FlowControl.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/PyrexTypes.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/FusedNode.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Builtin.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Interpreter.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Annotate.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Nodes.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/CythonScope.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/AutoDocTransforms.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/CodeGeneration.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/Visitor.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/MemoryView.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Compiler/AnalysedTreeTransforms.py -> build/lib.linux-x86_64-2.7/Cython/Compiler
        copying Cython/Utility/CpdefEnums.pyx -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/MemoryView.pyx -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/TestCyUtilityLoader.pyx -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/TestCythonScope.pyx -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Builtins.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/ExtensionTypes.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/ImportExport.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/TypeConversion.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Profile.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/FunctionArguments.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/MemoryView_C.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Buffer.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/AsyncGen.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/CythonFunction.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/ModuleSetupCode.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Overflow.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/StringTools.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Printing.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Capsule.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Optimize.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/CMath.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Coroutine.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Embed.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/CommonStructures.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Exceptions.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/Complex.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/ObjectHandling.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/TestUtilityLoader.c -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/arrayarray.h -> build/lib.linux-x86_64-2.7/Cython/Utility
        copying Cython/Utility/CppSupport.cpp -> build/lib.linux-x86_64-2.7/Cython/Utility
        running build_ext
        building 'Cython.Plex.Scanners' extension
        creating build/temp.linux-x86_64-2.7
        creating build/temp.linux-x86_64-2.7/tmp
        creating build/temp.linux-x86_64-2.7/tmp/pip-install-4gCMSU
        creating build/temp.linux-x86_64-2.7/tmp/pip-install-4gCMSU/Cython
        creating build/temp.linux-x86_64-2.7/tmp/pip-install-4gCMSU/Cython/Cython
        creating build/temp.linux-x86_64-2.7/tmp/pip-install-4gCMSU/Cython/Cython/Plex
        gcc -fno-strict-aliasing -Os -fomit-frame-pointer -g -DNDEBUG -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/python2.7 -c /tmp/pip-install-4gCMSU/Cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-2.7/tmp/pip-install-4gCMSU/Cython/Cython/Plex/Scanners.o
        unable to execute 'gcc': No such file or directory
        error: command 'gcc' failed with exit status 1
    
        ----------------------------------------
    Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-4gCMSU/Cython/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-bOm1O8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-sDunpv --compile" failed with error code 1 in /tmp/pip-install-4gCMSU/Cython/
    
    ----------------------------------------
  Command "/usr/bin/python2 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-sDunpv --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython" failed with error code 1 in None
  The command '/bin/sh -c pip install awscli' returned a non-zero code: 1

Let me know if we could do something on our end to help fix this.

Thanks and Best Regards!
Mikko

@mikkz
Copy link
Author

mikkz commented Apr 15, 2021

Closing this issues since there is already an existing PR ConsenSys/kubernetes-action/pull/7 to fix this. Thanks!

@mikkz mikkz closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant