[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new ocaml (3.04-2) packages vailable for testing



On Sun, Dec 16, 2001 at 08:26:42PM +0100, Stefano Zacchiroli wrote:
> On Sat, Dec 15, 2001 at 03:23:52AM +0100, Sven wrote:
> > I have new ocaml 3.04-2 packages available for testing at :
> > 
> > ftp://lambda.u-strasbg.fr/debian/3.04
> 
> Bug report: I've tried the build from the sources, the build process
> halts when invoking dh_movefiles with output:
> 
>    dh_movefiles -pocaml-base \
>    --sourcedir=/public/debian_sources/ocaml/ocaml-3.04/debian/ocaml  
>    \
>    `cat /public/debian_sources/ocaml/ocaml-3.04/debian/ocaml-base.files`
>    dh_movefiles: The sourcedir must be a relative filename, not starting
>    with `/'.
>    make: *** [install] Error 1
> 
> This is because in debian/rules you used something like:
>   dh_movefiles -pocaml-base --sourcedir=$(CURDIR)/debian/ocaml
>                                         ^^^^^^^^^
> CURDIR will be expanded with full path that starts with "/" that is not
> allowed as a sourcedir par.
> Remove complitely $(CURDIR) (e.g. --sourcedir=debian/ocaml) works
> because by default sourcedir argument is relative to the current dir.

Arg, i uploaded the bad one, i replaced them by cp/mv versions, (since
dh_movefile cannot cannot cp files anyway).

Anyway, thanks for the correct dh_movefile syntax, it was not mentioned in the
doc to what the directory was supposed to be relative.

Friendly,

Sven Luther



Reply to: