Currently only 3.7 is supported. We will try though... /usr/bin/opt: /var/tmp/portage/dev-lang/ghc-8.0.2/temp/ghc19321_0/ghc_2.ll:15:29: error: expected comma after alias or ifunc's type @__stginit_Main = alias i8* bitcast (%__stginit_Main_struct* @__stginit_Main$def to i8*) ^ `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) ----------------------------------------------------------------- This is an unstable amd64 chroot image (named gnome-systemd-libressl-unstable_20170208-211807) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 463980 [details] emerge-info.txt
Created attachment 463982 [details] config.log
Created attachment 463984 [details] dev-lang:ghc-8.0.2:20170216-131251.log.bz2
Created attachment 463986 [details] emerge-history.txt
Created attachment 463988 [details] environment
Created attachment 463990 [details] etc.portage.tbz2
The LLVM error if fine. It's only a warning. The real error is failure to build sphinx docs: /usr/bin/sphinx-build -b man -d docs/users_guide/.doctrees-man docs/users_guide docs/users_guide/build-man Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/sphinx-build", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3030, in <module> @_call_aside File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3014, in _call_aside f(*args, **kwargs) File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3043, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 654, in _build_master ws.require(__requires__) File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 854, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'requests' distribution was not found and is required by Sphinx make[1]: *** [docs/users_guide/ghc.mk:30: docs/users_guide/build-man/ghc.1] Error 1
Latest sphinx versions do have that dep: ./sphinx-1.5.1-r2.ebuild: dev-python/requests[${PYTHON_USEDEP}] ./sphinx-1.5.2.ebuild: dev-python/requests[${PYTHON_USEDEP}] But your versions is slightly outdated: Fri Feb 10 09:53:20 2017 >>> dev-python/sphinx-1.5.1-r1 It was fixed in #bug 609286 *** This bug has been marked as a duplicate of bug 609286 ***