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

Re: problem with dpkg-buildpackage -rfakeroot / dh_movefiles: debian/tmp does not exist.



This is actually similar to what I was experiencing.  If you want to use 
debian/tmp you'll have to add -Pdebian/tmp to all dh_* functions that creates 
or install files....

On Friday 25 May 2001 14:24, Noel Koethe wrote:
> Hello,
>
> this is my first package from scratch and I have a problem.:(
> I read http://www.de.debian.org/doc/maint-guide/ but I have an error when
> I run:
> 	dpkg-buildpackage -rfakeroot
>
> ...
> touch build-stamp
>  fakeroot debian/rules binary
> dh_testdir
> dh_testroot
> dh_clean -k
>         rm -f debian/substvars debian/postinst.debhelper
> debian/postrm.debhelper debian/preinst.debhelper debian/prerm.debhelper
>         rm -rf debian/drac
>         find . -type f -a \( -name \#\*\# -o -name \*\~ -o -name DEADJOE
> -o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o
> -name .\*.rej -o -name .SUMS -o -name TAGS -o -name core -o \( -path
> \*/.deps/\* -a -name \*.P \) \) -exec rm -f {} \;
> dh_installdirs
>         install -d debian/drac
>         install -d debian/drac/usr/sbin debian/drac/usr/share/man/man3
> # Add here commands to install the package into debian/drac.
> /usr/bin/make install DESTDIR=`pwd`/debian/drac
> make[1]: Entering directory `/home/noel/deb/drac-1.11'
> install -c -o bin -g bin -m 0755 rpc.dracd
> /home/noel/deb/drac-1.11/debian/drac/usr/sbin make[1]: Leaving directory
> `/home/noel/deb/drac-1.11'
> dh_movefiles
> dh_movefiles: debian/tmp does not exist.
> make: *** [install] Error 1
>
> some lines from debian/rules:
> export DH_COMPAT=3
> ...
> install: DH_OPTIONS=
> install: build
>         dh_testdir
>         dh_testroot
>         dh_clean -k
>         dh_installdirs
>
>         # Add here commands to install the package into debian/drac.
>         $(MAKE) install DESTDIR=`pwd`/debian/drac
>
>         dh_movefiles
> ...
>
> If I switch the install line to DESTDIR=`pwd`/debian/tmp
> but dh_installdirs always installs into debian/drac
>
> Where is my error?
>
> Thank you.

-- 
~~~~~~~~~~~~~~
Alwyn Schoeman
Prism Wireless

The Internet will destroy the barriers that are isolating people
 from decent opportunities based on where they happened to have been born, 
and this will be a fundamental transformation of our global society that will 
greatly discomfort a lot of worthless people. Then those same worthless people
 will create new barriers based on access to source code, licenses, 
software permissions, etc. Sigh.
-- Hans Reiser



Reply to: