Package: cmake
Version: 2.8.5-1
Severity: normal

Some files are starting to be shipped in /usr/include/<triplet>.
Unfortunately, cmake will not find these via the find_file function,
which can make software fail to build or build with different
configurations than expected (because a test failed).

A small test case:

felipe@pcfelipe:build% cat ../CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
find_file(TIME sys/time.h )

if( NOT TIME )
    message(FATAL_ERROR "sys/time.h not found")
endif(NOT TIME)

felipe@pcfelipe:build% cmake ..             
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:5 (message):
  sys/time.h not found


-- Configuring incomplete, errors occurred!


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

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cmake depends on:
ii  cmake-data         2.8.5-1         
ii  libarchive1        2.8.5-3         
ii  libc6              2.13-21         
ii  libcurl3-gnutls    7.21.7-3        
ii  libexpat1          2.0.1-7         
ii  libgcc1            1:4.6.1-11      
ii  libstdc++6         4.6.1-11        
ii  libxmlrpc-core-c3  1.16.33-3.1     
ii  procps             1:3.2.8-11      
ii  zlib1g             1:1.2.3.4.dfsg-3

cmake recommends no packages.

Versions of packages cmake suggests:
ii  gcc   4:4.6.1-2
ii  make  3.81-8.1 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to