Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 663728

Summary: mail-client/thunderbird-60.0: clang is required to build Stylo. Please install the necessary packages
Product: Gentoo Linux Reporter: Erich Seifert <eseifert>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Erich Seifert 2018-08-15 20:21:30 UTC
Created attachment 543634 [details]
build.log

Configuration of mail-client/thunderbird-60.0 fails with the following error message:

> checking for llvm-config... /usr/lib/llvm/6/bin/llvm-config
> ERROR: The file /usr/lib64/llvm/6/bin/clang returned by `llvm-config --bindir` does not exist.
> clang is required to build Stylo.  Please install the necessary packages,
> run `mach bootstrap`, or add --disable-stylo to your mozconfig.
> 
> *** Fix above errors and then restart with\
>                "/usr/bin/gmake -f client.mk build"

It seems that mail-client/thunderbird-60.0 and the ebuild should have a dependency on sys-devel/clang.
Comment 1 Erich Seifert 2018-08-15 20:26:32 UTC
$ emerge -pqv '=mail-client/thunderbird'
[ebuild     U ~] mail-client/thunderbird-60.0::gentoo [52.9.0::gentoo] USE="crypt dbus lightning minimal pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -hardened -mozdom (-neon) (-rust) (-selinux) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -wifi (-gtk2%) (-jemalloc%*) (-ldap%*) (-system-cairo%)" L10N="de -ar -ast -be -bg -br -ca -cs -cy -da -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW (-bn-BD%) (-pa%) (-ta-LK%)"
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2018-08-16 17:13:33 UTC
That it should -- clang and llvm dependencies should have been added to the v60 eclass but apparently they were not.  This will be addressed shortly.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2018-08-25 13:50:28 UTC
*** Bug 664372 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-27 22:28:02 UTC
This is now fixed.