Created attachment 359896 [details] emerge --info '=dev-util/include-what-you-use-3.3-r1::gentoo' Fails to build unless I build clang (and llvm) first.
Created attachment 359904 [details] Build log Shows the error that led me to belive the problem was related to clang.
Created attachment 359906 [details] environment
Oops, bad title -- the package is include-what-you-use, not include-what-you-see. To get the build to work, I added 'clang' to the sys-devel/llvm 'use' flags and explicitly emerged 'sys-devel/clang'. That may not be the proper solution, however. I am not all that knowledgeable when it comes to portage/ebuild/emerge. I also added 'python' to the sys-devel/llvm 'use' flags but I do not believe that was significant. And here is the modified emerge command (run in an LXTerminal window) that builds OK: cmarslett@E6500 ~ $ sudo bash E6500 cmarslett # emerge -DuNv --with-bdeps=y clang include-what-you-use * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sys-devel/llvm-3.3-r1:0/3.3 USE="clang* libffi python static-analyzer -debug -doc -gold -multitarget -ocaml {-test} -udis86" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_6 python2_7 -pypy2_0" VIDEO_CARDS="radeon" 0 kB [ebuild N ~] sys-devel/clang-3.3-r100:0/3.3 USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" 0 kB [ebuild N ~] dev-util/include-what-you-use-3.3-r1 0 kB Total: 3 packages (2 new, 1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Running pre-merge checks for sys-devel/llvm-3.3-r1 * Checking for at least 1200 megabytes disk space at "/var/tmp/portage/sys-devel/llvm-3.3-r1/temp" ... [ ok ] >>> Emerging (1 of 3) sys-devel/llvm-3.3-r1 >>> Installing (1 of 3) sys-devel/llvm-3.3-r1 >>> Emerging (2 of 3) sys-devel/clang-3.3-r100 >>> Emerging (3 of 3) dev-util/include-what-you-use-3.3-r1 >>> Installing (2 of 3) sys-devel/clang-3.3-r100 >>> Recording sys-devel/clang in "world" favorites file... >>> Installing (3 of 3) dev-util/include-what-you-use-3.3-r1 >>> Recording dev-util/include-what-you-use in "world" favorites file... >>> Jobs: 3 of 3 complete Load avg: 2.03, 2.05, 1.92 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 239 info files. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. E6500 cmarslett #
I've likely forgot to add proper llvm/clang USE depends. Please, show you emerge --info sys-devel/llvm sys-devel/clang "Package Settings" part. Thanks!
Pushed a fix as: > 03 Oct 2013; Sergei Trofimovich <slyfox@gentoo.org> > include-what-you-use-3.3-r1.ebuild: > added missing 'clang' depend (bug #486666 by Charles Marslett) Thank you!