Bug 193958 - .so from py-pillow not properly installed affects py27-pillow py33-pillow etc.
Summary: .so from py-pillow not properly installed affects py27-pillow py33-pillow etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: William Grzybowski
URL:
Keywords:
Depends on: 193957
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-26 20:07 UTC by Diane Bruce
Modified: 2014-10-07 20:42 UTC (History)
1 user (show)

See Also:
mva: maintainer-feedback? (koobs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diane Bruce freebsd_committer freebsd_triage 2014-09-26 20:07:22 UTC
******************************************************************
WSPR Version 4.0 r4185, by K1JT
Run date:   Fri Sep 26 20:00:37 2014 UTC
Traceback (most recent call last):
  File "/usr/local/lib/python3.3/site-packages/PIL/ImageTk.py", line 178, in paste
    tk.call("PyImagingPhoto", self.__photo, block.id)
_tkinter.TclError: invalid command name "PyImagingPhoto"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "wspr.py", line 174, in <module>
    pim=ImageTk.PhotoImage(im)
  File "/usr/local/lib/python3.3/site-packages/PIL/ImageTk.py", line 113, in __init__
    self.paste(image)
  File "/usr/local/lib/python3.3/site-packages/PIL/ImageTk.py", line 182, in paste
    from PIL import _imagingtk
ImportError: cannot import name _imagingtk
...

missing file is installed into stage dir

# ls -lta work/stage/usr/local/lib/python3.3/site-packages/PIL/_imagingtk.so
-rwxr-xr-x  1 root  wheel  9544 Sep 26 15:59 work/stage/usr/local/lib/python3.3/site-packages/PIL/_imagingtk.so


But fails to be installed into live /usr/local

# ls -lta /usr/local/lib/python3.3/site-packages/PIL/_imagingtk.so
ls: /usr/local/lib/python3.3/site-packages/PIL/_imagingtk.so: No such file or directory


options show TKINTER option is checked

It is missing from work/.PLIST.mktmp

work/.PLIST.mktmp:lib/python3.3/site-packages/PIL/_imaging.so
work/.PLIST.mktmp:lib/python3.3/site-packages/PIL/_imagingcms.so
work/.PLIST.mktmp:lib/python3.3/site-packages/PIL/_imagingft.so
work/.PLIST.mktmp:lib/python3.3/site-packages/PIL/_imagingmath.so
work/.PLIST.mktmp:lib/python3.3/site-packages/PIL/_imagingmorph.so
work/.PLIST.objdump:/usr/local/lib/python3.3/site-packages/PIL/_imaging.so:
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2014-09-27 06:43:34 UTC
Over to maintainer
Comment 2 Marcus von Appen freebsd_committer freebsd_triage 2014-10-03 20:26:05 UTC
The patch in bug 193957 fixes this.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-10-07 20:40:56 UTC
A commit references this bug:

Author: wg
Date: Tue Oct  7 20:40:21 UTC 2014
New revision: 370397
URL: https://svnweb.freebsd.org/changeset/ports/370397

Log:
  graphics/py-pillow: fix build of tk extension

  - Update to 2.6.0
  - USES python

  PR:		193958
  Submitted by:	mva
  Approved by:	koobs (maintainer)

Changes:
  head/graphics/py-pillow/Makefile
  head/graphics/py-pillow/distinfo