Package: nscd
Version: 2.3.5-12.1
Severity: serious
Tags: patch

Resent from debian-glibc; I will commit the attached patch.

On Mon, Feb 06, 2006 at 11:13:15AM +0100, Denis Barbier wrote:
> [Daniel Jacobowitz]
> >> On Sun, Feb 05, 2006 at 10:42:05PM +0100, Denis Barbier wrote:
> >>  $ ar p nscd_2.3.5-12.1_alpha.deb control.tar.gz | tar zxf - -O ./control
> >>  [...]
> >>  Depends: libc6 (>= 2.3.5-12.1)
> >>
> >> It should depend on libc6.1, like previous versions.
> >> Does someone understand what happened?
> >
> > I would check the recent changes to dpkg-shlibdeps first...
> 
> In fact this is a timestamp problem, debian/control has not been generated
> on Alpha because it appears after its dependant targets in
> glibc_2.3.5-12.1.diff.gz.
> I am afraid that a new upload is needed to fix this mess.  Adding a
> timestamp file in stamp-dir/ looks like a very good idea so that this problem
> does not occur again.
Index: debian/rules.d/control.mk
===================================================================
--- debian/rules.d/control.mk   (revision 1150)
+++ debian/rules.d/control.mk   (working copy)
@@ -15,7 +15,8 @@
 debian/control.in/libc1: debian/control.in/libc debian/rules.d/control.mk
        sed -e '[EMAIL PROTECTED]@%libc1%g;[EMAIL PROTECTED]@%freebsd-i386%g' < 
$< > $@
 
-debian/control: debian/control.in/main $(control_deps) \
+debian/control: $(stamp)control
+$(stamp)control: debian/control.in/main $(control_deps) \
                   debian/rules.d/control.mk # debian/sysdeps/depflags.pl
        cat debian/control.in/main              >  [EMAIL PROTECTED]
        cat debian/control.in/libc6             >> [EMAIL PROTECTED]
@@ -30,5 +31,6 @@
        cat debian/control.in/libnss-dns-udeb   >> [EMAIL PROTECTED]
        cat debian/control.in/libnss-files-udeb >> [EMAIL PROTECTED]
        sed -e '[EMAIL PROTECTED]@%$(libc)%g;[EMAIL PROTECTED]@%glibc%g' \
-           -e '[EMAIL PROTECTED]@%$(threads_archs)%g' < [EMAIL PROTECTED] > $@
+           -e '[EMAIL PROTECTED]@%$(threads_archs)%g' < [EMAIL PROTECTED] > 
debian/control
        rm [EMAIL PROTECTED]
+       touch $@

Reply via email to