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

Fail to create kubeval-validator image. #669

Open
patilsuraj767 opened this issue Feb 2, 2022 · 2 comments
Open

Fail to create kubeval-validator image. #669

patilsuraj767 opened this issue Feb 2, 2022 · 2 comments
Assignees
Labels
bug Something isn't working triage Needs evaluation by project members

Comments

@patilsuraj767
Copy link
Contributor

Describe the bug
Creating kubeval-validator image from Dockerfile fails while building airshipctl using 10_build_gate.sh.

Steps To Reproduce
Run ./tools/gate/10_build_gate.sh

Below errors are observed -

 "\u001b[91m  error: subprocess-exited-with-error",
    "  ",
    "  × python setup.py egg_info did not run successfully.",
    "  │ exit code: 1",
    "  ╰─> [3 lines of output]",
    "      sys.argv ['/tmp/pip-install-69ub2krz/ruamel-yaml-clib_ed9d9aa8a2924c0ea6a9bce9d95fc4bd/setup.py', 'egg_info', '--egg-base', '/tmp/pip-pip-egg-info-8ym3eg4n']",
    "      test compiling /tmp/tmp_ruamel_qbw8a5h3/test_ruamel_yaml.c -> test_ruamel_yaml compile error: /tmp/tmp_ruamel_qbw8a5h3/test_ruamel_yaml.c",
    "      Exception: command 'gcc' failed: No such file or directory",
    "      [end of output]",
_ruamel_yaml.c:6:10: fatal error: Python.h: No such file or directory",
    "          6 | #include \"Python.h\"",
    "            |          ^~~~~~~~~~",
    "      compilation terminated.",
    "      error: command '/usr/bin/gcc' failed with exit code 1",
@patilsuraj767 patilsuraj767 added bug Something isn't working triage Needs evaluation by project members labels Feb 2, 2022
@patilsuraj767
Copy link
Contributor Author

Please assign this issue to me.

@patilsuraj767
Copy link
Contributor Author

Proposed solution:
Airshipctl PS: https://review.opendev.org/c/airship/airshipctl/+/827417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs evaluation by project members
Projects
None yet
Development

No branches or pull requests

1 participant