Package: cmake
Version: 2.4.7-1
Severity: important

  Hello,

  One of my packages is FTBS on hppa due to some weird error (see [1])
that seems to be connected to the way cmake deals with Qt4 on HPPA only.

[1]: 
http://buildd.debian.org/fetch.cgi?&pkg=libqt4-ruby&ver=1.4.9-2&arch=hppa&stamp=1183858881&file=log

  True enough, if you try to compile the attached archive 
(cmake . && make), it will work pretty well on amd64 

1:21 [EMAIL PROTECTED] ~/tmp/tests/cmake cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vincent/tmp/tests/cmake
1:21 [EMAIL PROTECTED] ~/tmp/tests/cmake make
Scanning dependencies of target dummy
[100%] Building C object CMakeFiles/dummy.dir/dummy.o
Linking C executable dummy
[100%] Built target dummy
1:21 [EMAIL PROTECTED] ~/tmp/tests/cmake cmake -version
cmake version 2.4-patch 7

But it will fail miserably on hppa (paer.debian.org, unstable chroot):

[EMAIL PROTECTED]:~/tests/cmake$ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fourmond/tests/cmake
[EMAIL PROTECTED]:~/tests/cmake$ make
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: Error processing 
project file; /home/fourmond/tests/cmake/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: Error processing 
project file; /home/fourmond/tests/cmake/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: 
QT_X11_/home/fourmond/tests/cmake/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: _LIBRARY-NOTFOUND
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: QT_X11_deduced.
CMake Error: Parse error in cache file 
/home/fourmond/tests/cmake/CMakeCache.txt. Offending entry: 
Error_LIBRARY-NOTFOUND
-- Found Qt-Version 4.3.0
-- Configuring done
make: *** [cmake_check_build_system] Error 255
[EMAIL PROTECTED]:~/tests/cmake$ cmake -version
cmake version 2.4-patch 7
f
  I think the severity of this problem is at least important, as it makes
other packages FTBS (but I might be wrong). Meanwhile, I found that in the
particular case of my package, running make twice seems to do the trick.
However, that is not a satisfactory solution ;-)...

  Regards, and thanks for taking care of cmake !

           Vincent Fourmond

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)
Shell: /bin/sh linked to /bin/dash

Versions of packages cmake depends on:
ii  libc6                     2.6-3          GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-0      GCC support library
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  libstdc++6                4.2.1-0        The GNU Standard C++ Library v3

cmake recommends no packages.

-- no debconf information

Attachment: cmake.tar.gz
Description: GNU Zip compressed data

Reply via email to