Opened 10 years ago

Last modified 3 years ago

#45240 closed defect

py-Pillow @2.6.0 errors on OS X — at Initial Version

Reported by: radaroutthere@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: stromnov (Andrey Stromnov)
Port: py-Pillow

Description

Since updating from py34-Pillow@2.5.3 to py34-PIllow@2.6.0, I have experienced problems with Pillow on OS X.

First, _imagingtk.so cannot be found (from PIL import _imagingtk), and second, the shared libraries Pillow uses don't know whether to link to MacPorts' Tk or my system Tk -

Class TKApplication is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKMenu is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKContentView is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKWindow is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.

Having spent some time trying to determine if it is something in the Pillow update itself or in the MacPorts update, I believe it comes down to this change -

https://trac.macports.org/browser/trunk/dports/python/py-Pillow/files/patch-setup.py.diff?rev=126001#L96

This modification doesn't appear in the Pillow code as far as I can tell. Can I ask stromnov, what I'm missing here? What was the reasoning behind this change?

Change History (0)

Note: See TracTickets for help on using tickets.