Re: Re: Re: Re: missing file in my package

2001-07-11 Thread Robert Millan
Thank you for the information. I don't have time at the moment but i'm going to 
learn
about DH_COMPAT 2 and 3, specially when DH_COMPAT 1 is deprecated.

I promise that next time i build a package for esms, i'm going to use DH_COMPAT
2 or 3. Anyhow, the actual package i made works and i'd like it to be uploaded
as soon as possible (lets see if it's in time to get into woody). Could you do 
the NMU?

thanks,


--
Robert Millan   Debian GNU (Hurd) user
zeratul2 wanadoo es  http://getyouriso.org/

On Mon, 9 Jul 2001 15:54:00 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> 
wrote:
> 
> This is how you could track the problem (say you want to know more about
> DH_COMPAT) :
> 
> [EMAIL PROTECTED]:~]$ grep -r DH_COMPAT /usr/share/doc/*
> /usr/share/doc/debhelper/TODO:* DH_COMPAT 1. Can be removed once all packages
> are seen to be using 2 or
> /usr/share/doc/debhelper/examples/rules.indep:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules.multi2:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules.multi:export DH_COMPAT=3
> /usr/share/doc/maint-guide/maint-guide.html/ch-dreq.html:   10 export
> DH_COMPAT=1
> [EMAIL PROTECTED]:~]$
> 
> - First line offers me to look at /usr/share/doc/debhelper/TODO :
> 
> Deprecated:
> 
> * DH_COMPAT 1. Can be removed once all packages are seen to be using 2 or
>   higher. I won't hold my breath.
> 
> - Next lines suggest that DH_COMPAT is strongly tied to debhelper, so
> 
> [EMAIL PROTECTED]:~]$ man debhelper
> 
> [...]
> 
> Debhelper compatability levels
> 
>   From time to time, major non-backwards-compatible changes
>   need to be made to debhelper, to keep it clean and well-
>   designed as needs change and its author gains more experi-
>   ence. To prevent such major changes from breaking existing
>   packages, the DH_COMPAT environment variable was intro-
>   duced.  DH_COMPAT may be set to a number, to determine
>   which major revision of debhelper should be used. There
>   are currently 3:
> 
>   V1 Setting DH_COMPAT=1 (or leaving it unset) causes deb-
>   helper to act in compatability mode.  It will use
>   debian/tmp as the package tree directory for the first
>   binary package listed in the control file, while using
>   debian/ for all other packages listed in the
>   control file.  This mode is deprecated.
> 
> [etc.]
> 
> Please keep this thread Cc'd on [EMAIL PROTECTED] Other people would be 
> interested in
> following it as well as there might be other people on the list who could 
> answer your question too.
> 
> --
> Eric VAN BUGGENHAUT
> 
> [EMAIL PROTECTED]
> 



Re: Re: Re: Re: missing file in my package

2001-07-11 Thread Robert Millan

Thank you for the information. I don't have time at the moment but i'm going to learn
about DH_COMPAT 2 and 3, specially when DH_COMPAT 1 is deprecated.

I promise that next time i build a package for esms, i'm going to use DH_COMPAT
2 or 3. Anyhow, the actual package i made works and i'd like it to be uploaded
as soon as possible (lets see if it's in time to get into woody). Could you do the NMU?

thanks,


--
Robert Millan   Debian GNU (Hurd) user
zeratul2 wanadoo es  http://getyouriso.org/

On Mon, 9 Jul 2001 15:54:00 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> wrote:
> 
> This is how you could track the problem (say you want to know more about
> DH_COMPAT) :
> 
> [eric@femto:~]$ grep -r DH_COMPAT /usr/share/doc/*
> /usr/share/doc/debhelper/TODO:* DH_COMPAT 1. Can be removed once all packages
> are seen to be using 2 or
> /usr/share/doc/debhelper/examples/rules.indep:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules.multi2:export DH_COMPAT=3
> /usr/share/doc/debhelper/examples/rules.multi:export DH_COMPAT=3
> /usr/share/doc/maint-guide/maint-guide.html/ch-dreq.html:   10 export
> DH_COMPAT=1
> [eric@femto:~]$
> 
> - First line offers me to look at /usr/share/doc/debhelper/TODO :
> 
> Deprecated:
> 
> * DH_COMPAT 1. Can be removed once all packages are seen to be using 2 or
>   higher. I won't hold my breath.
> 
> - Next lines suggest that DH_COMPAT is strongly tied to debhelper, so
> 
> [eric@femto:~]$ man debhelper
> 
> [...]
> 
> Debhelper compatability levels
> 
>   From time to time, major non-backwards-compatible changes
>   need to be made to debhelper, to keep it clean and well-
>   designed as needs change and its author gains more experi-
>   ence. To prevent such major changes from breaking existing
>   packages, the DH_COMPAT environment variable was intro-
>   duced.  DH_COMPAT may be set to a number, to determine
>   which major revision of debhelper should be used. There
>   are currently 3:
> 
>   V1 Setting DH_COMPAT=1 (or leaving it unset) causes deb-
>   helper to act in compatability mode.  It will use
>   debian/tmp as the package tree directory for the first
>   binary package listed in the control file, while using
>   debian/ for all other packages listed in the
>   control file.  This mode is deprecated.
> 
> [etc.]
> 
> Please keep this thread Cc'd on [EMAIL PROTECTED] Other people would be 
>interested in
> following it as well as there might be other people on the list who could answer 
>your question too.
> 
> --
> Eric VAN BUGGENHAUT
> 
> [EMAIL PROTECTED]
> 


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




Re: Re: missing file in my package

2001-07-08 Thread Eric Van Buggenhaut
On Mon, Jul 09, 2001 at 01:55:35AM +0200, Robert Millan wrote:
> On Mon, 9 Jul 2001 01:04:49 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> 
> wrote:
> > What DH_COMPAT are you using ?
>  
> I was using DH_COMPAT=2 as you told me in another question, now i've been 
> told that
> when using the debian/tmp directory i need DH_COMPAT=1 (i noticed you are 
> using
> debian/ directory). So don't worry it's working right now and 
> i've finally
> made the package.

This isn't your best move. You *should* use DH_COMPAT=2 and install the files in
debian/

When this is corrected, I can have a look at your package and upload it.

-- 
Eric VAN BUGGENHAUT

[EMAIL PROTECTED]



Re: Re: missing file in my package

2001-07-08 Thread Robert Millan
On Mon, 9 Jul 2001 01:04:49 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> 
wrote:
> What DH_COMPAT are you using ?
 
I was using DH_COMPAT=2 as you told me in another question, now i've been told 
that
when using the debian/tmp directory i need DH_COMPAT=1 (i noticed you are using
debian/ directory). So don't worry it's working right now and 
i've finally
made the package.

Regards,


--
Robert Millan   Debian GNU (Hurd) user
zeratul2 wanadoo es  http://getyouriso.org/



Re: missing file in my package

2001-07-08 Thread Eric Van Buggenhaut
What DH_COMPAT are you using ?

PD : tienes tu clave firmada ya ?

On Sun, Jul 08, 2001 at 02:13:31PM +0200, Robert Millan wrote:
> Hello,
> 
> I'm having some trouble in packaging a program called "esms". It only 
> consists of a single binary-all (perl) file
> that must go on /usr/bin/esms. The problem is that the package is created 
> without it, here's a snapshot
> of an alienized package:
> 
> bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
> ./
> ./usr/
> ./usr/bin/
> ./usr/share/
> ./usr/share/doc/
> ./usr/share/doc/esms/
> ./usr/share/doc/esms/copyright
> ./usr/share/doc/esms/changelog.Debian.gz
> bash-2.03$
> 
> Here is the (IMHO) relevant part of my debian/rules file:
> 
> install: build
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> 
> # Add here commands to install the package into debian/tmp.
> install -d debian/tmp/usr/bin
> install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms
> 
> If i missed some information let me know and i'll post it here.
> 
> Thanks,
> 
> 
> --
> Robert MillanDebian GNU (Hurd) user
> zeratul2 wanadoo eshttp://getyouriso.org/
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Eric VAN BUGGENHAUT

[EMAIL PROTECTED]



Re: Re: missing file in my package

2001-07-08 Thread Eric Van Buggenhaut

On Mon, Jul 09, 2001 at 01:55:35AM +0200, Robert Millan wrote:
> On Mon, 9 Jul 2001 01:04:49 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> wrote:
> > What DH_COMPAT are you using ?
>  
> I was using DH_COMPAT=2 as you told me in another question, now i've been told that
> when using the debian/tmp directory i need DH_COMPAT=1 (i noticed you are using
> debian/ directory). So don't worry it's working right now and i've 
>finally
> made the package.

This isn't your best move. You *should* use DH_COMPAT=2 and install the files in
debian/

When this is corrected, I can have a look at your package and upload it.

-- 
Eric VAN BUGGENHAUT

[EMAIL PROTECTED]


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




Re: Re: missing file in my package

2001-07-08 Thread Robert Millan

On Mon, 9 Jul 2001 01:04:49 +0200, Eric Van Buggenhaut <[EMAIL PROTECTED]> wrote:
> What DH_COMPAT are you using ?
 
I was using DH_COMPAT=2 as you told me in another question, now i've been told that
when using the debian/tmp directory i need DH_COMPAT=1 (i noticed you are using
debian/ directory). So don't worry it's working right now and i've 
finally
made the package.

Regards,


--
Robert Millan   Debian GNU (Hurd) user
zeratul2 wanadoo es  http://getyouriso.org/


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




Re: missing file in my package

2001-07-08 Thread Eric Van Buggenhaut

What DH_COMPAT are you using ?

PD : tienes tu clave firmada ya ?

On Sun, Jul 08, 2001 at 02:13:31PM +0200, Robert Millan wrote:
> Hello,
> 
> I'm having some trouble in packaging a program called "esms". It only consists of a 
>single binary-all (perl) file
> that must go on /usr/bin/esms. The problem is that the package is created without 
>it, here's a snapshot
> of an alienized package:
> 
> bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
> ./
> ./usr/
> ./usr/bin/
> ./usr/share/
> ./usr/share/doc/
> ./usr/share/doc/esms/
> ./usr/share/doc/esms/copyright
> ./usr/share/doc/esms/changelog.Debian.gz
> bash-2.03$
> 
> Here is the (IMHO) relevant part of my debian/rules file:
> 
> install: build
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> 
> # Add here commands to install the package into debian/tmp.
> install -d debian/tmp/usr/bin
> install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms
> 
> If i missed some information let me know and i'll post it here.
> 
> Thanks,
> 
> 
> --
> Robert MillanDebian GNU (Hurd) user
> zeratul2 wanadoo eshttp://getyouriso.org/
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Eric VAN BUGGENHAUT

[EMAIL PROTECTED]


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




Re: missing file in my package

2001-07-08 Thread mdanish
I just wanted to contribute a note: instead of alien'ing your package
to get a listing of it's contents, use the 'dpkg -c' command on your deb.

On Sun, Jul 08, 2001 at 02:13:31PM +0200, Robert Millan wrote:
> Hello,
> 
> I'm having some trouble in packaging a program called "esms". It only 
> consists of a single binary-all (perl) file
> that must go on /usr/bin/esms. The problem is that the package is created 
> without it, here's a snapshot
> of an alienized package:
> 
> bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
> ./
> ./usr/
> ./usr/bin/
> ./usr/share/
> ./usr/share/doc/
> ./usr/share/doc/esms/
> ./usr/share/doc/esms/copyright
> ./usr/share/doc/esms/changelog.Debian.gz
> bash-2.03$
> 

-- 
;;
;; Matthew Danish email: [EMAIL PROTECTED] ;;
;; OpenPGP public key available from:'finger [EMAIL PROTECTED]' ;;
;;



Re: missing file in my package

2001-07-08 Thread mdanish

I just wanted to contribute a note: instead of alien'ing your package
to get a listing of it's contents, use the 'dpkg -c' command on your deb.

On Sun, Jul 08, 2001 at 02:13:31PM +0200, Robert Millan wrote:
> Hello,
> 
> I'm having some trouble in packaging a program called "esms". It only consists of a 
>single binary-all (perl) file
> that must go on /usr/bin/esms. The problem is that the package is created without 
>it, here's a snapshot
> of an alienized package:
> 
> bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
> ./
> ./usr/
> ./usr/bin/
> ./usr/share/
> ./usr/share/doc/
> ./usr/share/doc/esms/
> ./usr/share/doc/esms/copyright
> ./usr/share/doc/esms/changelog.Debian.gz
> bash-2.03$
> 

-- 
;;
;; Matthew Danish email: [EMAIL PROTECTED] ;;
;; OpenPGP public key available from:'finger [EMAIL PROTECTED]' ;;
;;


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




Re: Re: missing file in my package

2001-07-08 Thread Robert Millan
On Sun, 08 Jul 2001 13:25:50 +0100, [EMAIL PROTECTED] (Colin Watson) wrote:
> 
> You aren't using DH_COMPAT=2 or 3, are you? When that is set, the
> various debhelper commands (like dh_installdocs, which is installing
> your documentation, and dh_builddeb, which calls dpkg to construct the
> ..deb itself) use debian/ rather than debian/tmp.

heh. as i remember, i was told to use DH_COMPAT=2 by someone who uses
debian/ instead of debian/tmp :).

thank you,


--
Robert MillanDebian GNU (Hurd) user
zeratul2 wanadoo eshttp://getyouriso.org/



Re: missing file in my package

2001-07-08 Thread Colin Watson
Robert Millan <[EMAIL PROTECTED]> wrote:
>I'm having some trouble in packaging a program called "esms". It only
>consists of a single binary-all (perl) file that must go on
>/usr/bin/esms. The problem is that the package is created without it,
>here's a snapshot of an alienized package:
[...]
>install: build
>dh_testdir
>dh_testroot
>dh_clean -k
>dh_installdirs
>
># Add here commands to install the package into debian/tmp.
>install -d debian/tmp/usr/bin
>install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms

You aren't using DH_COMPAT=2 or 3, are you? When that is set, the
various debhelper commands (like dh_installdocs, which is installing
your documentation, and dh_builddeb, which calls dpkg to construct the
.deb itself) use debian/ rather than debian/tmp.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]



missing file in my package

2001-07-08 Thread Robert Millan
Hello,

I'm having some trouble in packaging a program called "esms". It only consists 
of a single binary-all (perl) file
that must go on /usr/bin/esms. The problem is that the package is created 
without it, here's a snapshot
of an alienized package:

bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
./
./usr/
./usr/bin/
./usr/share/
./usr/share/doc/
./usr/share/doc/esms/
./usr/share/doc/esms/copyright
./usr/share/doc/esms/changelog.Debian.gz
bash-2.03$

Here is the (IMHO) relevant part of my debian/rules file:

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs

# Add here commands to install the package into debian/tmp.
install -d debian/tmp/usr/bin
install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms

If i missed some information let me know and i'll post it here.

Thanks,


--
Robert MillanDebian GNU (Hurd) user
zeratul2 wanadoo eshttp://getyouriso.org/



Re: Re: missing file in my package

2001-07-08 Thread Robert Millan

On Sun, 08 Jul 2001 13:25:50 +0100, [EMAIL PROTECTED] (Colin Watson) wrote:
> 
> You aren't using DH_COMPAT=2 or 3, are you? When that is set, the
> various debhelper commands (like dh_installdocs, which is installing
> your documentation, and dh_builddeb, which calls dpkg to construct the
> ..deb itself) use debian/ rather than debian/tmp.

heh. as i remember, i was told to use DH_COMPAT=2 by someone who uses
debian/ instead of debian/tmp :).

thank you,


--
Robert MillanDebian GNU (Hurd) user
zeratul2 wanadoo eshttp://getyouriso.org/


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




Re: missing file in my package

2001-07-08 Thread Colin Watson

Robert Millan <[EMAIL PROTECTED]> wrote:
>I'm having some trouble in packaging a program called "esms". It only
>consists of a single binary-all (perl) file that must go on
>/usr/bin/esms. The problem is that the package is created without it,
>here's a snapshot of an alienized package:
[...]
>install: build
>dh_testdir
>dh_testroot
>dh_clean -k
>dh_installdirs
>
># Add here commands to install the package into debian/tmp.
>install -d debian/tmp/usr/bin
>install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms

You aren't using DH_COMPAT=2 or 3, are you? When that is set, the
various debhelper commands (like dh_installdocs, which is installing
your documentation, and dh_builddeb, which calls dpkg to construct the
.deb itself) use debian/ rather than debian/tmp.

Cheers,

-- 
Colin Watson  [[EMAIL PROTECTED]]


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




missing file in my package

2001-07-08 Thread Robert Millan

Hello,

I'm having some trouble in packaging a program called "esms". It only consists of a 
single binary-all (perl) file
that must go on /usr/bin/esms. The problem is that the package is created without it, 
here's a snapshot
of an alienized package:

bash-2.03$ tar -xvzf esms-0.9.0-2.tgz 
./
./usr/
./usr/bin/
./usr/share/
./usr/share/doc/
./usr/share/doc/esms/
./usr/share/doc/esms/copyright
./usr/share/doc/esms/changelog.Debian.gz
bash-2.03$

Here is the (IMHO) relevant part of my debian/rules file:

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs

# Add here commands to install the package into debian/tmp.
install -d debian/tmp/usr/bin
install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms

If i missed some information let me know and i'll post it here.

Thanks,


--
Robert MillanDebian GNU (Hurd) user
zeratul2 wanadoo eshttp://getyouriso.org/


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