Package: gnuradio
Version: 3.2.2.dfsg-1
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu lucid ubuntu-patch
*** /tmp/tmpJPNdra
gnuradio 3.2.2.dfsg-1 FTBFS in Ubuntu Lucid, because the newer Qt won't
accept pre-built .moc files in the source tree (version too old). Removing
them lets them get rebuilt by Qt during the build.
In Ubuntu, we've applied the attached patch to achieve the following:
- debian/rules clean: remove pre-built Qt moc files
We thought you might be interested in doing the same.
diff -u gnuradio-3.2.2.dfsg/debian/rules gnuradio-3.2.2.dfsg/debian/rules
--- gnuradio-3.2.2.dfsg/debian/rules
+++ gnuradio-3.2.2.dfsg/debian/rules
@@ -15,6 +15,11 @@
dh_testroot
rm -f build-stamp configure-stamp extract-stamp install-stamp
+ # Remove (possibly stale) pre-built Qt-generated moc files; they will
+ # be rebuilt using the current Qt moc. Perhaps this should actually be
+ # part of 'make distclean' and these files not be distributed:
+ rm -f ./gr-qtgui/src/lib/*_moc.cc
+
if [ -f Makefile ]; \
then\
if [ -d .svn ]; \