-
Notifications
You must be signed in to change notification settings - Fork 0
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
[x86_64-gcc10.2.0-linux5.9.13-uclibc1.0.36] Custom build ubuntu version of docker file is too old and archives 404, it also fails on other versions with the kernel headers, unable to extract them. #1
Comments
Fixed one of the problems by adding xz-utils to the docker script. |
Please, be more precise on what is the problem. Kernel headers have nothing to do with Ubuntu. What branch did you use? Do you have any logs from the fail? |
Latest x86_64 build - running make build gave me a bunch of 404s when trying to access the default version of ubuntu pulled from archives, so I switched to a newer version. (FROM ubuntu 18.04, second line of the Dockerfile). After getting past the 404 errors the next issue was an inability to cd into the linux kernel directory because the kernel xz files failed to extract until I added xz-utils near the comment # for bzip2 extraction also in the dockerfile. The third problem I had was was it getting stuck at a prompt for the system time but that was apparently a bug with a particular ubuntu build - just something to note. The fourth problem was on building uClibc itself. Since I had modified the settings of the .config files (needed IPV6 and the old version of utime.h) it detected the change during the build but the silentoldconfig option prevented the build from continuing. I switched it to just regular oldconfig and it continued. After all of that was done, it finally finished the container and I was able to run/sdk it. |
Here's a log of
|
Here's a relevant excerpt after upgrading Ubuntu in the Dockerfile to 18.04
Which actually doesn't exit but continues on until it tries to cd into the extracted directory, then it fails. |
silentoldconfig seemed to work on this build after editing the uclibc config file. I'm assuming I had some docker container garbage that broke things. |
20.04 is the ubuntu version where it gets stuck at a timezone configuration option, that would be a version to dodge in the future. Anyway, that's all I have. |
Ok, thanks for the information. This should be enough to identify the problem. I'll try to take a look and fix this as soon as I have some spare time. By the way, if you like, you can always pull prebuilt image from Docker Hub, or ready-to-use bundle from Github that you can use outside container. |
I tried everything up to Ubuntu 21:10 and still joy when it reaches step 2 on kernel headers.
The text was updated successfully, but these errors were encountered: