Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2014 22:00:35 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        koobs@FreeBSD.org
Subject:   py27-pillow-2.6.0 fails if tkinter option is on
Message-ID:  <CAJ_iqtb%2B9eOjo79Csphs4cNvH=BAi1P7iTa7_dgwM1410GSZ5A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
root@kg-core1# make showconfig
===> The following configuration options are available for py27-pillow-2.6.0:
     FREETYPE=on: TrueType font rendering support
     JPEG=on: JPEG image format support
     LCMS=on: Little Color Management System
     PNG=on: PNG image format support
     TIFF=on: TIFF image format support
     TKINTER=on: Tkinter (Tcl/Tk) BitmapImage & PhotoImage support
     WEBP=on: WebP image format support
===> Use 'make config' to modify these settings

on
tingo@kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri
Oct 31 22:52:44 CET 2014
root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

root@kg-core1# make
===>  License PIL accepted by the user
===>  Found saved configuration for py27-pillow-2.6.0
===>   py27-pillow-2.6.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-pillow-2.6.0 for building
===>  Extracting for py27-pillow-2.6.0
=> SHA256 Checksum OK for Pillow-2.6.0.tar.gz.
===>  Patching for py27-pillow-2.6.0
===>   py27-pillow-2.6.0 depends on package: py27-setuptools27>0 - found
===>   py27-pillow-2.6.0 depends on file: /usr/local/bin/python2.7 - found
===>   py27-pillow-2.6.0 depends on executable: wish8.6 - found
===>   py27-pillow-2.6.0 depends on shared library: libfreetype.so -
found (/usr/local/lib/libfreetype.so.6.11.2)
===>   py27-pillow-2.6.0 depends on shared library: libjpeg.so - found
(/usr/local/lib/libjpeg.so.11)
===>   py27-pillow-2.6.0 depends on shared library: liblcms2.so -
found (/usr/local/lib/liblcms2.so.2.0.6)
===>   py27-pillow-2.6.0 depends on shared library: libtiff.so - found
(/usr/local/lib/libtiff.so.4)
===>   py27-pillow-2.6.0 depends on shared library: libwebp.so - found
(/usr/local/lib/libwebp.so.5.0.1)
===>  Configuring for py27-pillow-2.6.0
running config
===>  Staging for py27-pillow-2.6.0
===>   py27-pillow-2.6.0 depends on package: py27-setuptools27>0 - found
===>   py27-pillow-2.6.0 depends on file: /usr/local/bin/python2.7 - found
===>   Generating temporary packing list
running build
running build_py
creating build
creating build/lib.freebsd-9.3-STABLE-amd64-2.7
creating build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/BdfFontFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/BmpImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/BufrStubImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ContainerIO.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/CurImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/DcxImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/EpsImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ExifTags.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/FitsStubImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/FliImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/FontFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/FpxImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GbrImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GdImageFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GifImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GimpGradientFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GimpPaletteFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/GribStubImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/IcnsImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/IcoImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/Image.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageChops.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageCms.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageColor.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageDraw.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageDraw2.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageEnhance.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageFileIO.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageFilter.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageFont.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageGrab.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageMath.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageMode.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageMorph.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageOps.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImagePalette.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImagePath.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageQt.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageSequence.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageShow.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageStat.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageTk.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageTransform.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImageWin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/ImtImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/IptcImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/JpegImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/JpegPresets.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/McIdasImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/MicImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/MpegImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/MpoImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/MspImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/OleFileIO.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PSDraw.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PaletteFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PalmImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PcdImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PcfFontFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PcxImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PdfImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PixarImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PngImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PpmImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PsdImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/PyAccess.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/SgiImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/SpiderImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/SunImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/TarIO.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/TgaImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/TiffImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/TiffTags.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/WalImageFile.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/WebPImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/WmfImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/XVThumbImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/XbmImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/XpmImagePlugin.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/__init__.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/_binary.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
copying PIL/_util.py -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
running egg_info
creating Pillow.egg-info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
writing manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.bdf' under directory 'Images'
warning: no files found matching '*.fli' under directory 'Images'
warning: no files found matching '*.gif' under directory 'Images'
warning: no files found matching '*.icns' under directory 'Images'
warning: no files found matching '*.ico' under directory 'Images'
warning: no files found matching '*.jpg' under directory 'Images'
warning: no files found matching '*.pbm' under directory 'Images'
warning: no files found matching '*.pil' under directory 'Images'
warning: no files found matching '*.png' under directory 'Images'
warning: no files found matching '*.ppm' under directory 'Images'
warning: no files found matching '*.psd' under directory 'Images'
warning: no files found matching '*.tar' under directory 'Images'
warning: no files found matching '*.webp' under directory 'Images'
warning: no files found matching '*.xpm' under directory 'Images'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching '*.icm' under directory 'Tests'
warning: no files found matching '*.txt' under directory 'Tk'
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.freebsd-9.3-STABLE-amd64-2.7/PIL
running build_ext
Traceback (most recent call last):
  File "setup.py", line 757, in <module>
    zip_safe=True,
  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.7/distutils/command/build_ext.py", line
337, in run
    self.build_extensions()
  File "setup.py", line 507, in build_extensions
    % (f, f))
ValueError: --enable-tcl requested but tcl not found, aborting.
*** [do-install] Error code 1

Stop in /usr/ports/graphics/py-pillow.
*** [stage] Error code 1

Stop in /usr/ports/graphics/py-pillow.

If the option is off, everything works.
-- 
Regards,
Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtb%2B9eOjo79Csphs4cNvH=BAi1P7iTa7_dgwM1410GSZ5A>