On Wed, Jun 25, 2008 at 10:54:14AM -0400, Joey Hess wrote:
> Yves-Alexis Perez wrote:
> > Problem is during dh_install, which tries to look in debian/$package when
> > there is multiple packages, and in debian/tmp when there is only one.
> 
> No, if you'll check its man page, you'll find that in v7 mode, it looks
> first in the current directory, and then falls back to debian/tmp if a
> specified file is not found. 
> 
> Your package lists 'usr' as a directory to install for the arch any
> package xfce4-dict, and this is not present in either the current
> directory, or debian/tmp, so installation fails.

What I don't understand is why is the behavior different when one builds
arch:all + arch:any package and when one builds only arch:any.

I use the minimal rule file which, aiui, install files using root as
debian/$package/ when building with:
dpkg-buildpackage -rfakeroot -us -uc -B

installing ur.gmo as
/build/buildd/xfce4-dict-0.4.0/debian/xfce4-dict/usr/share/locale/ur/LC_MESSAGES/xfce4-dict.mo

But the same rule files, when building using:
dpkg-buildpackage -rfakeroot -us -uc, installs stuff in debian/tmp

installing ur.gmo as
/home/corsac/debian/sources/xfce4-dict-0.4.0/debian/tmp/usr/share/locale/ur/LC_MESSAGES/xfce4-dict.mo

So maybe the problem is not in dh_install at all, but still the DESTDIR
isn't consistent wether I use -B or not.

Cheers,
-- 
Yves-Alexis



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to