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

2001-05-25 Thread Alwyn Schoeman

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


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




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

2001-05-25 Thread Joey Hess

Noel Koethe wrote:
 Ahh, ok. So its a little problem with dh_movefiles which wants to move
 from debian/tmp by default and/or ignores my export DH_COMPAT=3 in
 debian/rules.

man dh_movefiles (see NOTES)

-- 
see shy jo


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




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

2001-05-25 Thread Alwyn Schoeman
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



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

2001-05-25 Thread Noel Koethe
On Fri, 25 May 2001, Alwyn Schoeman wrote:

Hello,

 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

Hmm, I don't want it but dh_movefiles wants debian/tmp
I want to use the standard.
So this is a general problem or just my?

  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'
  dh_movefiles: debian/tmp does not exist.

thx.

BTW: Why quoted the whole mail?

-- 

Noel



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

2001-05-25 Thread Daniel Stone
On Fri, May 25, 2001 at 02:41:34PM +0200, Noel Koethe wrote:
 On Fri, 25 May 2001, Alwyn Schoeman wrote:
 
 Hello,
 
  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
 
 Hmm, I don't want it but dh_movefiles wants debian/tmp
 I want to use the standard.
 So this is a general problem or just my?

The new standard (with debhelper v3) is debian/package name, not
debian/tmp. So, in this case, you'd use debian/drac everywhere, instead of
debian/tmp.

Hope this helps,
:) d

-- 
Daniel Stone[EMAIL PROTECTED] [EMAIL PROTECTED]



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

2001-05-25 Thread Noel Koethe
On Sat, 26 May 2001, Daniel Stone wrote:

Hello,

   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
  
  Hmm, I don't want it but dh_movefiles wants debian/tmp
  I want to use the standard.
  So this is a general problem or just my?
 
 The new standard (with debhelper v3) is debian/package name, not
 debian/tmp. So, in this case, you'd use debian/drac everywhere, instead of
 debian/tmp.

Ahh, ok. So its a little problem with dh_movefiles which wants to move
from debian/tmp by default and/or ignores my export DH_COMPAT=3 in
debian/rules.

 Hope this helps,

Yes. very much. I thought I made debian/rules wrong or made another error.

thx.

-- 
Noel



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

2001-05-25 Thread Joey Hess
Noel Koethe wrote:
 Ahh, ok. So its a little problem with dh_movefiles which wants to move
 from debian/tmp by default and/or ignores my export DH_COMPAT=3 in
 debian/rules.

man dh_movefiles (see NOTES)

-- 
see shy jo