Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609542 - dev-lang/ghc-8.0.2 : The 'requests' distribution was not found and is required by Sphinx
Summary: dev-lang/ghc-8.0.2 : The 'requests' distribution was not found and is require...
Status: RESOLVED DUPLICATE of bug 609286
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 16:23 UTC by Toralf Förster
Modified: 2017-02-17 08:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,6.47 KB, text/plain)
2017-02-16 16:23 UTC, Toralf Förster
Details
config.log (config.log,180.20 KB, text/plain)
2017-02-16 16:23 UTC, Toralf Förster
Details
dev-lang:ghc-8.0.2:20170216-131251.log.bz2 (dev-lang:ghc-8.0.2:20170216-131251.log.bz2,196.87 KB, application/x-bzip)
2017-02-16 16:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,329.10 KB, text/plain)
2017-02-16 16:23 UTC, Toralf Förster
Details
environment (environment,150.67 KB, text/plain)
2017-02-16 16:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.04 KB, application/x-bzip)
2017-02-16 16:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-16 16:23:19 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-02-16 16:23:22 UTC
Created attachment 463980 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-16 16:23:26 UTC
Created attachment 463982 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-02-16 16:23:29 UTC
Created attachment 463984 [details]
dev-lang:ghc-8.0.2:20170216-131251.log.bz2
Comment 4 Toralf Förster gentoo-dev 2017-02-16 16:23:32 UTC
Created attachment 463986 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-02-16 16:23:36 UTC
Created attachment 463988 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-02-16 16:23:39 UTC
Created attachment 463990 [details]
etc.portage.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2017-02-17 08:48:41 UTC
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
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2017-02-17 08:55:20 UTC
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 ***