Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 23:45 +1000 schrieb Ben Finney:
> Jann Horn <[EMAIL PROTECTED]> writes:
> 
> > I changed the rules, you're right. I did so because of this report:
> > Your package does not seem to be lintian clean.
> > 'lintian' is a tool to verify if source package contain obvious
> > packaging errors. These warnings/errors were found:
> > W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
> > N:
> > N:   It looks like you try to run code in the binary-arch target
> > of
> > N:   debian/rules, even though your package is architecture-
> > independent.
> > How can I avoid this without crashing the rules?
> 
> You should always have both ‘binary-arch’ and ‘binary-indep’ targets
> in your ‘debian/rules’ file.
> 
> If your package produces architecture-independent packages, put
> appropriate actions in the ‘binary-indep’ target. Otherwise, leave
> that target empty.
> 
> If your package produces architecture-dependent packages, put
> appropriate actions in the ‘binary-arch’ target. Otherwise, leave that
> target empty.
> 
> -- 
>  \ “Simplicity and elegance are unpopular because they require |
>   `\   hard work and discipline to achieve and education to be |
> _o__)appreciated.” —Edsger W. Dijkstra |
> Ben Finney
> 
> 

Thanks, now it works!

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Problem with dpkg-buildpackage

2008-10-03 Thread Ben Finney
Jann Horn <[EMAIL PROTECTED]> writes:

> I changed the rules, you're right. I did so because of this report:
> Your package does not seem to be lintian clean.
> 'lintian' is a tool to verify if source package contain obvious
> packaging errors. These warnings/errors were found:
> W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
> N:
> N:   It looks like you try to run code in the binary-arch target
> of
> N:   debian/rules, even though your package is architecture-
> independent.
> How can I avoid this without crashing the rules?

You should always have both ‘binary-arch’ and ‘binary-indep’ targets
in your ‘debian/rules’ file.

If your package produces architecture-independent packages, put
appropriate actions in the ‘binary-indep’ target. Otherwise, leave
that target empty.

If your package produces architecture-dependent packages, put
appropriate actions in the ‘binary-arch’ target. Otherwise, leave that
target empty.

-- 
 \ “Simplicity and elegance are unpopular because they require |
  `\   hard work and discipline to achieve and education to be |
_o__)appreciated.” —Edsger W. Dijkstra |
Ben Finney


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



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 20:02 +0800 schrieb Paul Wise:
> On Sat, Oct 4, 2008 at 1:35 AM, Jann Horn <[EMAIL PROTECTED]> wrote:
> 
> >dpkg-genchanges: failure: cannot read files list file: No such
> >file or directory
> 
> H.
> 
> Can you paste the binary-indep/binary-arch targets of your debian/rules file?
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise
> 
> 

I changed the rules, you're right. I did so because of this report:
Your package does not seem to be lintian clean.
'lintian' is a tool to verify if source package contain obvious
packaging errors. These warnings/errors were found:
W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
N:
N:   It looks like you try to run code in the binary-arch target
of
N:   debian/rules, even though your package is architecture-
independent.
How can I avoid this without crashing the rules?

Jann Horn
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml > cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo "DESTDIR ALT ##"$(CURDIR)/debian/cdarch
	#echo "CURDIR"$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo "DESTDIR NEU ##"$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/rc2.d
	cp findimage $(CURDIR)/debian/cdarch/usr/bin/
	cp addimage $(CURDIR)/debian/cdarch/usr/bin/
	cp importimage $(CURDIR)/debian/cdarch/usr/bin/
	cp mountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp umountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp exclude-for-filelist $(CURDIR)/debian/cdarch/etc/
	cp imagefstabedit $(CURDIR)/debian/cdarch/etc/
	cp imagefstabundo $(CURDIR)/debian/cdarch/etc/
	cp remountimage $(CURDIR)/debian/cdarch/etc/init.d/
	ln -s $(CURDIR)/debian/cdarch/etc/init.d/remountimage $(CURDIR)/debian/cdarch/etc/rc2.d/S90remountimage
	# edited end


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install configure
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml > cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo "DESTDIR ALT ##"$(CURDIR)/debian/cdarch
	#echo "CURDIR"$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo "DESTDIR NEU ##"$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/rc2.d
	cp findimage $(CURDIR)/debian/cdarch/usr/bin/
	cp addimage $(CURDIR)/debian/cdarch/usr/bin/
	cp importimage $(CURDIR)/debian/cdarch/usr/

Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Fri, Oct 3, 2008 at 8:02 PM, Paul Wise <[EMAIL PROTECTED]> wrote:

> Can you paste the binary-indep/binary-arch targets of your debian/rules file?

Perhaps you are missing a call to dpkg-gencontrol/dh_gencontrol?

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


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



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 1:35 AM, Jann Horn <[EMAIL PROTECTED]> wrote:

>dpkg-genchanges: failure: cannot read files list file: No such
>file or directory

H.

Can you paste the binary-indep/binary-arch targets of your debian/rules file?

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


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



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 19:35 +0800 schrieb Paul Wise:
> On Sat, Oct 4, 2008 at 1:16 AM, Jann Horn <[EMAIL PROTECTED]> wrote:
> 
> > i've got a problem with dpkg-buildpackage and get the following error
> > when I start it (sorry, it's German):
> 
> Please run this:
> 
> export LANG=C
> 
> Then rerun the command and paste the english output.

OK, here's the english output of the command:
dpkg-genchanges  >../cdarch_1.0.0-1_i386.changes
dpkg-genchanges: failure: cannot read files list file: No such
file or directory
dpkg-buildpackage: failure: dpkg-genchanges gave error exit
status 2

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 1:16 AM, Jann Horn <[EMAIL PROTECTED]> wrote:

> i've got a problem with dpkg-buildpackage and get the following error
> when I start it (sorry, it's German):

Please run this:

export LANG=C

Then rerun the command and paste the english output.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


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



Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Hello,

i've got a problem with dpkg-buildpackage and get the following error
when I start it (sorry, it's German):
kann Dateienliste-Datei nicht lesen: Datei oder Verzeichnis
nicht gefunden
Is someone here who can help me? Or is this the wrong list?

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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



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/, 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 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/, 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 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 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/, 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


--  
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 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 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



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

2001-05-25 Thread Noel Koethe
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.

-- 
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/, 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]>


--  
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 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


--  
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


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




problem with dpkg-buildpackage -rfakeroot / dh_movefiles: debian/tmpdoes not exist.

2001-05-25 Thread Noel Koethe

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.

-- 
Noel


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