mysterious recipe bootstrap failure (fatal error: ffi.h: No such file or directory)

2 views
Skip to first unread message

Paweł Hajdan, Jr.

unread,
Apr 7, 2017, 10:51:27 AM4/7/17
to infr...@chromium.org, Robbie Iannucci
I've noticed https://bugs.chromium.org/p/chromium/issues/detail?id=709260 was filed, and the root cause seems to be that the bootstrap failed.

Any ideas what went wrong? It's also worrying the command seemed to continue, as opposed to bailing out when the bootstrap failed.

Building wheels for collected packages: ndg-httpsclient, pyOpenSSL, cryptography, pycparser
  Running setup.py bdist_wheel for ndg-httpsclient: started
  Running setup.py bdist_wheel for ndg-httpsclient: finished with status 'done'
  Stored in directory: /usr/local/google/home/dgarrett/sand/crops/build/scripts/slave/.recipe_deps/recipe_engine/.bootstrap_cache/download_cache/wheels/b3/7f/2c/f167f769b93957ab784eba09ab089bf37195b955e52c1e574a
  Running setup.py bdist_wheel for pyOpenSSL: started
  Running setup.py bdist_wheel for pyOpenSSL: finished with status 'done'
  Stored in directory: /usr/local/google/home/dgarrett/sand/crops/build/scripts/slave/.recipe_deps/recipe_engine/.bootstrap_cache/download_cache/wheels/85/29/e2/e8bfda343f38e339b01c31422dc4e6e288bb1b1428b86fa22e
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'error'
  Complete output from command /usr/local/google/home/dgarrett/sand/crops/build/scripts/slave/.recipe_deps/recipe_engine/ENV/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-iacMlj/cryptography/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/tmp2Rl90apip-wheel- --python-tag cp27:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
   #include <ffi.h>
                   ^
  compilation terminated.

Paweł
Reply all
Reply to author
Forward
0 new messages