On Thu, May 29, 2014 at 10:12:54PM +0100, Michael Tautschnig wrote:
> Package: openjade1.3
> Version: 1.3.2-12
> Severity: serious
> Usertags: goto-cc
> 
> During a rebuild of all Debian packages in a clean sid chroot (using 
> cowbuilder
> and pbuilder) the build failed with the following error.
> 
> [...]
> make[3]: *** No rule to make target '-losp', needed by 'openjade'.  Stop.
> make[3]: Leaving directory 
> '/srv/jenkins-slave/workspace/sid-goto-cc-openjade1.3/openjade1.3-1.3.2/jade'
> Makefile:82: recipe for target 'jade' failed
> make[2]: *** [jade] Error 2
> 
> My suspicion is that this is caused by this line here (and possibly changes to
> automake/autoconf):
> 
> XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a -losp

The upstream build system wants to interpret '-losp' as make target.

'-losp' was introduced by #650610 (FTBFS: No rule to make target 
`/usr/lib/libosp.la', needed by `openjade'.)

It feels a bit as a workaround, but adding all libs as PHONY targets makes 
package build again for me.

Find patch attached.

Regards,
-- 
  Hector Oron
diff -u openjade1.3-1.3.2/debian/changelog openjade1.3-1.3.2/debian/changelog
--- openjade1.3-1.3.2/debian/changelog
+++ openjade1.3-1.3.2/debian/changelog
@@ -1,3 +1,10 @@
+openjade1.3 (1.3.2-12.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS. 
+
+ -- Hector Oron <zu...@debian.org>  Mon, 16 Jun 2014 01:04:01 +0200
+
 openjade1.3 (1.3.2-12) unstable; urgency=low
 
   * Added dependency on libperl4-corelibs-perl for getopts.pl. (Closes:
only in patch2:
unchanged:
--- openjade1.3-1.3.2.orig/Makefile.prog.in
+++ openjade1.3-1.3.2/Makefile.prog.in
@@ -13,6 +13,7 @@
 ALL_LIBS = $(XLIBS) $(LIBS)
 Makefile.lt:
 	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
+	echo '.PHONY: $(ALL_LIBS)' >>Makefile.lt
 
 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
 

Attachment: signature.asc
Description: Digital signature

Reply via email to