vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.89k stars 120 forks source link

mlibc patch step failing #59

Closed JalonSolov closed 2 years ago

JalonSolov commented 2 years ago

With git commit be9c8a5, I am seeing this error when I try to run make distro:

xbstrap: patch mlibc [3/68]
Applying: Vinix specific changes
Using index info to reconstruct a base tree...
M       abis/mlibc/signal.h
M       meson.build
M       options/ansi/include/mlibc/ansi-sysdeps.hpp
M       options/internal/include/mlibc/internal-sysdeps.hpp
M       options/linux/include/asm/ioctls.h
M       options/posix/generic/unistd-stubs.cpp
.git/rebase-apply/patch:78: space before tab in indent.
        void (*sa_handler)(int);
.git/rebase-apply/patch:288: new blank line at EOF.
+
.git/rebase-apply/patch:1162: new blank line at EOF.
+
warning: 3 lines add whitespace errors.
Falling back to patching base and 3-way merge...
CONFLICT (add/add): Merge conflict in sysdeps/vinix/generic/generic.cpp
Auto-merging sysdeps/vinix/generic/generic.cpp
error: Failed to merge in the changes.
Patch failed at 0001 Vinix specific changes
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
xbstrap: Action patch of source mlibc failed
make: *** [Makefile:29: distro] Error 1
Ccode-lang commented 2 years ago

Can't reproduce. Are you running with any special options?

JalonSolov commented 2 years ago

No. git pull then make distro. No local changes at all.

mintsuki commented 2 years ago

Do a full rebuild:

make distclean
make distro