Open fgrsnau opened 7 years ago
When dpkg-buildpackage is called in a completely clean build tree the following happens:
dpkg-buildpackage
# Move console scripts to /usr/bin mkdir -p debian/hades/usr/bin mv debian/hades/usr/lib/hades/bin/hades-* debian/hades/usr/bin make[1]: Leaving directory '/build/hades' dh_install -O--buildsystem=dh_virtualenv dh_install: Cannot find (any matches for) "locales/de/LC_MESSAGES/hades.mo" (tried in "." and "debian/tmp") dh_install: hades missing files: locales/de/LC_MESSAGES/hades.mo dh_install: missing files, aborting
A manual python3 setup.py build before running dpkg-buildpackage is a workaround.
python3 setup.py build
I want to add, that this issue only occurs when dh-virtualenv ist used. The following works fine:
dh-virtualenv
builder@01234567890a:~/hades$ USE_DH_VIRTUALENV=0 dpkg-buildpackage -uc -us -b
When
dpkg-buildpackage
is called in a completely clean build tree the following happens:A manual
python3 setup.py build
before runningdpkg-buildpackage
is a workaround.