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

Bug#388067: *** [stampdir/patch-stamp] Error 2



severity 388067 serious
stop

Max Kellermann <max@duempel.org> wrote:

> On 2006/09/18 16:32, Frank K?ster <frank@debian.org> wrote:
>> Do you still have a full build log available?
>
> I've attached a fresh build log (i386).

Thank you.  It shows that dpkg-buildpackage first calls the build target
which works, and should result in stampdir/patch-stamp and
stampdir/build-stamp being generated.  After that, the binary target is
called.  This target depends (via binary-indep) on build and install.
Strangely, the build and patch targets seem to be executed again.  At
least we see that the commands from the patch-stamp target are executed
again. 

Strangely, I cannot reproduce this here (it happened exactly once...).
Maybe there's again some timeskew problem, but I doubt it, since all
these commands should take a while.  Are you able to reproduce this?  If
yes, please apply the following patch:

--- rules.in	(Revision 1607)
+++ rules.in	(Arbeitskopie)
@@ -150,10 +150,12 @@
 	rm -f $(stampdir)/patch-stamp
 
 $(stampdir)/patch-stamp: debian/missingfiles.tar.gz | $(stampdir) 
+	-ls -l $@
 	quilt push -a
 	tar -xzf debian/missingfiles.tar.gz
 	rm debian/missingfiles.tar.gz
 	touch $@
+	ls -l $@
 
 debian/missingfiles.tar.gz: 
 	uudecode -o debian/missingfiles.tar.gz debian/patches/missingfiles.tar.gz.uu

and try again.  After that, try this one (it's against the unpatched
original, but you can as well manually add the third line)

--- rules.in	(Revision 1607)
+++ rules.in	(Arbeitskopie)
@@ -150,13 +150,16 @@
 	rm -f $(stampdir)/patch-stamp
 
 $(stampdir)/patch-stamp: debian/missingfiles.tar.gz | $(stampdir) 
+	-ls -l $@
 	quilt push -a
 	tar -xzf debian/missingfiles.tar.gz
 	rm debian/missingfiles.tar.gz
 	touch $@
+	ls -l $@
 
 debian/missingfiles.tar.gz: 
 	uudecode -o debian/missingfiles.tar.gz debian/patches/missingfiles.tar.gz.uu
+	sleep 3
 
 # for refreshing the uuencoded file after the tar.gz has been manually changed
 debian/patches/missingfiles.tar.gz.uu: debian/missingfiles.tar.gz

and try whether this helps.

TIA, Frank

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: