[Debian-med-packaging] Bug#644277: mobyle: FTBFS when only building architecture-dependent packages
Aaron M. Ucko
ucko at debian.org
Tue Oct 4 17:46:50 UTC 2011
Source: mobyle
Version: 1.0.2~dfsg-1
Severity: serious
Justification: fails to build from source
Hi, Olivier.
I've found that builds of mobyle covering only the architecture-dependent
mobyle-utils package (as on the autobuilders) are failing:
mv debian/mobyle/usr/share/mobyle/htdocs/data debian/mobyle/var/lib/mobyle/
mv: cannot move `debian/mobyle/usr/share/mobyle/htdocs/data' to `debian/mobyle/var/lib/mobyle/': No such file or directory
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `.../mobyle-1.0.2~dfsg'
make: *** [binary-arch] Error 2
There are various ways to account for this possibility, but I'd suggest
tightening mobyle's build dependency on debhelper to (>= 8.9.7) and
proceeding to factor out separate override_dh_auto_install-arch and
override_dh_auto_install-indep targets (along with a -common target on
which they could both depend that would run setup.py):
clean:
dh clean --with python2
rm -f debian/common-install-stamp
debian/common-install-stamp:
python setup.py install ...
find ... | xargs sed ...
find ... | xargs sed ...
touch $@
override_dh_auto_install-arch: debian/common-install-stamp
mv debian/mobyle/usr/share/mobyle/core/Tools/setsid \
debian/mobyle-utils/usr/bin/mobyle-setsid
override_dh_auto_install-indep: debian/common-install-stamp
# The old override_dh_auto_install target's remaining commands.
At any rate, please test with svn-buildpackage -B or the like to confirm
that builds only covering mobyle-utils succeed.
Thanks!
More information about the Debian-med-packaging
mailing list