Some tarballs include .deb dependencies packages in the archive.
For example, vyos-1x includes tarballs 2 times.
vyos_bld@738ac3eb0245:/vyos/work/tmp/vyos-build/scripts/package-build/vyos-1x$ ls | grep tar vyos-1x_1.5dev0.tar.gz vyos-1x_current.tar.gz
The first standard tarball, the part of this standard build.py script and another from build
i.e.
dpkg-buildpackage -us -uc -F
If we build by dpkg-buildpackage -us -uc -F, the tarball step in the build.py should be skipped.
Check tarball: unexpected deb
tar -zxvf vyos-1x_1.5dev0.tar.gz vyos_bld@738ac3eb0245:/vyos/work/tmp/vyos-build/scripts/package-build/vyos-1x/tmp$ ls vyos-1x/ | grep deb vyos-1x-build-deps_1.5dev0_all.deb