-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
На сборке докер контейнера ловлю следующую ошибку:
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels