[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#797416: cqrlog FTBFS in unstable lazbuild hangs



package: cqrlog
version: 1.9.0-3
severity: serious
tags: patch sid

As you are probablly already aware lazbuild is currently broken on arm in sid (see bug 793991) and it looks like it may be some time before it's fixed. In the meantime there are some cqrlog rc bugs that need fixing in testing.

So as a short to medium term fix for cqrlog here is a patch to build it without using lazbuild. Colin, can you test that the results of building with this patch work and if-so upload it to sid.


diff -Nru cqrlog-1.9.0/debian/changelog cqrlog-1.9.0/debian/changelog
--- cqrlog-1.9.0/debian/changelog	2015-08-24 15:38:07.000000000 +0000
+++ cqrlog-1.9.0/debian/changelog	2015-08-30 12:37:53.000000000 +0000
@@ -1,3 +1,10 @@
+cqrlog (1.9.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid using lazbuild for now as it's broken on arm* in sid.
+
+ -- Peter Michael Green <plugwash@debian.org>  Sun, 30 Aug 2015 12:37:31 +0000
+
 cqrlog (1.9.0-3) unstable; urgency=medium
 
   * Fix build dependency on fp-units-gtk -> fp-units-gtk2
diff -Nru cqrlog-1.9.0/debian/patches/makefile-no-lazbuild cqrlog-1.9.0/debian/patches/makefile-no-lazbuild
--- cqrlog-1.9.0/debian/patches/makefile-no-lazbuild	1970-01-01 00:00:00.000000000 +0000
+++ cqrlog-1.9.0/debian/patches/makefile-no-lazbuild	2015-08-30 13:56:31.000000000 +0000
@@ -0,0 +1,20 @@
+Description:  Avoid using lazbuild for now as it's broken on arm* in sid.
+Author: Peter Michael Green <plugwash@debian.org>
+
+Index: cqrlog-1.9.0/Makefile
+===================================================================
+--- cqrlog-1.9.0.orig/Makefile
++++ cqrlog-1.9.0/Makefile
+@@ -4,9 +4,11 @@ datadir  = $(DESTDIR)/usr/share/cqrlog
+ bindir   = $(DESTDIR)/usr/bin
+ sharedir = $(DESTDIR)/usr/share
+ tmpdir   = /tmp
++fpcarch := $(shell fpc -iTP)-$(shell fpc -iTO)
+ 
+ cqrlog: src/cqrlog.lpi
+-	$(CC) --ws=gtk2 --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
++	#$(CC) --ws=gtk2 --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
++	cd src && fpc -B -MObjFPC -Sghi -O3 -g -gl -l -vn- -vh- -vewilbq -Fl/usr/lib/lazarus/default/lcl -Fl/opt/gnome/lib -Fu$(CURDIR)/src/lnet/lib -Fu$(CURDIR)/src/mysql -Fu/usr/lib/lazarus/default/components/turbopower_ipro/units/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/tachart/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/sqldb/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/rtticontrols/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/memds/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/tdbf/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/printers/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/ideintf/units/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/synedit/units/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/sdf/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/lazcontrols/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/components/cairocanvas/lib/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/lcl/units/$(fpcarch)/gtk2 -Fu/usr/lib/lazarus/default/lcl/units/$(fpcarch) -Fu/usr/lib/lazarus/default/components/codetools/units/$(fpcarch) -Fu/usr/lib/lazarus/default/components/lazutils/lib/$(fpcarch) -Fu/usr/lib/lazarus/default/packager/units/$(fpcarch) -Fu$(CURDIR)/src/ -dLCL -dLCLgtk2 -dNO_CONTEST cqrlog.lpr
+ 	$(ST) src/cqrlog
+ 	gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz
+ 
diff -Nru cqrlog-1.9.0/debian/patches/series cqrlog-1.9.0/debian/patches/series
--- cqrlog-1.9.0/debian/patches/series	2015-07-28 19:18:07.000000000 +0000
+++ cqrlog-1.9.0/debian/patches/series	2015-08-30 12:39:32.000000000 +0000
@@ -1,3 +1,4 @@
 makefile-no-homedir-use
 desktop-keywords
 apparmor.patch
+makefile-no-lazbuild

Reply to: