Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759484 - app-doc/doxygen-1.8.20 fails when compiled with USE="clang"
Summary: app-doc/doxygen-1.8.20 fails when compiled with USE="clang"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 15:59 UTC by Marius Stoica
Modified: 2020-12-12 21:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,319.22 KB, text/x-log)
2020-12-11 16:00 UTC, Marius Stoica
Details
emerge --info '=app-doc/doxygen-1.8.20::gentoo' (emerge.info,6.70 KB, application/x-info)
2020-12-11 16:01 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Stoica 2020-12-11 15:59:36 UTC
=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
Comment 1 Marius Stoica 2020-12-11 16:00:44 UTC
Created attachment 677947 [details]
build.log
Comment 2 Marius Stoica 2020-12-11 16:01:28 UTC
Created attachment 677950 [details]
emerge --info '=app-doc/doxygen-1.8.20::gentoo'
Comment 3 Larry the Git Cow gentoo-dev 2020-12-12 21:40:30 UTC
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(-)
Comment 4 Matthias Maier gentoo-dev 2020-12-12 21:41:14 UTC
With the newest patch doxygen requires at least clang-10. I have fixed the dependencies.