skift-org / skift

🥑 A modern delightful operating system
https://skiftos.org/
MIT License
2.27k stars 130 forks source link

wont build #405

Closed espero-dev closed 11 months ago

espero-dev commented 11 months ago

./skift.sh: line 36: .cutekit/venv/bin/activate: No such file or directory

sleepy-monax commented 11 months ago

To resolve the error, execute ./skift.sh nuke-tools followed by ./skift.sh setup. If the issue persists, please send me the complete logs

espero-dev commented 11 months ago

didnt work still

Installing tools... ./skift.sh: line 36: .cutekit/venv/bin/activate: No such file or directory

espero-dev commented 11 months ago

oh nvm i see what you wanted me to do

espero-dev commented 11 months ago

thanks for the help

espero-dev commented 11 months ago

now when i try to start it i get ./skift.sh start Package sdl2 was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl2.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl2' found Error: pkg-config: Process exited with code 1

Usage: cutekit [args...]

espero-dev commented 11 months ago

nvm i got it

espero-dev commented 11 months ago

./skift.sh start [324/324] clang++-14 -o .cutekit/build...stem:efi_application -fuse-ld=lld-link [49/49] ld.lld-14 -o .cutekit/build/ke...rnel-x86_64.ld -z max-page-size=0x1000 [3/3] ld.lld-14 -o .cutekit/build/kern...rnel-x86_64.ld -z max-page-size=0x1000 ld.lld-14: warning: cannot find entry symbol _kstart; not setting start address [4/277] clang-14 -c -o .cutekit/build/...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/acos.c.o clang-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/acos.c.o src/libs/stdc-math/acos.c -MD -MF .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/acos.c.o.d -std=gnu2x -Wall -Wextra -Werror -target x86_64-none-elf -std=gnu2x -Wall -Wextra -Werror -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/stdc-math/acos.c:36: In file included from src/libs/stdc-math/libm.h:18: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [6/277] clang-14 -c -o .cutekit/build/...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/lgammal.c.o clang-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/lgammal.c.o src/libs/stdc-math/lgammal.c -MD -MF .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/lgammal.c.o.d -std=gnu2x -Wall -Wextra -Werror -target x86_64-none-elf -std=gnu2x -Wall -Wextra -Werror -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/stdc-math/lgammal.c:89: In file included from src/libs/stdc-math/libm.h:18: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [7/277] clang-14 -c -o .cutekit/build/...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/asinh.c.o clang-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/asinh.c.o src/libs/stdc-math/asinh.c -MD -MF .cutekit/build/skift-x86_64-d4d63a69/stdc-math-musl/obj/asinh.c.o.d -std=gnu2x -Wall -Wextra -Werror -target x86_64-none-elf -std=gnu2x -Wall -Wextra -Werror -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/stdc-math/asinh.c:1: In file included from src/libs/stdc-math/libm.h:18: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [8/277] clang++-14 -c -o .cutekit/buil...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/file.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/file.cpp.o src/libs/karm-sys/file.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/file.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/karm-sys/file.cpp:1: In file included from src/libs/karm-sys/file.h:3: In file included from src/libs/karm-base/rc.h:5: In file included from src/libs/karm-base/lock.h:7: In file included from src/libs/karm-base/atomic.h:3: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [9/277] clang++-14 -c -o .cutekit/buil...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/info.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/info.cpp.o src/libs/karm-sys/info.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/info.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/karm-sys/info.cpp:1: In file included from src/libs/karm-sys/info.h:3: In file included from src/libs/karm-base/res.h:3: In file included from src/libs/karm-base/error.h:4: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [10/277] clang++-14 -c -o .cutekit/bui...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/url.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/url.cpp.o src/libs/karm-sys/url.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/url.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/karm-sys/url.cpp:1: In file included from src/libs/karm-sys/url.h:4: In file included from src/libs/karm-base/string.h:3: In file included from src/libs/karm-base/ordr.h:6: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [11/277] clang++-14 -c -o .cutekit/bui...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/pipe.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/pipe.cpp.o src/libs/karm-sys/pipe.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/pipe.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/karm-sys/pipe.cpp:1: In file included from src/libs/karm-sys/pipe.h:3: In file included from src/libs/karm-sys/fd.h:3: In file included from src/libs/karm-base/rc.h:5: In file included from src/libs/karm-base/lock.h:7: In file included from src/libs/karm-base/atomic.h:3: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [12/277] clang++-14 -c -o .cutekit/bui...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/chan.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/chan.cpp.o src/libs/karm-sys/chan.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/karm-sys/obj/chan.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/libs/karm-sys/chan.cpp:1: In file included from src/libs/karm-sys/chan.h:3: In file included from src/libs/karm-fmt/fmt.h:3: In file included from src/libs/karm-fmt/fmt-slice.h:3: In file included from src/libs/karm-fmt/base.h:3: In file included from src/libs/karm-base/tuple.h:3: In file included from src/libs/karm-meta/id.h:4: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [13/277] clang++-14 -c -o .cutekit/bui...slash -Dck_karm_cli_backend_ansi FAILED: .cutekit/build/skift-x86_64-d4d63a69/system-srv/obj/main.cpp.o clang++-14 -c -o .cutekit/build/skift-x86_64-d4d63a69/system-srv/obj/main.cpp.o src/srvs/system-srv/main.cpp -MD -MF .cutekit/build/skift-x86_64-d4d63a69/system-srv/obj/main.cpp.o.d -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -target x86_64-none-elf -std=gnu++2b -Wall -Wextra -Werror -fno-exceptions -fno-rtti -O3 -Isrc/apps -Isrc/assets -Isrc/specs -Isrc/libs/stdc-ansi -Isrc/libs/stdc-math -Isrc/libs/stdcpp-shim -Isrc/libs -Isrc -Isrc/impls -Isrc/kernel -I.cutekit/extern/cute-engineering -Dck_toolchain_clang -Dck_arch_x86_64 -Dck_sys_skift -Dck_abi_sysv -Dck_encoding_utf8 -Dck_karm_sys_encoding_utf8 -Dck_karm_sys_line_ending_lf -Dck_karm_sys_path_separator_slash -Dck_karm_cli_backend_ansi__ In file included from src/srvs/system-srv/main.cpp:1: In file included from src/specs/elf/image.h:3: In file included from src/libs/karm-base/cursor.h:3: In file included from src/libs/karm-base/slice.h:3: In file included from src/libs/karm-base/iter.h:3: In file included from src/libs/karm-base/clamp.h:4: In file included from src/libs/karm-base/ordr.h:6: In file included from src/libs/karm-base/std.h:11: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/limits.h:21: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

include <bits/libc-header-start.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. ninja: build stopped: subcommand failed. Error: ninja: Process exited with code 1

Usage: cutekit [args...]

cool-dev-guy commented 11 months ago

@espero-dev I tried with clang 14,but it didn't work for me,if possible try usiing clang 15 or 16.

espero-dev commented 11 months ago

Idk I can’t get clang 15 I don’t think o think I only have access to 14 send the sudo apt-get install script for it

sleepy-monax commented 11 months ago

https://apt.llvm.org/

espero-dev commented 11 months ago

yea it dont help

espero-dev commented 11 months ago

im downloading the glclib

sleepy-monax commented 11 months ago

Closing this one for inactivity

DrDub commented 7 months ago

In case other people ran into this issue, the gcc-multilib package was missing, as described in this stackoverflow post: https://stackoverflow.com/questions/54082459/fatal-error-bits-libc-header-start-h-no-such-file-or-directory-while-compili