So I'm trying to update ports on a particular system and it's dying on py25-cloud-init:
Google searching hasn't come up with anything helpful, and emailing the port maintainer a few weeks ago hasn't gotten a response. Any ideas? FreeBSD 12-RELEASE
Code:
running build_scripts
creating build/scripts-2.7
copying tools/cloud-init-per -> build/scripts-2.7
(cd /usr/ports/net/cloud-init/work-py27/cloud-init-19.2 && /bin/mv sysvinit/freebsd/cloudconfig config/cloud.cfg)
===>>> Building the port required 2 seconds
===> Staging for py27-cloud-init-19.2
===> Generating temporary packing list
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 146, in <module>
if (is_f(f) and not is_generator(f))],
File "setup.py", line 123, in render_tmpl
tiny_p([sys.executable, './tools/render-cloudcfg', template, fpath])
File "setup.py", line 50, in tiny_p
(cmd, ret, out, err))
RuntimeError: Failed running ['/usr/local/bin/python2.7', './tools/render-cloudcfg', 'systemd/cloud-init-local.service.tmpl', 'RENDERED_TEMPDLRpVL8/cloud-init-local.service'] [rc=1] (, Traceback (most recent call last):
File "./tools/render-cloudcfg", line 12, in <module>
from cloudinit import templater
File "/usr/ports/net/cloud-init/work-py27/cloud-init-19.2/cloudinit/templater.py", line 36, in <module>
from cloudinit import util
File "/usr/ports/net/cloud-init/work-py27/cloud-init-19.2/cloudinit/util.py", line 49, in <module>
from cloudinit import url_helper
File "/usr/ports/net/cloud-init/work-py27/cloud-init-19.2/cloudinit/url_helper.py", line 13, in <module>
import requests
File "/usr/local/lib/python2.7/site-packages/requests/__init__.py", line 44, in <module>
import chardet
ImportError: No module named chardet
)
*** Error code 1
Stop.
make: stopped in /usr/ports/net/cloud-init
===>>> make stage failed for net/cloud-init@py27
===>>> Aborting update
===>>> You can restart from the point of failure with this command line:
portmaster <flags> net/cloud-init@py27
This command has been saved to /tmp/portmasterfail.txt