# Gen install shenzhen fails 50% of the time

**URL:** <https://discuss.circleci.com/t/gen-install-shenzhen-fails-50-of-the-time/16264>\
**Category:** Bug Reports\
**Created:** [September 5, 2017, 6:05pm UTC](https://discuss.circleci.com/t/gen-install-shenzhen-fails-50-of-the-time/16264 "2017-09-05T18:05:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben\_hinge](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/ben_hinge/32/1337_2.png) [@ben\_hinge](https://discuss.circleci.com/u/ben_hinge)\
**Post date:** [September 5, 2017, 6:05pm UTC](https://discuss.circleci.com/t/gen-install-shenzhen-fails-50-of-the-time/16264/1 "2017-09-05T18:05:56Z")

</div>

We install shenzhen in our circle.yml script and our builds fail 50% of the time on that command with the following error:

```auto
current directory: /Users/distiller/.gem/ruby/2.3.4/gems/nokogiri-1.8.0/ext/nokogiri
make "DESTDIR=" install
compiling html_document.c
In file included from html_document.c:1:
In file included from ./html_document.h:4:
./nokogiri.h:19:10: fatal error: 'libxml/parser.h' file not found
#include <libxml/parser.h>
         ^
1 error generated.
make: *** [html_document.o] Error 1

make install failed, exit code 2

```

You can see the failure here: [https://circleci.com/gh/Hinge/ios/20911](https://circleci.com/gh/Hinge/ios/20911)  
Same build (just a simple rebuild of the previous) succeeded here: [https://circleci.com/gh/Hinge/ios/20912](https://circleci.com/gh/Hinge/ios/20912)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:35am UTC](https://discuss.circleci.com/t/gen-install-shenzhen-fails-50-of-the-time/16264/2 "2018-06-18T11:35:07Z")

</div>


