-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
fedora docker build fails #59
Comments
Thanks you for the report. For clarification: you built the docker image from our Dockerfile and only modified the docker command line, right? |
Yes I followed https://github.com/managarm/bootstrap-managarm#creating-docker-image-and-container
|
So I think I know why vim fails, and I’ll try to fix that tomorrow. I’m curious why coreutils failed for you, do you have a error for that as well? |
https://gist.github.com/jaeheum/544c72f5fc6bdfd46d9f9b30a4c7dc47 has the config.log I don't like running as root even inside a docker image either... can we get the managarm chown'ed at the image creation time? |
Ah, so for the coreutils issue I think you need @avdgrinten. I don’t think we need root at any time during the build (image creation excluded, and even that can be done without due to libguestfs). I’ll need to verify the vim fix, I’m planning on having that done tomorrow |
As of 19a3074 the |
just tried running xbstrap with commit c226694 (HEAD -> master, origin/master, origin/HEAD)
|
Seems like you have an old xbstrap version, can you try upgrading xbstrap with |
The docker root issue is indeed not yet fixed, pinging @avdgrinten for that again |
is xbstrap 0.16 reasonably up-to-date? (it is giving me the same error) with
|
xbstrap 0.16 is up to date. It should not result in these validation errors. Is xbstrap inside the Docker image up to date? Regarding the configure error in binutils: it seems that the |
Running the documented docker build and run incatations on Fedora ends with |
post the exact commands you ran. the docker image has been used for development and in production for building for a few years, it should not result in bad file ownership if your users id is 1000 |
On Fedora 31, docker is an alias for podman ("rootless docker") and running the documented
ends with ~/managarm chown root:root. If I modify the docker/podman incantation to
then ~/managarm chown managarm_buildenv:managarm_buildenv and xbstrap runs ok. On Arch, I prefixed the documented docker incantation with sudo. |
Thank you for figuring this out. Strangely, on Debian (with Docker CE instead of podman), |
I assume this is a breakage in podman at the end of the day. I will have to investigate personally at some point. podmans intention clearly is to stay compatible with docker, but rootless, so this would seem like a problem. EDIT: aliasing docker to podman in |
I have tried the docker build on Fedora31 (5.8.13-100.fc31.x86_64, gcc 9.3.1) with a small modification to the docker incantation: append
:Z
to-v
and add-u root:root
to sharemanagarm
dir.xbstrap
fails with configuring vim (wide char issue)and
xbstrap install --all --keep-going
ends withI have never used xbstrap before and I'd appreciate some pointer. Thanks!
The text was updated successfully, but these errors were encountered: