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

Проблема при сборке докер контейнера .NET5 #20

Open
dumprop opened this issue Sep 8, 2021 · 0 comments

Comments

@dumprop
Copy link
Contributor

dumprop commented Sep 8, 2021

На сборке докер контейнера ловлю следующую ошибку:

Step 18/24 : WORKDIR /home/$cuidname/AFLplusplus
 ---> Using cache
 ---> 4c04011a22af
Step 19/24 : RUN make -j4
 ---> Using cache
 ---> d124f7787a1a
Step 20/24 : WORKDIR /home/$cuidname/runtime
 ---> Using cache
 ---> 652e1cd963cc
Step 21/24 : RUN update-alternatives --install /usr/bin/cc cc /home/crusher/AFLplusplus/afl-clang-lto 110 && update-alternatives --install /usr/bin/c++ c++ /home/crusher/AFLplusplus/afl-clang-lto++ 110 && update-alternatives --install /usr/bin/clang++ clang++ /home/crusher/AFLplusplus/afl-clang-lto++ 110 && update-alternatives --install /usr/bin/clang clang /home/crusher/AFLplusplus/afl-clang-lto 110
 ---> Running in 26a82dd0f2e9
update-alternatives: error: alternative path /home/crusher/AFLplusplus/afl-clang-lto doesn't exist
The command '/bin/sh -c update-alternatives --install /usr/bin/cc cc /home/crusher/AFLplusplus/afl-clang-lto 110 && update-alternatives --install /usr/bin/c++ c++ /home/crusher/AFLplusplus/afl-clang-lto++ 110 && update-alternatives --install /usr/bin/clang++ clang++ /home/crusher/AFLplusplus/afl-clang-lto++ 110 && update-alternatives --install /usr/bin/clang clang /home/crusher/AFLplusplus/afl-clang-lto 110' returned a non-zero code: 2

Мельком прошёлся по логу и нашёл следующие ошибки/предупреждения:

debconf: delaying package configuration, since apt-utils is not installed

...

[*] Checking for gcc plugin development header files...
[-] Oops, can't find gcc header files. Be sure to install 'gcc-X-plugin-dev'.
make[1]: *** [GNUmakefile.gcc_plugin:123: test_deps] Error 1
make[1]: Leaving directory '/home/test/AFLplusplus'
make: [GNUmakefile:319: gcc_plugin] Error 2 (ignored)
[*] Testing the CC wrapper afl-cc and its instrumentation output...
ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null
echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr
 
[+] All right, the instrumentation of afl-cc seems to be working!
[+] Main compiler 'afl-cc' successfully built!
[+] LLVM mode for 'afl-cc' successfully built!
[+] LLVM LTO mode for 'afl-cc' successfully built!
[-] gcc_plugin for 'afl-cc'  failed to build, unless you really need it that is fine - or read instrumentation/README.gcc_plugin.md how to build it

Логи: https://pastebin.com/3tCgmp9S

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

No branches or pull requests

1 participant