Bug#572821: freemat: FTBFS with Qt 4.6.x
Ilya Barygin
barygin at gmail.com
Sat Mar 6 21:19:02 UTC 2010
Package: freemat
Version: 4.0-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* Remove *.moc.cpp files on clean, they don't work with current Qt and
cause FTBFS.
We thought you might be interested in doing the same.
The package contains moc files build for Qt 4.5.2 and fails to build
with Qt 4.6.x currently present in Ubuntu Lucid:
[ 3%] Building CXX object libs/libGraphics/CMakeFiles/Graphics.dir/HandleUIControl.moc.cpp.o
/build/buildd/freemat-4.0/libs/libGraphics/HandleUIControl.moc.cpp:14:2: error: #error "This file was generated using the moc from 4.5.2. It"
/build/buildd/freemat-4.0/libs/libGraphics/HandleUIControl.moc.cpp:15:2: error: #error "cannot be used with the include files from this version of Qt."
/build/buildd/freemat-4.0/libs/libGraphics/HandleUIControl.moc.cpp:16:2: error: #error "(The moc has changed too much.)"
So it's not an immediate problem for Debian, but will cause a genuine
FTBFS when Qt is upgraded. Perhaps upstream shouldn't ship moc files at
all.
Build logs are here:
http://launchpadlibrarian.net/37069390/buildlog_ubuntu-lucid-i386.freemat_4.0-2_FAILEDTOBUILD.txt.gz
https://launchpad.net/ubuntu/+source/freemat/4.0-2
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid
APT policy: (500, 'lucid')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-20-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpxCCFte
Type: text/x-diff
Size: 377 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100307/f45acec0/attachment.diff>
More information about the debian-science-maintainers
mailing list