Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682436 - games-misc/opengfx-0.5.5 : Error: (AttributeError) module PIL.Image has no attribute VERSION .
Summary: games-misc/opengfx-0.5.5 : Error: (AttributeError) module PIL.Image has no at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-03 17:46 UTC by Toralf Förster
Modified: 2019-04-16 20:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.55 KB, text/plain)
2019-04-03 17:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.92 KB, text/plain)
2019-04-03 17:46 UTC, Toralf Förster
Details
environment (environment,19.79 KB, text/plain)
2019-04-03 17:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.80 KB, application/x-bzip)
2019-04-03 17:46 UTC, Toralf Förster
Details
games-misc:opengfx-0.5.5:20190403-151144.log (games-misc:opengfx-0.5.5:20190403-151144.log,5.07 KB, text/plain)
2019-04-03 17:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.07 KB, application/x-bzip)
2019-04-03 17:46 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 2019-04-03 17:46:26 UTC
nmlc ERROR: nmlc: An internal error has occurred:
nmlc-version: 0.4.5
Error:    (AttributeError) "module 'PIL.Image' has no attribute 'VERSION'".
Command:  ['/usr/lib/python-exec/python3.6/nmlc', '-c', '-p', 'DOS', '-M', '--MF=ogfx1_base.grf.dep', '--grf', 'ogfx1_base.grf', 'ogfx1_base.nml']
Location: File "/usr/lib64/python3.6/site-packages/nml/version_info.py", line 74, in get_lib_versions


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop_20190329-104934

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

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.33.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 games-misc/opengfx
[ebuild  N    ] games-misc/opengfx-0.5.5
Comment 1 Toralf Förster gentoo-dev 2019-04-03 17:46:30 UTC
Created attachment 571722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-03 17:46:33 UTC
Created attachment 571724 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-03 17:46:36 UTC
Created attachment 571726 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-03 17:46:39 UTC
Created attachment 571728 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-03 17:46:42 UTC
Created attachment 571730 [details]
games-misc:opengfx-0.5.5:20190403-151144.log
Comment 6 Toralf Förster gentoo-dev 2019-04-03 17:46:45 UTC
Created attachment 571732 [details]
temp.tbz2
Comment 7 Knut Masanetz 2019-04-09 18:42:57 UTC
Downgrading dev-python/pillow from 6.0.0 to 5.4.1 made it build for me...
Comment 8 Conrad Kostecki gentoo-dev 2019-04-14 17:29:46 UTC
(In reply to Knut Masanetz from comment #7)
> Downgrading dev-python/pillow from 6.0.0 to 5.4.1 made it build for me...

Here too.
Comment 9 Conrad Kostecki gentoo-dev 2019-04-14 17:34:07 UTC
Bug itself seems to be releated to games-util/nml, which does not work with dev-python/pillow-6.0.0.
Comment 10 Conrad Kostecki gentoo-dev 2019-04-14 18:17:07 UTC
Pillow removed VERSION:
https://github.com/python-pillow/Pillow/pull/3624
Comment 11 Larry the Git Cow gentoo-dev 2019-04-16 20:24:06 UTC
The bug has been closed via the following commit(s):

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

commit a2ceb7a7189e3dfc990622dc5ae4d4693d2a954b
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-04-14 17:50:56 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-04-16 20:22:24 +0000

    games-util/nml: block >=dev-python/pillow-6.0.0
    
    The tool nmlc doesn't work with dev-python/pillow in version 6.0.0 and
    newer. So adding a blocker, to make games-misc/opengfx compiling again.
    
    Closes: https://bugs.gentoo.org/682436
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/11687
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-util/nml/nml-0.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)