severity 409026 important
tag 409026 + unreproducible
thanks

Hello,

On Tue, 30 Jan 2007, Andreas Jochens wrote:
> Hello,
> 
> when building 'wims' in a clean unstable chroot,
> I get the following error:
> 
> # populating /var/lib/wims
> orig_dir=$(pwd)/wims; \
[...]
>       cp ${orig_dir}/src/Wimslogd/wimslogd bin/
> cp: cannot stat `/wims-3.60/wims/public_html/wims': No such file or directory
> cp: cannot stat `/wims-3.60/wims/src/Wimslogd/wimslogd': No such file or 
> directory
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/wims-3.60'
> make: *** [install-arch] Error 2

Andreas, are you building the package with sudo instead of fakeroot ?
Which shell are you using as /bin/sh ?

Please send us the full build log and tell us on which architecture you
tried the build.

This version has successully built on all arches and I couldn't reproduce
the bug locally. Thus downgrading to important.

At first look, I first thought of a variant of the standard error when
building with sudo: usually $(PWD) is not defined because sudo is
stripping most environment variables. But here we're using $$(pwd) in the
Makefile which leads to "$(pwd)" given to the shell and this returns a
value. And I built the package with debuild -r sudo and it worked.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to