[Devel] [ openser-Bugs-1658796 ] debian build prcoess should stop
on build error
Henning Westerholt
henning.westerholt at 1und1.de
Tue Feb 13 12:38:02 CET 2007
Am Dienstag, 13. Februar 2007 11:31 schrieb SourceForge.net:
> Bugs item #1658796, was opened at 2007-02-13 11:31
> Message generated for change (Tracker Item Submitted) made by Item
> Submitter You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1658796&group_
>id=139143
>
> Please note that this message will contain a full copy of the comment
> thread, including the initial issue submission, for this request,
> not just the latest update.
> Category: packaging
> Group: ver devel
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Klaus Darilion (klaus_darilion)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: debian build prcoess should stop on build error
>
> Initial Comment:
> When there is build error during "make deb" (e.g. a module fails to
> compile) the debian packaging process still goes on and in the end you get
> .deb packages where the library is missing (tested with
> packaging/debian-sarge)
>
> IMO, if there is a build error, the whole build process should stop.
> Otherwise you will end up with incomplete debian packages.
We have the same problem here. We're using the following patch for the
Makefile:
Best regards,
Henning
Index: Makefile
===================================================================
RCS file: /cvsroot/openser/sip-server/Makefile,v
retrieving revision 1.40
diff -d -u -H -r1.40 Makefile
--- Makefile 12 Feb 2007 18:17:04 -0000 1.40
+++ Makefile 13 Feb 2007 11:34:20 -0000
@@ -152,7 +152,8 @@
.PHONY: modules
modules:
- - at for r in $(modules) "" ; do \
+ @set -e; \
+ for r in $(modules) "" ; do \
if [ -n "$$r" ]; then \
echo "" ; \
echo "" ; \
More information about the Devel
mailing list