# Make/deploy fail

**URL:** https://discuss.elastic.co/t/make-deploy-fail/291372
**Category:** Beats
**Tags:** beats-development
**Created:** [December 9, 2021, 11:26pm UTC](https://discuss.elastic.co/t/make-deploy-fail/291372 "2021-12-09T23:26:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Steph\_van\_Schalkwyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steph_van_schalkwyk/32/98653_2.png) [@Steph\_van\_Schalkwyk](https://discuss.elastic.co/u/Steph_van_Schalkwyk)
#### Post date: [December 9, 2021, 11:26pm UTC](https://discuss.elastic.co/t/make-deploy-fail/291372/1 "2021-12-09T23:26:31Z")

</div>

/dev-tools/deploy and  
$make clean  
fail with:

```auto
make[1]: Leaving directory '/home/steph/go/src/github.com/elastic/beats/x-pack/packetbeat'
make[1]: Entering directory '/home/steph/go/src/github.com/elastic/beats/x-pack/libbeat'
Makefile:12: warning: overriding recipe for target 'update'
../../libbeat/scripts/Makefile:350: warning: ignoring old recipe for target 'update'
Makefile:12: warning: overriding recipe for target 'fields'
../../libbeat/scripts/Makefile:341: warning: ignoring old recipe for target 'fields'
Makefile:12: warning: overriding recipe for target 'config'
../../libbeat/scripts/Makefile:345: warning: ignoring old recipe for target 'config'
/home/steph/.magefile cleaned
make[1]: Leaving directory '/home/steph/go/src/github.com/elastic/beats/x-pack/libbeat'
make[1]: *** generator: No such file or directory. Stop.
make: *** [Makefile:89: clean] Error 2

```

```auto
ake[1]: Leaving directory '/home/steph/go/src/github.com/elastic/beats/x-pack/packetbeat'
make[1]: Entering directory '/home/steph/go/src/github.com/elastic/beats/x-pack/libbeat'
Makefile:12: warning: overriding recipe for target 'update'
../../libbeat/scripts/Makefile:350: warning: ignoring old recipe for target 'update'
Makefile:12: warning: overriding recipe for target 'fields'
../../libbeat/scripts/Makefile:341: warning: ignoring old recipe for target 'fields'
Makefile:12: warning: overriding recipe for target 'config'
../../libbeat/scripts/Makefile:345: warning: ignoring old recipe for target 'config'
/home/steph/.magefile cleaned
make[1]: Leaving directory '/home/steph/go/src/github.com/elastic/beats/x-pack/libbeat'
make[1]: *** generator: No such file or directory. Stop.
make: *** [Makefile:89: clean] Error 2
Traceback (most recent call last):
  File "./deploy", line 25, in <module>
    main()
  File "./deploy", line 16, in main
    check_call("make clean", shell=True)
  File "/home/steph/Applications/miniconda3/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'make clean' returned non-zero exit status 2.

```

---

<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: [January 7, 2022, 1:26am UTC](https://discuss.elastic.co/t/make-deploy-fail/291372/2 "2022-01-07T01:26:35Z")

</div>

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