# Filebeat "make update" fails on 7.0

**URL:** <https://discuss.elastic.co/t/filebeat-make-update-fails-on-7-0/177304>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 17, 2019, 1:42pm UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-on-7-0/177304 "2019-04-17T13:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muryoh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muryoh/32/42891_2.png) [@muryoh](https://discuss.elastic.co/u/muryoh)\
**Post date:** [April 17, 2019, 1:42pm UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-on-7-0/177304/1 "2019-04-17T13:42:45Z")

</div>

Hey there 🙂

I just had a cool presentation of the Beats ecosystem, and more particularly of FileBeats  
I think it's very cool and would like to write a component for an application of my company.

Having followed the documentation (for example [https://www.elastic.co/guide/en/beats/devguide/current/beats-contributing.html](https://www.elastic.co/guide/en/beats/devguide/current/beats-contributing.html)) it seems the 7.0 branch of the github repo doesn't work as expected, or that I'm missing something obvious

Basically, **make update** fails.

This is what I get on 7.0:

> **Summary**
>
> ```
> \u279c filebeat git:(7.0) VIRTUALENV_PARAMS="-p python2.7" make clean update
> /home/rmasson/.magefile cleaned
> mage update
> Generated fields.yml for filebeat to /home/rmasson/go/src/github.com/elastic/beats/filebeat/fields.yml
> No fields files for module apache2
> Generated fields.yml for filebeat to /home/rmasson/go/src/github.com/elastic/beats/filebeat/fields.yml
> >> Building filebeat.yml for linux/amd64
> >> Building filebeat.reference.yml for linux/amd64
> >> Building filebeat.docker.yml for linux/amd64
> Generated fields.yml for filebeat to /home/rmasson/go/src/github.com/elastic/beats/filebeat/build/fields/fields.all.yml
> Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-t_9xr8ol/functools32/
> Error: running "/home/rmasson/go/src/github.com/elastic/beats/build/ve/linux/bin/pip install --quiet -Ur /home/rmasson/go/src/github.com/elastic/beats/libbeat/tests/system/requirements.txt" failed with exit code 1
> make: *** [Makefile:13: update] Error 1
> 
> ```

While on 6.7 it seems to work as expected:

> **Summary**
>
> ```
> \u279c filebeat git:(6.7) VIRTUALENV_PARAMS="-p python2.7" make clean update
> /home/rmasson/.magefile cleaned
> Running virtualenv with interpreter /usr/bin/python2.7
> New python executable in /home/rmasson/go/src/github.com/elastic/beats/filebeat/build/python-env/bin/python2.7
> Also creating executable in /home/rmasson/go/src/github.com/elastic/beats/filebeat/build/python-env/bin/python
> Installing setuptools, pip, wheel...
> done.
> DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
> DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
> docker-compose 1.23.1 has requirement PyYAML<4,>=3.10, but you'll have pyyaml 4.2b1 which is incompatible.
> Generated fields.yml for filebeat to /home/rmasson/go/src/github.com/elastic/beats/filebeat/fields.yml
> find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
> 
> find: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
> 
> Updating generated files for filebeat
> mkdir -p include
> go run ../dev-tools/cmd/asset/asset.go -license ASL2 -pkg include -in fields.yml -out include/fields.go filebeat
> if [-d /home/rmasson/go/src/github.com/elastic/beats/filebeat/_meta/kibana]; then \
> cp -pr /home/rmasson/go/src/github.com/elastic/beats/filebeat/_meta/kibana/* /home/rmasson/go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated ; \
> fi
> >> The index pattern was created under /home/rmasson/go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/5/index-pattern/filebeat.json
> >> The index pattern was created under /home/rmasson/go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/6/index-pattern/filebeat.json
> 
> ```

Is there something I missed in the setup?

Cheers,  
Rémy

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [April 17, 2019, 4:51pm UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-on-7-0/177304/2 "2019-04-17T16:51:34Z")

</div>

Hmmm, I just tried running `make update` on the `7.0` branch and am unable to reproduce the issue you are seeing. I'm running Python 2.7.15 and pip 19.0.3. I ran my command outside any virtualenv.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 15, 2019, 4:51pm UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-on-7-0/177304/3 "2019-05-15T16:51:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
