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
Fix for build error on aarch64 with ERROR in function check_loop_device #3831
Conversation
After adding this fix, I began to regularly get the problem (no device found) of assembling images on different ARM devices and on x86 devices, after canceling this fix, the error disappeared. Does anyone else encounter the appearance of a build error with this fix. ? |
Does it fail with error or silently? |
With an error and a message is issued and the assembly is interrupted. |
My builds started failing reliably a while back. I'm pretty sure it's this change. The image build process always fails with an error about a loop partition not existing. I'll try a new build with this backed out and update here whether or not it starts working again. |
My build finally worked again with this change reverted. |
@iav reverting or ? |
revert, please. will look for other solution. |
I'm testing a fix that might work (I want to at least make sure it doesn't reintroduce any breakage). |
…oop_device (armbian#3831)" This reverts commit 8d16d9f. Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
My build completed with the above referenced commits. However, I can't say if it will fix the original poster's problem. Theoretically it should, and it's certainly more correct than what's in this pull request, but the original poster would need to try it and see. |
I think we can add this fix and observe the behavior of the build, if there are problems, we can think about other options. |
On my odroid build with 0fe46f3 causes
|
I suggest the current PR that adds -P to roll back, because it causes a problem for several different people, which clearly indicates that it creates a problem. Continue searching for a solution to the problem.
I think this is your local problem, no one has had similar problems before, and after that PR, on the contrary, they appeared in different people. I may be wrong, but it may be related to errors in your system (problems with the file system, lack of free space, outdated packages, etc.). |
…oop_device (armbian#3831)" (armbian#4027) This reverts commit 8d16d9f.
Image building in ubuntu jammy on aarch64 platform breaks with diagnostic
I found there no /dev/loop0p1 devices for partitions after loop mounting. Only on aarch64. On x64 devices for partitions are present.
Then I found adding -P to
losetup
fixes it.How Has This Been Tested?
Checklist: