Package: postgresql-8.2
Version: 8.2.4-2
Use case: package build, test suite fails. Re-run binary-arch target
with DEB_BUILD_OPTIONS=nocheck, binary-predeb/postgresql-8.2 fails
because the patch has been already applied:
cd build-tree/postgresql-8.2.4 && \
patch -p1 < ../../debian/disable-root-check.patch && \
make
patching file src/backend/main/main.c
Reversed (or previously applied) patch detected! Assume -R? [n]
[...]
1 out of 1 hunk ignored -- saving rejects to file
src/bin/pg_ctl/pg_ctl.c.rej
make: *** [binary-predeb/postgresql-8.2] Error 1
Would it be possible to cater for this?
On a related note, why is the test suite run at that point and not prior
to the install target, as part of the main build? You wouldn't the
patching at all then, as the build target is run as the regular user.
Oher advantages would be proper stamp file handling, so in the use-case
above (failing test suite, rerun with DEB_BUILD_OPTIONS=nocheck) one
wouldn't need to dh_clean and subsequently re-run install and much of
binary-arch.
Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]