[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351704: nscd 2.3.5-12.1 uninstallable on Alpha



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 's%@libc@%libc1%g;s%@archs@%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		>  $@T
 	cat debian/control.in/libc6		>> $@T
@@ -30,5 +31,6 @@
 	cat debian/control.in/libnss-dns-udeb	>> $@T
 	cat debian/control.in/libnss-files-udeb	>> $@T
 	sed -e 's%@libc@%$(libc)%g;s%@glibc@%glibc%g' \
-	    -e 's%@threads_archs@%$(threads_archs)%g' < $@T > $@
+	    -e 's%@threads_archs@%$(threads_archs)%g' < $@T > debian/control
 	rm $@T
+	touch $@

Reply to: