[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
Source: opennebula
Version: 2.0.1-1
Severity: serious
Justification: fails to build from source
Builds of just opennebula's architecture-dependent packages are failing:
dh_auto_install
dh_install -p opennebula-node debian/opennebula-node.sudoers
/etc/sudoers.d
dh_install: No packages to build.
mv debian/opennebula-node/etc/sudoers.d/opennebula-node.sudoers \
debian/opennebula-node/etc/sudoers.d/opennebula-node
mv: cannot stat `debian/opennebula-node/etc/sudoers.d/opennebula-node.sudoers': No such file or directory
make[1]: *** [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?
Thanks!
More information about the Pkg-opennebula-devel
mailing list