Jeff Bailey writes:
 > Package: gcc-3.0
 > Version: 3.0.ds8-0pre010613
 > 
 > While porting to the Hurd, I came across a bug in binary-libstdcxx.mk.
 > I corrected the bug and reran `debian/rules binary-arch'.  However,
 > because it had *already* moved some files around, it's not capable of
 > resuming where it was after a failure.
 > 
 > (These fixes will be sent in a seperate bug report...)
 > 
 > I suspect the best fix is to 'rm 07-install-stamp' at the beginning of
 > each new section where files are moved around, and then touch it again
 > when everything is in a resumable state again.  The install step could
 > then still skip the succesful sections that had been copied correctly.

I think this does not work, because the install-stamp then is newer
than the binary stamp. What about

binary-foo-stamp: install-stamp
        mv install-stamp install-stamp-tmp

        [... make binary-foo]

        trap '' 1 3 15; \       # which other signals?
          touch binary-foo-stamp; \
          mv install-stamp-tmp install-stamp


Reply via email to