Package: psi-plus
Severity: normal
Version: 0.15.5338-1
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

I have tried to rebuild your package against libotr5. The sbuild
succeeded. But careful inspection of the logs revealed that the otr
plugin failed to build from source. The build error got simply eaten in
the shell expansion.

Please consider applying the following patch:

diff -Nru psi-plus-0.15.5338/debian/rules psi-plus-0.15.5338/debian/rules
--- psi-plus-0.15.5338/debian/rules	2012-06-21 22:00:34.000000000 +0100
+++ psi-plus-0.15.5338/debian/rules	2012-11-05 00:29:48.000000000 +0000
@@ -42,8 +42,8 @@
 
 override_dh_auto_build:
 	$(MAKE) -j$(NUMJOBS)
-	$(foreach plug,$(plugins_generic), cd $(CURDIR)/src/plugins/generic/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
-	$(foreach plug,$(plugins_unix), cd $(CURDIR)/src/plugins/unix/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
+	$(foreach plug,$(plugins_generic), set -e; cd $(CURDIR)/src/plugins/generic/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
+	$(foreach plug,$(plugins_unix), set -e; cd $(CURDIR)/src/plugins/unix/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
 
 override_dh_auto_install:
 	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/psi-plus install
Or alternatively catch non-zero exit codes from make in some other way.
It is easy to reproduce the problem described, simply build against
libotr5-dev instead of libotr2-dev.

Regards,

Dmitrijs.

Reply via email to