Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-22 Thread Martin Schulze
Christoph Haas wrote:
> Check the upstream archive (pdns_2.9.17.orig.tar.gz) again:

> There are files like debian/doc-base that cause trouble. We are
> currently removing these files in the "clean:" target. But if that
> target isn't called before building the package we get this error.

Ah, now I understand.

In that case, it would be good to move

# Clean up stuff in the debian directory
rm -f debian/.cvsignore debian/CVS/Entries debian/CVS/Repository \
  debian/CVS/Root debian/doc-base debian/pdns-doc.postinst \
debian/pdns-doc.prerm debian/pdns.conffiles 
debian/pdns.postinst \
debian/pdns.postrm debian/pdns.prerm 
debian/shlibs.local

to the top of the build target.

> Since providing another orig archive is not an option we either need to
> build the package with the "clean:" target called first. Or move the
> cleanup part in the debian/rules makefile to another location that works
> better.

Better move this "line" up and upload to "stable", which will end up
in proposed-updates (but will probably stall the package, unless the
m68k and s390 buildds catch up).

> I just wonder why the "clean:" is run here on pbuilder and not on gluck.

Because I use make and not pbuilder.

Regards,

Joey

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-22 Thread Christoph Haas
On Mon, Aug 22, 2005 at 12:01:48PM +0200, Martin Schulze wrote:
> Christoph Haas wrote:
> > process. We aren't happy that the upstream was shipping a debian/
> > directory along with the tarball and this might well be the cause that
> > the build broke.
> 
> I don't understand since the only directories in debian/ are:
> 
> ./CVS
> ./po
> ./config
> ./patches
> ./manpage

Check the upstream archive (pdns_2.9.17.orig.tar.gz) again:

 pdns-2.9.17/debian/changelog
 pdns-2.9.17/debian/control
 pdns-2.9.17/debian/copyright
 pdns-2.9.17/debian/doc-base
 pdns-2.9.17/debian/pdns-doc.postinst
 pdns-2.9.17/debian/pdns-doc.prerm
 pdns-2.9.17/debian/pdns.conffiles
 pdns-2.9.17/debian/pdns.postinst
 pdns-2.9.17/debian/pdns.postrm
 pdns-2.9.17/debian/pdns.prerm
 pdns-2.9.17/debian/rules
 pdns-2.9.17/debian/shlibs.local

There are files like debian/doc-base that cause trouble. We are
currently removing these files in the "clean:" target. But if that
target isn't called before building the package we get this error.

Since providing another orig archive is not an option we either need to
build the package with the "clean:" target called first. Or move the
cleanup part in the debian/rules makefile to another location that works
better.

I just wonder why the "clean:" is run here on pbuilder and not on gluck.

 Christoph


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-22 Thread Martin Schulze
Christoph Haas wrote:
> On Tue, Aug 16, 2005 at 12:06:48PM +0200, Jeremie Koenig wrote:
> > I've not tested anything but I may have found the cause for this
> > problem. Freshly extracted, the source package contains some cruft which
> > gets removed upon running debian/rules clean. Specifically,
> > [...]
> > pdns-2.9.17/debian/doc-base
> > pdns-2.9.17/debian/pdns-doc.postinst
> > pdns-2.9.17/debian/pdns-doc.prerm
> > pdns-2.9.17/debian/pdns.conffiles
> > pdns-2.9.17/debian/pdns.postinst
> > pdns-2.9.17/debian/pdns.postrm
> > pdns-2.9.17/debian/pdns.prerm
> > pdns-2.9.17/debian/shlibs.local
> 
> Matthijs and I believe Jeremie could be right. In Joey's build logs it
> appears like the "clean" target hasn't been called during the build

Correct.  make build and make binary is called.

> process. We aren't happy that the upstream was shipping a debian/
> directory along with the tarball and this might well be the cause that
> the build broke.

I don't understand since the only directories in debian/ are:

./CVS
./po
./config
./patches
./manpage

None of them looks like debian/tmp or debian/$packagename to me.

> As a fix we could re-create the upstream tarball with the debian/
> directory removed from it. That should fix this issue. On the downside
> we would have to alter the orig file. Everyone's in favor?

Not for sarge.

Regards,

Joey

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.

Please always Cc to me when replying to me on the lists.


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-21 Thread Christoph Haas
On Tue, Aug 16, 2005 at 12:06:48PM +0200, Jeremie Koenig wrote:
> I've not tested anything but I may have found the cause for this
> problem. Freshly extracted, the source package contains some cruft which
> gets removed upon running debian/rules clean. Specifically,
> [...]
>   pdns-2.9.17/debian/doc-base
>   pdns-2.9.17/debian/pdns-doc.postinst
>   pdns-2.9.17/debian/pdns-doc.prerm
>   pdns-2.9.17/debian/pdns.conffiles
>   pdns-2.9.17/debian/pdns.postinst
>   pdns-2.9.17/debian/pdns.postrm
>   pdns-2.9.17/debian/pdns.prerm
>   pdns-2.9.17/debian/shlibs.local

Matthijs and I believe Jeremie could be right. In Joey's build logs it
appears like the "clean" target hasn't been called during the build
process. We aren't happy that the upstream was shipping a debian/
directory along with the tarball and this might well be the cause that
the build broke.

As a fix we could re-create the upstream tarball with the debian/
directory removed from it. That should fix this issue. On the downside
we would have to alter the orig file. Everyone's in favor?

 Christoph


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-16 Thread Martin Schulze
Christoph Haas wrote:
> On Tue, Aug 16, 2005 at 10:23:41AM +0200, Martin Schulze wrote:
> > That is very strange.  I've just rebuilt it on gluck
> > (see /tmp/joey for log and packages) and it does still contain
> > the doc-base directory.
> 
> I was too slow for /tmp/joey. :(
> 
> Matthijs suspected that it might have to do with gluck being an SMP
> machine. Perhaps some kind of race condition?

Shrug!  If we want to fix it, we need to find out...

> Is there a general technical difference between "dchroot sarge" and a
> Sarge pbuilder?

Yes.  pbuilder builds the chroot from scratch, while dchroot uses the
existing chroot environment on the particular host.  (and don't require
root permissions)

Regards,

Joey

-- 
GNU GPL: "The source will be with you... always."


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-16 Thread Christoph Haas
On Tue, Aug 16, 2005 at 10:23:41AM +0200, Martin Schulze wrote:
> That is very strange.  I've just rebuilt it on gluck
> (see /tmp/joey for log and packages) and it does still contain
> the doc-base directory.

I was too slow for /tmp/joey. :(

Matthijs suspected that it might have to do with gluck being an SMP
machine. Perhaps some kind of race condition?

Is there a general technical difference between "dchroot sarge" and a
Sarge pbuilder?

 Christoph


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-16 Thread Jeremie Koenig
Hello,

I've not tested anything but I may have found the cause for this
problem. Freshly extracted, the source package contains some cruft which
gets removed upon running debian/rules clean. Specifically,

pdns-2.9.17/debian/CVS
pdns-2.9.17/debian/CVS/Root
pdns-2.9.17/debian/CVS/Repository
pdns-2.9.17/debian/CVS/Entries
pdns-2.9.17/debian/.cvsignore
pdns-2.9.17/debian/doc-base
pdns-2.9.17/debian/pdns-doc.postinst
pdns-2.9.17/debian/pdns-doc.prerm
pdns-2.9.17/debian/pdns.conffiles
pdns-2.9.17/debian/pdns.postinst
pdns-2.9.17/debian/pdns.postrm
pdns-2.9.17/debian/pdns.prerm
pdns-2.9.17/debian/shlibs.local

Note the presence of debian/doc-base.
Hope this helps, thanks for packaging pdns !

-- 
Jeremie Koenig <[EMAIL PROTECTED]>


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-16 Thread Martin Schulze
Christoph Haas wrote:
> Hi, Martin...
> 
> On Sat, Aug 13, 2005 at 07:09:02AM +0200, Martin Schulze wrote:
> > Please retry in the sarge chroot on gluck or escher.  I've just
> > rebuilt it in both environments and both times the pdns_*.deb
> > contained both /usr/share/doc/pdns and /usr/share/doc-base/pdns,
> > while the package in sarge does not.
> 
> I have just taken the diff file from
> http://security.debian.org/debian-security/pool/updates/main/p/pdns/pdns_2.9.17-13sarge1.diff.gz
> and created a package on gluck (dchroot sarge). This is the packages content:
> 
> [EMAIL PROTECTED]:~/test$ dpkg -c pdns_2.9.17-13sarge1_i386.deb
> drwxr-xr-x0 2005-08-15 13:55:38 ./
> drwxr-xr-x0 2005-08-15 13:55:35 ./usr/
> drwxr-xr-x0 2005-08-15 13:55:35 ./usr/share/
> drwxr-xr-x0 2005-08-15 13:55:35 ./usr/share/doc/
> drwxr-xr-x0 2005-08-15 13:55:43 ./usr/share/doc/pdns/
> -rw-r--r-- 9799 2004-09-13 19:34:03 ./usr/share/doc/pdns/changelog.gz
> -rw-r--r--  353 2005-08-15 13:40:49 ./usr/share/doc/pdns/README.Debian
> -rw-r--r--  928 2005-08-15 13:40:49 ./usr/share/doc/pdns/copyright
> -rw-r--r-- 3974 2005-08-15 13:40:49 ./usr/share/doc/pdns/changelog.Debian.gz
> 
> So there is no /usr/share/doc-base/pdns in here. I admit that I built
> the package this morning and also found the 'doc-base' in the package.
> But not any more. I have no idea what I changed (there should be no two
> diff files like that) but using the diff file from the above URL
> everything went well.

That is very strange.  I've just rebuilt it on gluck
(see /tmp/joey for log and packages) and it does still contain
the doc-base directory.

If we know what's going on, we can start fixing.

Regards,

Joey

-- 
GNU GPL: "The source will be with you... always."


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



Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-15 Thread Christoph Haas
Hi, Martin...

On Sat, Aug 13, 2005 at 07:09:02AM +0200, Martin Schulze wrote:
> Please retry in the sarge chroot on gluck or escher.  I've just
> rebuilt it in both environments and both times the pdns_*.deb
> contained both /usr/share/doc/pdns and /usr/share/doc-base/pdns,
> while the package in sarge does not.

I have just taken the diff file from
http://security.debian.org/debian-security/pool/updates/main/p/pdns/pdns_2.9.17-13sarge1.diff.gz
and created a package on gluck (dchroot sarge). This is the packages content:

[EMAIL PROTECTED]:~/test$ dpkg -c pdns_2.9.17-13sarge1_i386.deb
drwxr-xr-x0 2005-08-15 13:55:38 ./
drwxr-xr-x0 2005-08-15 13:55:35 ./usr/
drwxr-xr-x0 2005-08-15 13:55:35 ./usr/share/
drwxr-xr-x0 2005-08-15 13:55:35 ./usr/share/doc/
drwxr-xr-x0 2005-08-15 13:55:43 ./usr/share/doc/pdns/
-rw-r--r-- 9799 2004-09-13 19:34:03 ./usr/share/doc/pdns/changelog.gz
-rw-r--r--  353 2005-08-15 13:40:49 ./usr/share/doc/pdns/README.Debian
-rw-r--r--  928 2005-08-15 13:40:49 ./usr/share/doc/pdns/copyright
-rw-r--r-- 3974 2005-08-15 13:40:49 ./usr/share/doc/pdns/changelog.Debian.gz

So there is no /usr/share/doc-base/pdns in here. I admit that I built
the package this morning and also found the 'doc-base' in the package.
But not any more. I have no idea what I changed (there should be no two
diff files like that) but using the diff file from the above URL
everything went well.

 Christoph



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



Bug#322352: [Powerdns-debian] Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-13 Thread Matthijs Mohlmann
Hi,

Martin Schulze wrote:
> Matthijs Mohlmann wrote:
> 
>>Hi,
>>
>>Daniel Dickinson wrote:
>>
>>>Package: pdns
>>>Version: 2.9.17-13sarge1
>>>Severity: serious
>>>Justification: Policy 6.5.4
>>>
>>>Both pdns-doc_2.9.17-13sarge1_all.deb and pdns_2.9.17-13sarge1_all.deb 
>>>contain /usr/share/doc-base/pdns.  This prevents whichever of these 
>>>packages is second in the installation order from being installed.  Plus 
>>>it is a violation of Debian Policy 6.5.4
>>>
>>
>>You are right, the bug exist in the current security release of sarge,
>>but I don't know how it comes there. I've build it twice by myself and I
>>couldn't find the bug.
> 
> 
> Please retry in the sarge chroot on gluck or escher.  I've just
> rebuilt it in both environments and both times the pdns_*.deb
> contained both /usr/share/doc/pdns and /usr/share/doc-base/pdns,
> while the package in sarge does not.
> 
> Looking at the file contents, it shouldn't be an architecture.deb
> but an all.deb, btw., but that's not an issue we need to fix now.
> 
True. Fixed for the next upload.

> 
>>Martin Schulze:
>>How did you build the package ? (I'm pretty curious right now because I
>>can't reproduce it)
> 
> 
> I could send you the build log, but since it can still be reproduced,
> just build it on your own.
> 
Please send me the build logs, I don't have access to the chroots of
gluck or escher. My mentor is on vacation so i can't ask him at this moment.

> When you know the reason why, please come back to me so an
> update could go in via proposed-updates.
> 
> Regards,
> 
>   Joey
> 

Regards,

Matthijs Mohlmann


signature.asc
Description: OpenPGP digital signature


Bug#322352: [Powerdns-debian] Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-12 Thread Martin Schulze
Matthijs Mohlmann wrote:
> Hi,
> 
> Daniel Dickinson wrote:
> > Package: pdns
> > Version: 2.9.17-13sarge1
> > Severity: serious
> > Justification: Policy 6.5.4
> > 
> > Both pdns-doc_2.9.17-13sarge1_all.deb and pdns_2.9.17-13sarge1_all.deb 
> > contain /usr/share/doc-base/pdns.  This prevents whichever of these 
> > packages is second in the installation order from being installed.  Plus 
> > it is a violation of Debian Policy 6.5.4
> > 
> 
> You are right, the bug exist in the current security release of sarge,
> but I don't know how it comes there. I've build it twice by myself and I
> couldn't find the bug.

Please retry in the sarge chroot on gluck or escher.  I've just
rebuilt it in both environments and both times the pdns_*.deb
contained both /usr/share/doc/pdns and /usr/share/doc-base/pdns,
while the package in sarge does not.

Looking at the file contents, it shouldn't be an architecture.deb
but an all.deb, btw., but that's not an issue we need to fix now.

> Martin Schulze:
> How did you build the package ? (I'm pretty curious right now because I
> can't reproduce it)

I could send you the build log, but since it can still be reproduced,
just build it on your own.

When you know the reason why, please come back to me so an
update could go in via proposed-updates.

Regards,

Joey

-- 
It's time to close the windows.

Please always Cc to me when replying to me on the lists.


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



Bug#322352: [Powerdns-debian] Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-12 Thread Matthijs Mohlmann
Hi,

Daniel Dickinson wrote:
> Package: pdns
> Version: 2.9.17-13sarge1
> Severity: serious
> Justification: Policy 6.5.4
> 
> Both pdns-doc_2.9.17-13sarge1_all.deb and pdns_2.9.17-13sarge1_all.deb 
> contain /usr/share/doc-base/pdns.  This prevents whichever of these 
> packages is second in the installation order from being installed.  Plus 
> it is a violation of Debian Policy 6.5.4
> 

You are right, the bug exist in the current security release of sarge,
but I don't know how it comes there. I've build it twice by myself and I
couldn't find the bug.

Martin Schulze:
How did you build the package ? (I'm pretty curious right now because I
can't reproduce it)

Regards,

Matthijs Mohlmann


signature.asc
Description: OpenPGP digital signature


Bug#322352: pdns and pdns-doc both contain /usr/share/doc-base/pdns (sarge security update version)

2005-08-10 Thread Daniel Dickinson
Package: pdns
Version: 2.9.17-13sarge1
Severity: serious
Justification: Policy 6.5.4



-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.27-mornir-smp-1.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages pdns depends on:
ii  pdns-recursor2.9.17-13sarge1 PowerDNS recursor
ii  pdns-server  2.9.17-13sarge1 extremely powerful and versatile n

-- no debconf information

Both pdns-doc_2.9.17-13sarge1_all.deb and pdns_2.9.17-13sarge1_all.deb 
contain /usr/share/doc-base/pdns.  This prevents whichever of these 
packages is second in the installation order from being installed.  Plus 
it is a violation of Debian Policy 6.5.4


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