Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717538 - dev-python/pillow-7.0.0 cannot be installed because of media-tv/kodi-18.4-r1
Summary: dev-python/pillow-7.0.0 cannot be installed because of media-tv/kodi-18.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
: 738468 (view as bug list)
Depends on: 743535
Blocks: CVE-2020-10177, CVE-2020-10378, CVE-2020-10379, CVE-2020-10994, CVE-2020-11538
  Show dependency tree
 
Reported: 2020-04-15 11:45 UTC by Christian Strahl
Modified: 2020-11-19 19:52 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Strahl 2020-04-15 11:45:06 UTC
while updating with emerge -uavDN @world, I get

dev-python/pillow:0

  (dev-python/pillow-7.0.0:0/0::gentoo, ebuild scheduled for merge) USE="jpeg jpeg2k lcms tiff truetype zlib -doc -examples -imagequant -test -tk -webp" ABI_X86="(64)" PYTHON_TARGETS="python3_6 -python3_7 (-python3_8)" conflicts with
    dev-python/pillow[python_targets_python2_7(-),-python_single_target_python2_7(-)] required by (media-gfx/uniconvertor-2.0_pre379-r2:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
                                                                                     
    dev-python/pillow[python_targets_python2_7(-)] required by (media-tv/kodi-18.4-r1:0/0::gentoo, installed) USE="X alsa css dbus dvd lcms mysql nfs opengl pulseaudio samba (system-ffmpeg) systemd udev udisks upower vdpau xslt zeroconf -airplay -bluetooth -bluray -caps -cec -gbm -gles -libressl -libusb -lirc -mariadb (-raspberry-pi) -test -upnp -vaapi -wayland -webserver" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python2_7"


Kodi-18.4-r1 is a stable packae and shouldn't cause this conflict.

Kodi 19 is the first version that supports python3: https://kodi.tv/article/kodi-19-python-3-goes-live

Reproducible: Always
Comment 1 Craig Andrews gentoo-dev 2020-04-15 17:19:43 UTC
Kodi 19 hasn't been released yet, and upstream hasn't provided a schedule for when they may do so.

So we're stuck with Kodi 18 which only supports Python 2.7. And that depends on python/pillow[python_targets_python2_7(+)]. I can't remove that dependency.

I'm not sure what I can do... I'm open to suggestions.
Comment 2 Saul Peebsen 2020-04-24 02:16:10 UTC
How about making a working snapshot, call it 19-beta, available for those who are willing to try it.
Comment 3 João P. Teixeira 2020-05-14 12:00:46 UTC
It may not be a good idea to add kodi-19 now, since there is not even an alpha release. Some plug-ins of kodi-18 still require python2. It would be a nightmare to maintain it now. 

It may probably be easier to add a package 

dev-python/pillow-python2

(and make kodi-18 dependent on that) like it was done with dev-python/matplotlib-python2, dev-python/numpy-python2, sci-libs/scipy-python2.

This pillow-python2 would be masked and dropped once kodi can be (easily) bumped to version 19.
Comment 4 Francois Chenier 2020-06-01 04:08:59 UTC
(In reply to Saul Peebsen from comment #2)
> How about making a working snapshot, call it 19-beta, available for those
> who are willing to try it.

In facts, as now, Kodi 19 works pretty well with plugins in the tree. So far so good, stable as rock for playing CD library, DVD and watching TV with kodi-pvr-nextpvr plugin.
Comment 5 Christian Strahl 2020-06-04 12:10:27 UTC
(In reply to João Paulo Teixeira from comment #3)
> 
> It may probably be easier to add a package 
> 
> dev-python/pillow-python2
> 
> (and make kodi-18 dependent on that) like it was done with
> dev-python/matplotlib-python2, dev-python/numpy-python2,
> sci-libs/scipy-python2.
> 

@Craig Andrews wouldn't that be a neat solution?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-13 10:58:17 UTC
If this can't be resolved quickly, we'll have to last rite kodi.
Comment 7 Craig Andrews gentoo-dev 2020-07-13 14:46:32 UTC
(In reply to Michał Górny from comment #6)
> If this can't be resolved quickly, we'll have to last rite kodi.

I've requested Kodi make a release of Kodi 19 which uses Python 3: https://github.com/xbmc/xbmc/issues/18165
Comment 8 Craig Andrews gentoo-dev 2020-07-13 17:20:47 UTC
From #kodi-dev on IRC:

[daveblake] Nightly (pre-release versions) of v19 are available, and an alpha1 release is coming soon. 
[sarbes] We have no hard release schedule. It's ready whenever it is ready.
[sarbes] BUT... We are close.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-13 19:18:17 UTC
This is a mess.  We should get a new version stable ASAP but stabilizing prereleases sucks.
Comment 10 Larry the Git Cow gentoo-dev 2020-07-29 18:11:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ce84b8e90d90882a5e710bb22a80648bc50913

commit 49ce84b8e90d90882a5e710bb22a80648bc50913
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-07-29 14:22:27 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-07-29 18:10:39 +0000

    media-tv/kodi: 19.0_alpha1 version bump
    
    Bug: https://bugs.gentoo.org/717538
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/16897
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-tv/kodi/Manifest                |   1 +
 media-tv/kodi/kodi-19.0_alpha1.ebuild | 318 ++++++++++++++++++++++++++++++++++
 2 files changed, 319 insertions(+)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-02 10:20:47 UTC
How would you feel about a sec-mask on the current stable versions?
Comment 12 Andreas Sturmlechner gentoo-dev 2020-08-22 06:58:15 UTC
*** Bug 738468 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2020-11-10 10:21:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf1e47d617c6bfbec3c8b6a1f1c95bb0ebfedc3

commit acf1e47d617c6bfbec3c8b6a1f1c95bb0ebfedc3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-10 10:19:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-10 10:21:05 +0000

    package.mask: Mask vulnerable dev-python/pillow and revdeps (kodi)
    
    Bug: https://bugs.gentoo.org/729672
    Bug: https://bugs.gentoo.org/717538
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2020-11-19 19:52:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a118277dadc83d19c50ff9628b4bc5bcfc0f4060

commit a118277dadc83d19c50ff9628b4bc5bcfc0f4060
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-19 19:51:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-19 19:51:14 +0000

    dev-python/pillow: Remove old
    
    Bug: https://bugs.gentoo.org/729672
    Closes: https://bugs.gentoo.org/717538
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pillow/Manifest            |  1 -
 dev-python/pillow/pillow-6.2.2.ebuild | 83 -----------------------------------
 2 files changed, 84 deletions(-)