Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683288 - media-gfx/comix-4.0.4-r1 - src_install(): AttributeError: 'module' object has no attribute 'VERSION'
Summary: media-gfx/comix-4.0.4-r1 - src_install(): AttributeError: 'module' object has...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 687242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-14 08:02 UTC by Toralf Förster
Modified: 2021-01-04 02:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.89 KB, text/plain)
2019-04-14 08:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,76.91 KB, text/plain)
2019-04-14 08:02 UTC, Toralf Förster
Details
environment (environment,124.76 KB, text/plain)
2019-04-14 08:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.61 KB, application/x-bzip)
2019-04-14 08:02 UTC, Toralf Förster
Details
media-gfx:comix-4.0.4-r1:20190414-075324.log (media-gfx:comix-4.0.4-r1:20190414-075324.log,2.37 KB, text/plain)
2019-04-14 08:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.22 KB, application/x-bzip)
2019-04-14 08:02 UTC, Toralf Förster
Details
comix-4.0.4-pil-versioncheck.patch (file_683288.txt,1.38 KB, text/plain)
2019-06-04 17:12 UTC, Wyatt Epp
Details
Drop-in replacement of comix-4.0.4-pillow.patch (comix-4.0.4-pillow6.patch,3.38 KB, patch)
2019-07-07 21:03 UTC, Alexandre Borges Marcelo
Details | Diff
comix-4.0.4-pillow-r1.patch (comix-4.0.4-pillow-r1.patch,3.89 KB, patch)
2019-07-07 23:51 UTC, Yury Martynov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-14 08:02:21 UTC
 * ERROR: media-gfx/comix-4.0.4-r1::gentoo failed (install phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20190412-102334

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.34.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO media-gfx/comix
[ebuild  N    ] media-gfx/comix-4.0.4-r1  USE="-rar" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-04-14 08:02:24 UTC
Created attachment 572748 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-14 08:02:27 UTC
Created attachment 572750 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-14 08:02:29 UTC
Created attachment 572752 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-14 08:02:32 UTC
Created attachment 572754 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-14 08:02:35 UTC
Created attachment 572756 [details]
media-gfx:comix-4.0.4-r1:20190414-075324.log
Comment 6 Toralf Förster gentoo-dev 2019-04-14 08:02:38 UTC
Created attachment 572758 [details]
temp.tbz2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2019-06-03 08:43:25 UTC
*** Bug 687242 has been marked as a duplicate of this bug. ***
Comment 8 Wyatt Epp 2019-06-04 17:12:24 UTC
Created attachment 578774 [details]
comix-4.0.4-pil-versioncheck.patch

Pillow seems to have removed PIL.Image.VERSION in favour of only having PIL.Image.PILLOW_VERSION.  I couldn't find reference to when that might have happened, but the attached patch allowed it to build and run on my machine.
Comment 9 Alexandre Borges Marcelo 2019-07-07 21:03:03 UTC
Created attachment 582138 [details, diff]
Drop-in replacement of comix-4.0.4-pillow.patch

(In reply to Wyatt Epp from comment #8)
> Created attachment 578774 [details]
> comix-4.0.4-pil-versioncheck.patch
> 
> Pillow seems to have removed PIL.Image.VERSION in favour of only having
> PIL.Image.PILLOW_VERSION.  I couldn't find reference to when that might have
> happened, but the attached patch allowed it to build and run on my machine.

As stated in duplicate #687242 and in the Release Notes (https://pillow-radarhere.readthedocs.io/en/latest/releasenotes/6.0.0.html#backwards-incompatible-changes), VERSION had been deprecated in 5.2.0 and was removed in 6.0.0, also PILLOW_VERSION is now being deprecated as well, to be removed in 7.0.0, so use __version__ instead.
Comment 11 Andreas Sturmlechner gentoo-dev 2021-01-03 16:12:54 UTC
Package last-rited and removed in commit 6edf77dba39b80007adf848a18491116e1c11f32.