Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667574 - www-servers/varnish-6.1.0 : configure: error: sphinx-build is needed to build Varnish, please install python-sphinx.
Summary: www-servers/varnish-6.1.0 : configure: error: sphinx-build is needed to build...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-02 15:07 UTC by Toralf Förster
Modified: 2018-10-17 04:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.66 KB, text/plain)
2018-10-02 15:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.46 KB, text/plain)
2018-10-02 15:07 UTC, Toralf Förster
Details
environment (environment,118.63 KB, text/plain)
2018-10-02 15:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.98 KB, application/x-bzip)
2018-10-02 15:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.57 KB, application/x-bzip)
2018-10-02 15:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.76 KB, application/x-bzip)
2018-10-02 15:08 UTC, Toralf Förster
Details
www-servers:varnish-6.1.0:20181002-061317.log (www-servers:varnish-6.1.0:20181002-061317.log,8.94 KB, text/plain)
2018-10-02 15:08 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 2018-10-02 15:07:45 UTC
checking for rst2man.py... rst2man.py
checking for sphinx-build... no
configure: error: sphinx-build is needed to build Varnish, please install python-sphinx.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-servers/varnish-6.1.0/work/varnish-6.1.0/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20180927-130336

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv www-servers/varnish
[ebuild  N    ] www-servers/varnish-6.1.0  USE="-jemalloc -jit -static-libs" PYTHON_TARGETS="python2_7 python3_6 -pypy -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-10-02 15:07:48 UTC
Created attachment 548938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-02 15:07:51 UTC
Created attachment 548940 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-02 15:07:54 UTC
Created attachment 548942 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-02 15:07:57 UTC
Created attachment 548944 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-02 15:08:00 UTC
Created attachment 548946 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-02 15:08:03 UTC
Created attachment 548948 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-10-02 15:08:06 UTC
Created attachment 548950 [details]
www-servers:varnish-6.1.0:20181002-061317.log
Comment 8 Oleksandr Trotsenko 2018-10-15 12:39:46 UTC
Hi!

I confirm the same problem and `emerge --oneshot dev-python/sphinx` solved the problem. Varnish 6.1.0 successfully builds and runs afterwords.

I'll try to make a pull request with a fix.
Comment 9 Anthony Basile gentoo-dev 2018-10-15 13:54:17 UTC
(In reply to Oleksandr Trotsenko from comment #8)
> Hi!
> 
> I confirm the same problem and `emerge --oneshot dev-python/sphinx` solved
> the problem. Varnish 6.1.0 successfully builds and runs afterwords.
> 
> I'll try to make a pull request with a fix.

This is an easy fix. Let me know if this works for you.  If it isn't, please reopen the bug.



commit 3ccfdb20b3c2e3fd93cbb9789a8eb6ae1825d508 (HEAD -> master)
Author: Anthony G. Basile <blueness@gentoo.org>
Date:   Mon Oct 15 09:52:31 2018 -0400

    www-servers/varnish: depend on dev-python/sphinx, fix bug #667574
    
    - Thanks to Oleksandr Trotsenko <oleksandr.trotsenko@gmail.com>
    
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.10
Comment 10 Oleksandr Trotsenko 2018-10-17 04:36:28 UTC
Oh nice, I was about to code the fix myself now and after pulling gentoo/master I saw the fix was already there.

I have just emerged the latest varnish from gentoo/master and it worked.

Thanks :)