Firstly, I would normally try raising this as a forum post first but forum accounts need to be manually approved and I'm in the queue and I've hit a brick wall where I can make no progress. Hopefully, it should be an easy fix as this is quite a fundamental problem.
I'm trying to build the vyos-1x git repository into a .deb file which can be loaded onto VyOS. As per the instructions given here:- https://docs.vyos.io/en/latest/contributing/build-vyos.html#build-packages
For the moment I am running with the vanilla head release
However when following the instructions the dpkg-buildpackage command fails with the following error message:-
make[1]: Leaving directory '/vyos/vyos-1x' dh_install dh_install: warning: Cannot find (any matches for) "usr/bin/config-mgmt" (tried in ., debian/tmp) dh_install: warning: vyos-1x missing files: usr/bin/config-mgmt dh_install: error: missing files, aborting make: *** [debian/rules:22: binary] Error 255 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I've tried going back in time through the commits to see if the behaviour but the failure persists. People must be testing their builds as part of the pull request process so I can't believe this has been broken for so long. So, something must be wrong with my build environment but I followed the instructions on the website to the letter but it just won't build the deb file. If this is the case then we should update the documentation to show how it should be built.