Skip to content
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

Update flake #2

Merged
merged 10 commits into from
Jan 7, 2025
Merged

Update flake #2

merged 10 commits into from
Jan 7, 2025

Conversation

deemp
Copy link
Contributor

@deemp deemp commented Jan 6, 2025

@ParfenovIgor, I updated the flake a bit.

@deemp
Copy link
Contributor Author

deemp commented Jan 6, 2025

Currently, nix run .#makeAll fails with this log:

make -C arch BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/arch'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch
nasm -f elf64 x86/memory.asm -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/memory.o
nasm -f elf64 x86/posix.asm -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/posix.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/arch'
make -C stdlib BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/stdlib'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib
gcc -g -fno-stack-protector -I include -c src/algorithm.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/algorithm.o
gcc -g -fno-stack-protector -I include -c src/cassert.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/cassert.o
gcc -g -fno-stack-protector -I include -c src/heap.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap.o
gcc -g -fno-stack-protector -I include -c src/heap_test.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap_test.o
gcc -g -fno-stack-protector -I include -c src/ordered_array.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/ordered_array.o
gcc -g -fno-stack-protector -I include -c src/panic.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/panic.o
gcc -g -fno-stack-protector -I include -c src/stdio.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdio.o
gcc -g -fno-stack-protector -I include -c src/stdlib.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdlib.o
gcc -g -fno-stack-protector -I include -c src/string.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/string.o
gcc -g -fno-stack-protector -I include -c src/vector.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/vector.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/stdlib'
make -C compiler BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/compiler'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/compile.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/compile.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/context.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/context.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/exception.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/exception.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/languageserver.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/languageserver.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/lexer.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/lexer.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/main.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/main.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/process.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/process.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/syntax.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/syntax.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/token.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/token.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/type.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/type.o
gcc -g -fno-stack-protector -I include -c httpd/httpd.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/httpd.o
gcc -z noexecstack -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/calias  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/compile.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/context.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/exception.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/languageserver.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/lexer.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/main.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/process.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/syntax.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/token.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/type.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/httpd.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/memory.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/posix.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/algorithm.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/cassert.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap_test.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/ordered_array.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/panic.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdio.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdlib.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/string.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/vector.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/compiler'
make -C arch BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/arch'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch
nasm -f elf64 x86/memory.asm -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/memory.o
nasm -f elf64 x86/posix.asm -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/posix.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/arch'
make -C stdlib BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/stdlib'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib
gcc -g -fno-stack-protector -I include -c src/algorithm.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/algorithm.o
gcc -g -fno-stack-protector -I include -c src/cassert.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/cassert.o
gcc -g -fno-stack-protector -I include -c src/heap.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap.o
gcc -g -fno-stack-protector -I include -c src/heap_test.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap_test.o
gcc -g -fno-stack-protector -I include -c src/ordered_array.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/ordered_array.o
gcc -g -fno-stack-protector -I include -c src/panic.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/panic.o
gcc -g -fno-stack-protector -I include -c src/stdio.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdio.o
gcc -g -fno-stack-protector -I include -c src/stdlib.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdlib.o
gcc -g -fno-stack-protector -I include -c src/string.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/string.o
gcc -g -fno-stack-protector -I include -c src/vector.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/vector.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/stdlib'
make -C compiler BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/compiler'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/compile.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/compile.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/context.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/context.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/exception.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/exception.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/languageserver.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/languageserver.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/lexer.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/lexer.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/main.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/main.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/process.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/process.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/syntax.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/syntax.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/token.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/token.o
gcc -g -fno-stack-protector -I include -I ../stdlib/include -c src/type.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/type.o
gcc -g -fno-stack-protector -I include -c httpd/httpd.c -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/httpd.o
gcc -z noexecstack -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/calias  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/compile.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/context.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/exception.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/languageserver.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/lexer.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/main.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/process.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/syntax.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/token.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/type.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/compiler/httpd.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/memory.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/arch/posix.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/algorithm.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/cassert.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/heap_test.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/ordered_array.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/panic.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdio.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/stdlib.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/string.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/stdlib/vector.o
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/compiler'
make -C altlib BUILD_DIR=/home/eyjafjallajokull/Desktop/gh/alias-c/build
make[1]: Entering directory '/home/eyjafjallajokull/Desktop/gh/alias-c/altlib'
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib_ext/include
mkdir -p /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib_ext/lib
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ algorithm.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/algorithm.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ cassert.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/cassert.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ memory.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/memory.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ posix.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/posix.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ stdio.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdio.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ stdlib.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdlib.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ string.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/string.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ test_allocator.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/test_allocator.o
/home/eyjafjallajokull/Desktop/gh/alias-c/build/calias -a -i altlib ./ vector.al -o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/vector.o
cat header.html > ../docs/altlibref.html
/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/generate_docs algorithm.al cassert.al memory.al posix.al stdio.al stdlib.al string.al test_allocator.al vector.al >> ../docs/altlibref.html
cp algorithm.al cassert.al memory.al posix.al stdio.al stdlib.al string.al test_allocator.al vector.al /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib_ext/include
cp  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/algorithm.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/cassert.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/memory.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/posix.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdio.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdlib.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/string.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/test_allocator.o  /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/vector.o /home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib_ext/lib
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/algorithm.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/cassert.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/memory.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/posix.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdio.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/stdlib.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/string.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/test_allocator.o': No such file or directory
cp: cannot stat '/home/eyjafjallajokull/Desktop/gh/alias-c/build/altlib/vector.o': No such file or directory
make[1]: *** [Makefile:12: all] Error 1
make[1]: Leaving directory '/home/eyjafjallajokull/Desktop/gh/alias-c/altlib'
make: *** [Makefile:15: altlib] Error 2

@ParfenovIgor ParfenovIgor merged commit 8fc707e into ParfenovIgor:main Jan 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants