package: rutilt
severity: serious
version: 0.16-2
tags: sid wheezy patch

rutilt FTBFS in sid and wheezy.
make[1]: Entering directory 
`/build/buildd-rutilt_0.16-2-armhf-uzvQ2R/rutilt-0.16'
   Compiling lib/WE17Driver.o
In file included from lib/src//WE17Driver.cxx:36:0:
include/WE17Driver.h:107:31: error: reference 'm_Data' cannot be declared 
'mutable' [-fpermissive]
make[1]: *** [lib/WE17Driver.o] Error 1
make[1]: Leaving directory 
`/build/buildd-rutilt_0.16-2-armhf-uzvQ2R/rutilt-0.16'
make: *** [build-stamp] Error 2

This issue was originally noticed on the armhf and s390x buildds but I can 
reproduce
it locally on amd64.

The attatched patch to debian/rules adds -fpermissive. This makes the package 
build successfully.


Rutilt builds successfully in squeeze and lenny.

--- rutilt-0.16/debian/rules	2011-12-11 23:59:48.000000000 +0000
+++ rutilt-0.16.new/debian/rules	2011-12-11 23:42:12.000000000 +0000
@@ -5,7 +5,7 @@
 
 include /usr/share/quilt/quilt.make
 
-CFLAGS := -pipe -Wall -g
+CFLAGS := -pipe -Wall -g -fpermissive
 
 ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -DNDEBUG

Reply via email to