Skip to content

Failed to build Pillow-3.3.0 gcc: error: _imaging.o: No such file or directory #823

Description

@Fak3

Hi. I tried to create a distro with pillow recipie:

p4a create --dist_name=testpygame --bootstrap=pygame --requirements=pygame,python2,kivy,pillow,requests,plyer --debug

I got bunch of errors:

  STDOUT:
Downloading/unpacking plyer (from -r requirements.txt (line 1))
  Downloading plyer-1.2.4.tar.gz (45kB): 45kB downloaded
  Running setup.py (path:/home/u1/.local/share/python-for-android/build/venv/build/plyer/setup.py) egg_info for package plyer

Downloading/unpacking pillow (from -r requirements.txt (line 2))
  Downloading Pillow-3.3.0.zip (10.8MB): 10.8MB downloaded
  Running setup.py (path:/home/u1/.local/share/python-for-android/build/venv/build/pillow/setup.py) egg_info for package pillow

    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Installing collected packages: plyer, pillow
  Running setup.py install for plyer

  Running setup.py install for pillow

    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
    building 'PIL._imaging' extension
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Resample.c -o build/temp.linux-x86_64-2.7/libImaging/Resample.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Geometry.c -o build/temp.linux-x86_64-2.7/libImaging/Geometry.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Quant.c -o build/temp.linux-x86_64-2.7/libImaging/Quant.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o
    /bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/XbmEncode.c -o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o
    Building using 2 processes
    gcc -pthread -shared build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o build/temp.linux-x86_64-2.7/libImaging/QuantPngQuant.o build/temp.linux-x86_64-2.7/libImaging/codec_fd.o -L/home/u1/.local/share/python-for-android/build/venv/lib -L/lib64 -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/lib -L/usr/lib64 -ljpeg -lz -ltiff -lpython2.7 -o build/lib.linux-x86_64-2.7/PIL/_imaging.so
    gcc: error: build/temp.linux-x86_64-2.7/_imaging.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/decode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/encode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/map.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/display.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/outline.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/path.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Access.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Resample.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Bands.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/BitDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Blend.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Chops.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Convert.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Copy.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crc32.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crop.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Dib.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Draw.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Effects.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/File.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Fill.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Filter.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/FliDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Geometry.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/GetBBox.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/HexDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Histo.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Matrix.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/MspDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Negative.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Offset.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Pack.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/PackDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Palette.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Paste.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Quant.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHash.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Point.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/RankFilter.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Storage.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Unpack.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantPngQuant.o: No such file or directory
    gcc: error: build/temp.linux-x86_64-2.7/libImaging/codec_fd.o: No such file or directory
    error: command 'gcc' failed with exit status 1
    Complete output from command /home/u1/.local/share/python-for-android/build/venv/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/u1/.local/share/python-for-android/build/venv/build/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Dhl9O_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/u1/.local/share/python-for-android/build/venv/include/site/python2.7 --home=/tmp/tmp_JGjIw:
    running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/PIL

copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/_tkinter_finder.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/__init__.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL

copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL

running 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

warning: manifest_maker: standard file '-c' not found



reading manifest file 'Pillow.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching '*.sh'

no previously-included directories found matching 'docs/_static'

warning: no previously-included files found matching '.coveragerc'

warning: no previously-included files found matching '.editorconfig'

warning: no previously-included files found matching '.landscape.yaml'

warning: no previously-included files found matching 'appveyor.yml'

warning: no previously-included files found matching 'build_children.sh'

warning: no previously-included files found matching 'tox.ini'

warning: no previously-included files matching '.git*' found anywhere in distribution

warning: no previously-included files matching '*.pyc' found anywhere in distribution

warning: no previously-included files matching '*.so' found anywhere in distribution

writing manifest file 'Pillow.egg-info/SOURCES.txt'

copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL

running build_ext

dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)

building 'PIL._imaging' extension

creating build/temp.linux-x86_64-2.7/libImaging

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Resample.c -o build/temp.linux-x86_64-2.7/libImaging/Resample.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Geometry.c -o build/temp.linux-x86_64-2.7/libImaging/Geometry.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Quant.c -o build/temp.linux-x86_64-2.7/libImaging/Quant.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o

/bin/false -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/u1/.local/share/python-for-android/build/venv/build/pillow/libImaging -I/home/u1/.local/share/python-for-android/build/venv/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/XbmEncode.c -o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o

Building using 2 processes

gcc -pthread -shared build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o build/temp.linux-x86_64-2.7/libImaging/QuantPngQuant.o build/temp.linux-x86_64-2.7/libImaging/codec_fd.o -L/home/u1/.local/share/python-for-android/build/venv/lib -L/lib64 -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/lib -L/usr/lib64 -ljpeg -lz -ltiff -lpython2.7 -o build/lib.linux-x86_64-2.7/PIL/_imaging.so

gcc: error: build/temp.linux-x86_64-2.7/_imaging.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/decode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/encode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/map.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/display.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/outline.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/path.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Access.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Resample.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Bands.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/BitDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Blend.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Chops.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Convert.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Copy.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crc32.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Crop.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Dib.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Draw.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Effects.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/File.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Fill.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Filter.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/FliDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Geometry.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/GetBBox.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/GifEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/HexDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Histo.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Matrix.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/MspDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Negative.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Offset.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Pack.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/PackDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Palette.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Paste.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Quant.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHash.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Point.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/RankFilter.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/RawEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Storage.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Unpack.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/QuantPngQuant.o: No such file or directory

gcc: error: build/temp.linux-x86_64-2.7/libImaging/codec_fd.o: No such file or directory

error: command 'gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /home/u1/.local/share/python-for-android/build/venv/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/u1/.local/share/python-for-android/build/venv/build/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Dhl9O_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/u1/.local/share/python-for-android/build/venv/include/site/python2.7 --home=/tmp/tmp_JGjIw failed with error code 1 in /home/u1/.local/share/python-for-android/build/venv/build/pillow
Storing debug log for failure in /home/u1/.pip/pip.log


  STDERR:

I am using p4a==0.4 python==2.7.10

I was able to install Pillow directly with pip2:

$ sudo pip2 install pillow

...

    PIL SETUP SUMMARY
    --------------------------------------------------------------------
    version      Pillow 3.3.0
    platform     linux2 2.7.10 (default, May 24 2015, 14:46:10)
                 [GCC]
    --------------------------------------------------------------------
    --- JPEG support available
    *** OPENJPEG (JPEG2000) support not available
    --- ZLIB (PNG/ZIP) support available
    *** LIBIMAGEQUANT support not available
    --- LIBTIFF support available
    --- FREETYPE2 support available
    --- LITTLECMS2 support available
    --- WEBP support available
    --- WEBPMUX support available
    --------------------------------------------------------------------
    To add a missing option, make sure you have the required
    library and headers.
    See https://pillow.readthedocs.io/en/latest/installation.html#building-from-source

    To check the build, run the selftest.py script.

    changing mode of build/scripts-2.7/pilfont.py from 644 to 755
    changing mode of build/scripts-2.7/painter.py from 644 to 755
    changing mode of build/scripts-2.7/enhancer.py from 644 to 755
    changing mode of build/scripts-2.7/pilprint.py from 644 to 755
    changing mode of build/scripts-2.7/pilconvert.py from 644 to 755
    changing mode of build/scripts-2.7/pildriver.py from 644 to 755
    changing mode of build/scripts-2.7/gifmaker.py from 644 to 755
    changing mode of build/scripts-2.7/player.py from 644 to 755
    changing mode of build/scripts-2.7/thresholder.py from 644 to 755
    changing mode of build/scripts-2.7/viewer.py from 644 to 755
    changing mode of build/scripts-2.7/explode.py from 644 to 755
    changing mode of build/scripts-2.7/pilfile.py from 644 to 755
    changing mode of build/scripts-2.7/createfontdatachunk.py from 644 to 755
    changing mode of /usr/bin/createfontdatachunk.py to 755
    changing mode of /usr/bin/pilfile.py to 755
    changing mode of /usr/bin/explode.py to 755
    changing mode of /usr/bin/viewer.py to 755
    changing mode of /usr/bin/thresholder.py to 755
    changing mode of /usr/bin/player.py to 755
    changing mode of /usr/bin/gifmaker.py to 755
    changing mode of /usr/bin/pildriver.py to 755
    changing mode of /usr/bin/pilconvert.py to 755
    changing mode of /usr/bin/pilprint.py to 755
    changing mode of /usr/bin/enhancer.py to 755
    changing mode of /usr/bin/painter.py to 755
    changing mode of /usr/bin/pilfont.py to 755
Successfully installed pillow
Cleaning up...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions