=app-doc/doxygen-1.8.20::gentoo does not compile when compiled with the clang use flag. When compiled without clang, it emerges just fine. [100%] Linking CXX executable ../bin/doxygen cd /var/tmp/portage/app-doc/doxygen-1.8.20/work/doxygen-1.8.20_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/doxygen.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -march=x86-64 -O2 -pipe -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/doxygen.dir/main.cpp.o -o ../bin/doxygen -Wl,-rpath,/usr/lib/llvm/9/lib64: ../lib/libdoxymain.a ../lib/libdoxycfg.a ../lib/libqtools.a ../lib/libmd5.a ../lib/liblodepng.a ../lib/libmscgen.a ../lib/libdoxygen_version.a ../lib/libvhdlparser.a -lpthread /usr/lib/llvm/9/lib64/libclang.so.9 /usr/lib/llvm/9/lib64/libclang-cpp.so.9 -lLLVM -Wl,-rpath-link,/usr/lib/llvm/9/lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVM collect2: error: ld returned 1 exit status make[2]: *** [src/CMakeFiles/doxygen.dir/build.make:113: bin/doxygen] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-doc/doxygen-1.8.20/work/doxygen-1.8.20_build' make[1]: *** [CMakeFiles/Makefile2:638: src/CMakeFiles/doxygen.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-doc/doxygen-1.8.20/work/doxygen-1.8.20_build' make: *** [Makefile:182: all] Error 2 * ERROR: app-doc/doxygen-1.8.20::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-doc/doxygen-1.8.20::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-doc/doxygen-1.8.20::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-doc/doxygen-1.8.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-doc/doxygen-1.8.20/temp/environment'. * Working directory: '/var/tmp/portage/app-doc/doxygen-1.8.20/work/doxygen-1.8.20_build' * S: '/var/tmp/portage/app-doc/doxygen-1.8.20/work/doxygen-1.8.20' $ eix -cI llvm [I] sys-devel/llvm (9.0.1(9)@10/19/2020): Low Level Virtual Machine [I] sys-devel/llvm-common (9.0.1@10/19/2020): Common files shared between multiple slots of LLVM [I] sys-devel/llvmgold (9@10/19/2020): LLVMgold plugin symlink for autoloading Reproducible: Always
Created attachment 677947 [details] build.log
Created attachment 677950 [details] emerge --info '=app-doc/doxygen-1.8.20::gentoo'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c0441ba02ace5e566bcec501dbb006bd993905 commit 93c0441ba02ace5e566bcec501dbb006bd993905 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2020-12-12 21:39:35 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2020-12-12 21:40:15 +0000 app-doc/doxygen: require at least clang-10 Closes: https://bugs.gentoo.org/759484 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-doc/doxygen/doxygen-1.8.17-r1.ebuild | 2 +- app-doc/doxygen/doxygen-1.8.20.ebuild | 2 +- app-doc/doxygen/doxygen-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
With the newest patch doxygen requires at least clang-10. I have fixed the dependencies.