Package: cmake Version: 2.6.4-1 Severity: normal Tags: patch Hi,
FindQt3.cmake will set QT_MOC_EXECUTABLE to /usr/bin/moc even if /usr/bin/moc is actually /usr/bin/moc-qt4. Boson FTBFS because of that (#529033) To reproduct the problem, just try to build boson after: update-alternatives --set moc /usr/bin/moc-qt4 Can you please apply the attached patch. Cheers, Gonéri -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.31-rc3-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cmake depends on: ii cmake-data 2.6.4-1 CMake data files (modules, templat ii libc6 2.9-21 GNU C Library: Shared libraries ii libcurl3-gnutls 7.19.5-1 Multi-protocol file transfer libra ii libexpat1 2.0.1-4 XML parsing C library - runtime li ii libgcc1 1:4.4.1-1 GCC support library ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3 ii libxmlrpc-c3 1.06.27-1 A lightweight RPC library based on ii zlib1g 1:1.2.3.3.dfsg-14 compression library - runtime cmake recommends no packages. cmake suggests no packages. -- no debconf information
diff -u cmake-2.6.4/debian/changelog cmake-2.6.4/debian/changelog --- cmake-2.6.4/debian/changelog +++ cmake-2.6.4/debian/changelog @@ -1,3 +1,10 @@ +cmake (2.6.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Really find moc-qt3, even if moc alternative is moc-qt4 + + -- Gonéri Le Bouder <gon...@rulezlan.org> Mon, 27 Jul 2009 17:24:42 +0200 + cmake (2.6.4-1) unstable; urgency=low * New upstream release. diff -u cmake-2.6.4/debian/patches/series cmake-2.6.4/debian/patches/series --- cmake-2.6.4/debian/patches/series +++ cmake-2.6.4/debian/patches/series @@ -1,3 +1,4 @@ +find_moc-qt3.diff FindQt4.cmake2.6.diff findmpeg2-addpath.diff kfreebsd-Platform.diff only in patch2: unchanged: --- cmake-2.6.4.orig/debian/patches/find_moc-qt3.diff +++ cmake-2.6.4/debian/patches/find_moc-qt3.diff @@ -0,0 +1,11 @@ +--- cmake-2.6.4.orig/Modules/FindQt3.cmake ++++ cmake-2.6.4/Modules/FindQt3.cmake +@@ -125,7 +125,7 @@ + + # qt 3 should prefer QTDIR over the PATH + FIND_PROGRAM(QT_MOC_EXECUTABLE +- NAMES moc moc-qt3 ++ NAMES moc-qt3 + HINTS + $ENV{QTDIR}/bin + PATHS