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

Bug 546954

Summary: media-video/mpv-0.7.3 error with flag doc-pdf
Product: Gentoo Linux Reporter: Lagu <felipematas>
Component: Current packagesAssignee: Maxim Koltsov (RETIRED) <maksbotan>
Status: RESOLVED DUPLICATE    
Severity: normal CC: franz.trischberger, nikoli, yngwin
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Lagu 2015-04-17 23:56:18 UTC
Hi, here a error compiling mpv with doc-pdf flag log:

20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/file2string.pl ../player/lua/assdraw.lua > player/lua/assdraw.inc '
20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/file2string.pl ../player/lua/options.lua > player/lua/options.inc '
[  9/519] Compiling player/lua/osc.lua
20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/file2string.pl ../player/lua/osc.lua > player/lua/osc.inc '
[ 10/519] Compiling player/lua/ytdl_hook.lua
[ 11/519] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
[ 12/519] Compiling demux/ebml.c
[ 13/519] Compiling libmpv/mpv.def
[ 14/519] Compiling libmpv/mpv.pc.in
20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/file2string.pl ../player/lua/ytdl_hook.lua > player/lua/ytdl_hook.inc '
20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/matroska.pl --generate-header ../demux/ebml.c ../demux/demux_mkv.c > ebml_types.h '
[ 15/519] Compiling DOCS/man/mpv.rst
20:31:31 runner ' /usr/bin/perl /var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/TOOLS/matroska.pl --generate-definitions ../demux/ebml.c > ebml_defs.c '
[ 16/519] Compiling DOCS/man/mpv.rst
20:31:31 runner ' /usr/bin/rst2man.py ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
20:31:31 runner ' /usr/bin/rst2pdf -c --repeat-table-rows ../DOCS/man/mpv.rst -o DOCS/man/mpv.pdf '
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/rst2pdf", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pillow==2.0.0,>=2.4.0

Waf: Leaving directory `/var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3/build'
Build failed
 -> task in 'rst2pdf' failed (exit status 1): 
	{task 140409652018832: rst2pdf mpv.rst -> mpv.pdf}
' /usr/bin/rst2pdf -c --repeat-table-rows ../DOCS/man/mpv.rst -o DOCS/man/mpv.pdf '
 * ERROR: media-video/mpv-0.7.3::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3540:  Called waf-utils_src_compile
 *   environment, line 4139:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed"
 * 
 * If you need support, post the output of `emerge --info '=media-video/mpv-0.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.7.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.7.3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3'
 * S: '/var/tmp/portage/media-video/mpv-0.7.3/work/mpv-0.7.3'

>>> Failed to emerge media-video/mpv-0.7.3, Log file:

>>>  '/var/tmp/portage/media-video/mpv-0.7.3/temp/build.log'

 * GNU info directory index is up-to-date.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2015-04-18 14:43:47 UTC
What version of pillow do you have installed?

This works fine for me on mpv-0.8.3 (with up to date ~amd64 packages).
Comment 2 Lagu 2015-04-18 20:49:31 UTC
i'm using 2.5.3-r1 version of pillow, i try updateing to 2.8.1 but no lucky, and i disabled all use with only doc-pdf enable and don't works.
Comment 3 Lagu 2015-04-18 20:49:55 UTC
Created attachment 401572 [details]
emerge --info

the overlays are masked.
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2015-04-19 08:07:48 UTC
This is really a bug of dev-python/rst2pdf and dev-python/reportlab, already reported and waiting for stabilization in bug 546810.

*** This bug has been marked as a duplicate of bug 544336 ***