[Pkg-opennebula-devel] Bug#605042: opennebula: FTBFS when only architecture-dependent packages requested
Aaron M. Ucko
ucko at debian.org
Fri Nov 26 17:14:47 UTC 2010
Justification: fails to build from source
Builds of just opennebula's architecture-dependent packages are failing:
dh_install -p opennebula-node debian/opennebula-node.sudoers
dh_install: No packages to build.
mv debian/opennebula-node/etc/sudoers.d/opennebula-node.sudoers \
mv: cannot stat `debian/opennebula-node/etc/sudoers.d/opennebula-node.sudoers': No such file or directory
make: *** [override_dh_auto_install] Error 1
The override_dh_fixperms command
chmod 0440 debian/opennebula-node/etc/sudoers.d/opennebula-node
appears likely to cause trouble as well. To address this issue, you could
simply ignore errors from both commands (mv and chmod), but it would be
cleaner to conditionalize them on the results of invoking dh_listpackages.
Specifically, I believe something along the following lines should work:
[ -z `dh_listpackages -p opennebula-node 2>/dev/null` ] || \
Could you please take care of it one way or another?
More information about the Pkg-opennebula-devel