Skip to content

Unnecessary to install kernel-devel-$(uname -r) in manylinux1 builder container ? #1056

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

Closed
xuyang2 opened this issue Apr 2, 2021 · 2 comments

Comments

@xuyang2
Copy link

xuyang2 commented Apr 2, 2021

Is seems unnecessary to yum install kernel-devel-$(uname -r) in the centos:5 container.
Anyway, uname -r in the container returns the kernel release of the host.

Code:

diffutils \
expat-devel \
gettext \
kernel-devel-`uname -r` \
file \
make \
patch \

Build log:
https://github.com/pypa/manylinux/runs/2192738056?check_suite_focus=true#step:3:380

 + yum -y install automake bison bzip2 cmake28 devtoolset-2-binutils devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran diffutils expat-devel gettext kernel-devel-5.4.0-1041-azure file make patch unzip which yasm zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gpg libffi-devel
Reducing CentOS-5 - libselinux to included packages only
Finished
Setting up Install Process
Package diffutils-2.8.1-16.el5.x86_64 already installed and latest version
No package kernel-devel-5.4.0-1041-azure available.
@xuyang2 xuyang2 changed the title Unnecessary to install kernel-devel in container? Maybe unnecessary to install kernel-devel in build container ? Apr 2, 2021
@xuyang2 xuyang2 changed the title Maybe unnecessary to install kernel-devel in build container ? Maybe unnecessary to install kernel-devel in builder container ? Apr 2, 2021
@xuyang2 xuyang2 changed the title Maybe unnecessary to install kernel-devel in builder container ? Unnecessary to install kernel-devel in builder container ? Apr 2, 2021
@xuyang2
Copy link
Author

xuyang2 commented Apr 2, 2021

@xuyang2 xuyang2 changed the title Unnecessary to install kernel-devel in builder container ? Unnecessary to install kernel-devel-uname -r in builder container ? Apr 2, 2021
@xuyang2 xuyang2 changed the title Unnecessary to install kernel-devel-uname -r in builder container ? Unnecessary to install kernel-devel-${uname -r} in builder container ? Apr 2, 2021
@xuyang2 xuyang2 changed the title Unnecessary to install kernel-devel-${uname -r} in builder container ? Unnecessary to install kernel-devel-$(uname -r) in builder container ? Apr 2, 2021
@xuyang2 xuyang2 changed the title Unnecessary to install kernel-devel-$(uname -r) in builder container ? Unnecessary to install kernel-devel-$(uname -r) in manylinux1 builder container ? Apr 2, 2021
mayeut added a commit to mayeut/manylinux that referenced this issue Apr 4, 2021
Remove useless kernel-devel-`uname -r` dependency

The package doesn't exist and thus is not installed.
Fix pypa#1056
mayeut added a commit that referenced this issue Apr 4, 2021
Remove useless kernel-devel-`uname -r` dependency

The package doesn't exist and thus is not installed.
Fix #1056
@mayeut
Copy link
Member

mayeut commented Apr 4, 2021

Thanks for the report. This is now fixed.

@mayeut mayeut closed this as completed Apr 4, 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

2 participants