unikraft / app-python3

Unikraft Python3 app repo
12 stars 9 forks source link

Error in kraft build #26

Open daihuasheng opened 3 months ago

daihuasheng commented 3 months ago

I installed kraft v0.8.1 and execute "kraft build" for qemu/x86_64, which reported:

 W  /host/app-python3/.unikraft/unikraft/lib/uksched/sched.c:38:10: fatal error: sys/membarrier.h: No such file or directory
 W     38 | #include <sys/membarrier.h>
 W        |          ^~~~~~~~~~~~~~~~~~
 W  compilation terminated.
 W  make[1]: *** [/host/app-python3/.unikraft/unikraft/support/build/Makefile.build:27: /host/app-python3/.unikraft/build/libuksched/sched.o] Error 1

I have no idea why this happened. Would you please give me some advice? Thank you a lot.

StefanJum commented 3 months ago

This should have been fixed yesterday, did you try it now or is it an older issue?

daihuasheng commented 3 months ago

I tried "kraft build" again and the results remain the same. What had been changed yesterday?

StefanJum commented 3 months ago

What had been changed yesterday?

This commit was merged https://github.com/unikraft/lib-musl/commit/fd1abc9257b40a74c69b3a40467a453bf8892439

Maybe try a kraft clean --proper and then kraft build again. If it still does not work, I'll try to reproduce it on my end.

daihuasheng commented 3 months ago

Maybe try a kraft clean --proper and then kraft build again. If it still does not work, I'll try to reproduce it on my end.

It did not work still. The error report remained the same.

StefanJum commented 3 months ago

On Thu, Mar 28, 2024 at 07:23:36PM -0700, Sheng wrote:

Maybe try a kraft clean --proper and then kraft build again. If it still does not work, I'll try to reproduce it on my end.

It did not work still. The error report remained the same.

Ok. I'll try it and see what the issue is.