home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.18k stars 31.15k forks source link

Upgrade To 115.x Causes 404: Not Found Error #40536

Closed wormuths closed 4 years ago

wormuths commented 4 years ago

The problem

Upgrading from 114.3 to 115.2 caused a loss of all lovelace interfaces. The only thing presented once HA Core started was an error of "404: Not Found".

Environment

Problem-relevant configuration.yaml

Issue is not specific to an integration as far as I can tell.


## Traceback/Error logs
<!--
  If you come across any trace or error logs, please provide them.
-->

2020-09-24 08:07:22 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=2 from 2020-09-24 12:05:02.989008)
2020-09-24 08:08:00 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package pillow==7.2.0: ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ugbkpd64
       cwd: /tmp/pip-install-ecdoeoc4/pillow/
  Complete output (170 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7
  creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  running egg_info
  writing src/Pillow.egg-info/PKG-INFO
  writing dependency_links to src/Pillow.egg-info/dependency_links.txt
  writing top-level names to src/Pillow.egg-info/top_level.txt
  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c'
  warning: no files found matching '*.h'
  warning: no files found matching '*.sh'
  warning: no previously-included files found matching '.appveyor.yml'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching '.editorconfig'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'codecov.yml'
  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
  no previously-included directories found matching '.ci'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext

  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

  Traceback (most recent call last):
    File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 903, in <module>
      zip_safe=not (debug_build() or PLATFORM_MINGW),
    File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 694, in build_extensions
      raise RequiredDependencyException(f)
  __main__.RequiredDependencyException: jpeg

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 918, in <module>
      raise RequiredDependencyException(msg)
  __main__.RequiredDependencyException:

  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

  ----------------------------------------
  ERROR: Failed building wheel for pillow
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-v5oi5qnq/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /mnt/Automation/Household/hass/deps/include/python3.7m/pillow
         cwd: /tmp/pip-install-ecdoeoc4/pillow/
    Complete output (172 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7
    creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    running egg_info
    writing src/Pillow.egg-info/PKG-INFO
    writing dependency_links to src/Pillow.egg-info/dependency_links.txt
    writing top-level names to src/Pillow.egg-info/top_level.txt
    reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'codecov.yml'
    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
    no previously-included directories found matching '.ci'
    writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
    running build_ext

    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    Traceback (most recent call last):
      File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 903, in <module>
        zip_safe=not (debug_build() or PLATFORM_MINGW),
      File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/local/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 694, in build_extensions
        raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: jpeg

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-ecdoeoc4/pillow/setup.py", line 918, in <module>
        raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:

    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ecdoeoc4/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-v5oi5qnq/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /mnt/Automation/Household/hass/deps/include/python3.7m/pillow Check the logs for full command output.
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Requirements for image not found: ['pillow==7.2.0'].
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2020-09-24 08:08:00 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2020-09-24 08:08:01 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2020-09-24 08:08:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:08:01 WARNING (MainThread) [homeassistant.components.hue] ('Please check for software updates of the bridge in the Philips Hue App.', 'Signify Hue', 'hue_hub_firmware')
2020-09-24 08:08:01 WARNING (MainThread) [homeassistant.components.hue] ('Please check for software updates of the bridge in the Philips Hue App.', 'Signify Hue', 'hue_hub_firmware')
2020-09-24 08:08:01 WARNING (MainThread) [homeassistant.components.hue] ('Please check for software updates of the bridge in the Philips Hue App.', 'Signify Hue', 'hue_hub_firmware')
2020-09-24 08:08:01 WARNING (MainThread) [homeassistant.components.hue.light] Please check for software updates of the Garage Electrical Panel bulb in the Philips Hue App.
2020-09-24 08:08:04 WARNING (MainThread) [slixmpp.basexmpp] Legacy XMPP 0.9 protocol detected.
2020-09-24 08:08:06 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:08:06 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 5 seconds
2020-09-24 08:08:11 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform openexchangerates is taking over 10 seconds.
2020-09-24 08:08:11 ERROR (SyncWorker_27) [pyicloud.base] Unknown reason
2020-09-24 08:08:11 ERROR (SyncWorker_27) [homeassistant.components.icloud.account] Error logging into iCloud Service: ('Invalid email/password combination.', PyiCloudAPIResponseException('Unknown reason'))
2020-09-24 08:08:16 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:08:16 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 10 seconds
2020-09-24 08:08:21 ERROR (MainThread) [homeassistant.components.weather] The openweathermap platform for the weather integration does not support platform setup. Please remove it from your config.
2020-09-24 08:08:21 ERROR (MainThread) [homeassistant.components.sensor] The openweathermap platform for the sensor integration does not support platform setup. Please remove it from your config.
2020-09-24 08:08:31 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:08:31 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 20 seconds
2020-09-24 08:08:42 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating safe mode
2020-09-24 08:08:56 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:08:56 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 40 seconds
2020-09-24 08:08:57 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package pillow==7.2.0: ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-j697ijwr
       cwd: /tmp/pip-install-zj_8f_sb/pillow/
  Complete output (170 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7
  creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
  running egg_info
  writing src/Pillow.egg-info/PKG-INFO
  writing dependency_links to src/Pillow.egg-info/dependency_links.txt
  writing top-level names to src/Pillow.egg-info/top_level.txt
  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c'
  warning: no files found matching '*.h'
  warning: no files found matching '*.sh'
  warning: no previously-included files found matching '.appveyor.yml'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching '.editorconfig'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'codecov.yml'
  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
  no previously-included directories found matching '.ci'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext

  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

  Traceback (most recent call last):
    File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 903, in <module>
      zip_safe=not (debug_build() or PLATFORM_MINGW),
    File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 694, in build_extensions
      raise RequiredDependencyException(f)
  __main__.RequiredDependencyException: jpeg

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 918, in <module>
      raise RequiredDependencyException(msg)
  __main__.RequiredDependencyException:

  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

  ----------------------------------------
  ERROR: Failed building wheel for pillow
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ve2fkqok/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /mnt/Automation/Household/hass/deps/include/python3.7m/pillow
         cwd: /tmp/pip-install-zj_8f_sb/pillow/
    Complete output (172 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7
    creating build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p9-amd64-3.7/PIL
    running egg_info
    writing src/Pillow.egg-info/PKG-INFO
    writing dependency_links to src/Pillow.egg-info/dependency_links.txt
    writing top-level names to src/Pillow.egg-info/top_level.txt
    reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'codecov.yml'
    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
    no previously-included directories found matching '.ci'
    writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
    running build_ext

    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    Traceback (most recent call last):
      File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 903, in <module>
        zip_safe=not (debug_build() or PLATFORM_MINGW),
      File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/local/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 694, in build_extensions
        raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: jpeg

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-zj_8f_sb/pillow/setup.py", line 918, in <module>
        raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:

    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zj_8f_sb/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ve2fkqok/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /mnt/Automation/Household/hass/deps/include/python3.7m/pillow Check the logs for full command output.
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Requirements for image not found: ['pillow==7.2.0'].
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend
2020-09-24 08:08:57 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: Could not set up all dependencies.
2020-09-24 08:08:57 WARNING (SyncWorker_0) [homeassistant.bootstrap] Cannot launch the UI because frontend not loaded
2020-09-24 08:09:41 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:09:41 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:10:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:11:06 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:11:06 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:11:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.dining_room_thermostat is taking over 10 seconds
2020-09-24 08:12:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:12:31 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:12:31 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:13:56 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:13:56 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:14:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:14:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.dining_room_thermostat is taking over 10 seconds
2020-09-24 08:15:21 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:15:21 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:16:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:16:46 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:16:46 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:17:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.dining_room_thermostat is taking over 10 seconds
2020-09-24 08:18:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:18:11 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:18:11 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:19:36 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:19:36 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:20:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:20:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.dining_room_thermostat is taking over 10 seconds
2020-09-24 08:21:01 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:21:01 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:22:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')
2020-09-24 08:22:26 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:22:26 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:23:23 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-09-24 08:23:23 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-09-24 08:23:23 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-09-24 08:23:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.dining_room_thermostat is taking over 10 seconds
2020-09-24 08:23:51 ERROR (MainThread) [homeassistant.components.roku] Error fetching roku data: Invalid response from API: Timeout occurred while connecting to device
2020-09-24 08:23:51 WARNING (MainThread) [homeassistant.config_entries] Config entry for roku not ready yet. Retrying in 80 seconds
2020-09-24 08:24:01 WARNING (MainThread) [homeassistant.components.dnsip.sensor] Exception while resolving host: (4, 'Domain name not found')

Additional information

Was working fine until the update. Performed usual update steps, and this happened. I've rolled back to a snapshot to recover.

makuser commented 4 years ago

Same as #40278.

Are you running this on 64bit Raspberry OS? I am running it on 64bit and no piwheel has been prebuilt for this and you did not install the required packages to build it yourself, which is absolutely why it fails.

makuser commented 4 years ago

The solution is to install this package: libjpeg-dev, which will also install libjpeg62-turbo-dev as a dep. You should then be able to build Pillow.

wormuths commented 4 years ago

I’m not running on a Pi. I’m running core in a FreeBSD jail. If those packages are dependencies of Home Assistant they should be pulled in as such.

So I should just use “pip3 install libjpeg-dev“? Then upgrade?

makuser commented 4 years ago

I’m not running on a Pi. I’m running core in a FreeBSD jail.

Good to know. Have a look if you can find a wheel for your architecture and python version: https://pypi.org/project/Pillow/#files

If those packages are dependencies of Home Assistant they should be pulled in as such.

They can not be "pulled in as such", as they are system library dependencies, not python library dependencies. I do agree however, that the installer notes should definitely be updated, as to include the new dependencies and it should also be noted in the upgrade notes.

As of four days ago, this has been updated: https://github.com/home-assistant/home-assistant.io/commit/4d68365e863a5e35396fd2a15e7f7727d9550a40

So I should just use “pip3 install libjpeg-dev“? Then upgrade?

No, https://www.home-assistant.io/docs/installation/raspberry-pi/

wormuths commented 4 years ago

This is a bug. I have had Home Assistant Core running for well over a year, and I’ve been using the same command to upgrade Home Assistant the whole time. This time it fails because of a dependency? If it’s a dependency, then the home assistant upgrade should either install it, or abort because of a dependency problem.

I’m not sure why you’re sending me to the install method for the Pi, I’m not running that. I need to know what commands I should run from the jail shell to make sure the upgrade doesn’t break my whole setup?

What should I go to the shell of my virtual environment and run?

wormuths commented 4 years ago

I appreciate the effort by the way... I just don’t think this can be classified as a “user error”. The process of upgrading HA should pull in what it needs, or not upgrade. HA says the upgrade completed successfully, but it no longer boots after a “success”.

makuser commented 4 years ago

I’m not sure why you’re sending me to the install method for the Pi, I’m not running that. I need to know what commands I should run from the jail shell to make sure the upgrade doesn’t break my whole setup?

Duuude. Did you even look at the link I sent you? It is still called 'raspberry pi', you are right. But it is about 'Home Assistant Core'. Look for yourself: https://www.home-assistant.io/docs/installation/#alternative-installs

I need to know what commands I should run from the jail shell to make sure the upgrade doesn’t break my whole setup?

What should I go to the shell of my virtual environment and run?

You need to install all the library dependencies in order to be able to build the Pillow python library. Doing anything inside your venv will absolutely not help at all. Like not even remotely. It can't. It would always fail. Because you first need to install the dependencies for Pillow.

On a Debian-based Linux system, the required packages are called libjpeg-dev, which you install via apt install libjpeg-dev, or actually as I found out the correct dependency is rather to libopenjp2-7, so apt install libopenjp2-7. I am the Linux guy, you seem to be a FreeBSD fan, so use whatever makes your life easier to install the required dependencies, I assume that is also called "package manager" on FreeBSD? No? I guess installing the 'Pillow' on FreeBSD will clear up all the required dependencies (pkg install py36-pillow), but it might not install the dev packages as well, so rather install the individual dependencies: pkg install jpeg-turbo tiff webp lcms2 freetype2 openjpeg harfbuzz fribidi libxcb

I ran into the same issue, but I already ran into a similar system dependency issue two times before, so I know where to look. This time, at least the documentation seems to be updated... I did not look until now, because the last two times not even that had been updated. Instead they were relying on the pywheel being prepared and ready for downloading.... Well, I was faster with my upgrade than the pywheel was finished with building, so my system tried to build the python package on its own and failed due to unmet dev library dependencies.

So I agree with you that this is actually 'a bug', but maintainers think differently, because in their opinion it is not a bug. There have been many issues in this bugtracker just about this. They also don't think it is necessary to point this out with a big red font on the release page. But I assume they just want you to run their HassOS or whatever it's called nowadays and not worry about it, because that thing will do anything on its own by pulling the appropriate and prepared docker image...

But being as stubborn like you are here:

I appreciate the effort by the way... I just don’t think this can be classified as a “user error”. The process of upgrading HA should pull in what it needs, or not upgrade. HA says the upgrade completed successfully, but it no longer boots after a “success”.

will not lead you anywhere. Because let me explain to you one simple fact:

Once you are inside a venv, it just can not magically pull in a system package. I mean why would you run it in a venv at all then? Apart from that you seem to isolate it even further from the main system by running it in some kind of jail.

No. pip can not install system packages. Not on Linux, Not on MacOS and surely not on FreeBSD. At least not without explicit commands.

You are welcome.

frenck commented 4 years ago

This is a system dependency, which Home Assistant cannot install or provide you automatically.

There is nothing for us to improve or fix on this and we do not control your system.

Closing this issue, as it is not a bug. The required packages have been listed in this issue.

makuser commented 4 years ago

There is nothing for us to improve or fix on this and we do not control your system.

See, that is the part on which I absolutely disagree.

You could improve communication with the users.

You could mention CLEARLY, that a new system dependency had been introduced by this release.

The issue as described here is a user error and I tried to explain it to the author, because it is a user error by the definition of not preparing the system to be able to run this application. But the actual underlaying problem is rather, that it is not being made easy to maintain a compatible system, due to lack of information.

The release posts on the forum are soo detailed, every single module change is summarized there. The upgrade to Pillow 7.2.0 was also mentioned. The result of it however was omitted. And THAT is the actual bug.

There needs to be a policy IMO, that such crucial information are mentioned in the release in a way that it can be found.

Of course, you might argue that I knew about the Pillow upgrade and that I could look up the dependencies for said package, but that is anything but user friendly.

So I am asking you @frenck, since you at least seem to have the permissions to close bugs on behalf of others, do you agree on the fact that it is user unfriendly and could easily be improved/rectified and could you help me bringing this issue forward to the appropriate team, or not?

I would definitely appreciate it A LOT.

frenck commented 4 years ago

See, that is the part on which I absolutely disagree.

We don't have to agree.

You could improve communication with the user

Feel free to update any of our communications in a PR, everything is open source.

Sure, it could be mentioned as a breaking change. I am sure that is more an honest oversight and not on purpose. Nevertheless, it isn't a bug in the core (where this issue is reported).

wormuths commented 4 years ago

Guys,

I'm not trying to start a war here. LOL

The issue is that as users, us "novice" tinkerers and the like, do not do things we don't understand. We read, we get it working, and we keep updated to correct issues and keep secure. I read all the breaking changes, did a backup, and updated like any good user should do. I rebooted, and the software I've come to rely on TO CONTROL MY HOME just gives me a "404: Not Found" error.

I've said it before and I will repeat it again. Any project that alienates it's users with endless breakage has a limited lifespan, and I really like Home Assistant. I contribute bugs because I'm not an expert on any of this, and that's all I can do to help. I started with Home Assistant when running in a virtual environment was the primary agreement on getting it on a system with horsepower for the future, and flexibility. It has separated a bit from that to a project that seems to want to pair with Raspberry Pi's almost exclusively. As someone with an always on, reliable NAS server, I chose to go the FreeBSD jail route. It is, in fact, what saved me from disaster. In this scenario, I simply clicked "restore snapshot" and the whole thing was back. I'm in this situation for a reason, but am by no means an expert on BSD, Python, etc...

Users like us appreciate the fact that the project has promised to continue to support Core, but a callous answer that "it's up to me to manage my system", while true, isn't good for the life of the project. Because as has been pointed out, it is open source and can be branched off when enough people get frustrated. And I think it's better to keep everyone working on one project, than fracturing things apart.

My suggestion is that if the "official" installation document gets an update, it be included in the release notes so people like myself don't find themselves broken.

Thanks for all the hard work you guys do, and the help. Now I have to get to installing some dependencies...

frenck commented 4 years ago

I'm not trying to start a war here. LOL

Me neither 👍

The issue is that as users, us "novice" tinkerers and the like, do not do things we don't understand.

I contribute bugs because I'm not an expert on any of this,

Really don't want to be *** right now, but running a virtual environment is considered and aimed towards developers/expert users. This also assumes some part of capability from the user of such a setup to be able to handle these things on their own more.

If that is not your cup of tea, I would not recommend running it in such a way and maybe consider a different installation method.

It has separated a bit from that to a project that seems to want to pair with Raspberry Pi's almost exclusively.

Maybe you want to review the options again, as that is a wrong assumption.

Nevertheless, these are more things to discuss on our support channels, like Discord or our community forums.

My suggestion is that if the "official" installation document gets an update

It had.

image https://www.home-assistant.io/docs/installation/virtualenv/

Feel free to open up a PR on the release notes to include it (like I told @wormuths above as well, who decided to give a 👎 somehow?)

wormuths commented 4 years ago

Sorry, I meant if a Home Assistant update requires a different underlying OS dependency, then put it under breaking changes. I can manage the rest. I'm not an expert, but I'm not totally lost either. My confusion relies on where the updates and dependencies need to be applied. Keep in mind, I have to keep the FreeNAS system up to date, then update the OS in the jail running on FreeNAS, then keep Python up to date, and finally Home Assistant.

It can get a little nuts. LOL. A heads up is all I ask so I know when to look elsewhere.

Have a great weekend!

frenck commented 4 years ago

Sorry, I meant if a Home Assistant update requires a different underlying OS dependency, then put it under breaking changes.

Yes, I said to times now in this issue, feel free to open up a PR to do so. 👍