Bug#713358: qgis: FTBFS: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. PYTHON_LIBRARY

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 13:09:42 UTC 2013


Source: qgis
Version: 1.7.4+1.7.5~20120320-1.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/python-qgis.install.in >debian/python-qgis.install
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/python-qgis.lintian-overrides.in >debian/python-qgis.lintian-overrides
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/qgis-plugin-grass.install.in >debian/qgis-plugin-grass.install
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/qgis.sh.in >debian/qgis.sh
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/control.debiangis >debian/control
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/libqgis{QGIS_ABI}-dev.install >debian/libqgis1.7.5-dev.install
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/libqgis{QGIS_ABI}.install >debian/libqgis1.7.5.install
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/libqgis{QGIS_ABI}.lintian-overrides >debian/libqgis1.7.5.lintian-overrides
> sed -e "s/{QGIS_ABI}/1.7.5/g" -e "s/{GRASS}/grass64/g" -e "s/{GRASS_ABI}/642/g" debian/qgis-sqlanywhere{QGIS_ABI}.install >debian/qgis-sqlanywhere1.7.5.install
> dh_testdir
> # Add here commands to configure the package.
> [ -d debian/build ] || mkdir debian/build
> [ ! -e CMakeCache.txt ] || rm CMakeCache.txt
> cd debian/build; cmake -D GRASS_PREFIX=/usr/lib/grass64 -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_SKIP_RPATH=TRUE -D BINDINGS_GLOBAL_INSTALL=TRUE -D PEDANTIC=TRUE -D WITH_SPATIALITE=TRUE -D WITH_MAPSERVER=TRUE -D QGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin -D WITH_APIDOC=TRUE -D WITH_INTERNAL_SPATIALITE=TRUE ../..
> -- The C compiler identification is GNU 4.8.1
> -- The CXX compiler identification is GNU 4.8.1
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Quantum GIS version: 1.7.5 Wroclaw (10705)
> -- Found GRASS: /usr/lib/grass64 (6.4.2)
> -- Looking for openpty
> -- Looking for openpty - not found
> -- Looking for openpty
> -- Looking for openpty - found
> -- Found Proj: /usr/lib/libproj.so
> -- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so
> -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> -- Found GEOS: /usr/lib/libgeos_c.so
> -- Found GDAL: /usr/lib/libgdal.so
> -- Found Qwt: /usr/lib/libqwt-qt4.so
> -- Found PostgreSQL: /usr/lib/libpq.so
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found
> -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.4.0") 
> -- Pedantic compiler settings enabled
> -- Found PythonInterp: /usr/bin/python (found version "2.7.5") 
> -- Found Python executable: /usr/bin/python
> -- Found Python version: 2.7.5+
> -- Found Python library: PYTHON_LIBRARY-NOTFOUND
> -- Found SIP version: 4.14.7
> -- Found PyQt4 version: 4.10.2
> -- Found FCGI: /usr/lib/libfcgi.so
> -- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.2") 
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> PYTHON_LIBRARY
>     linked by target "python_module_qgis_analysis" in directory /«BUILDDIR»/qgis-1.7.4+1.7.5~20120320/python
>     linked by target "python_module_qgis_core" in directory /«BUILDDIR»/qgis-1.7.4+1.7.5~20120320/python
>     linked by target "python_module_qgis_gui" in directory /«BUILDDIR»/qgis-1.7.4+1.7.5~20120320/python
>     linked by target "qgispython" in directory /«BUILDDIR»/qgis-1.7.4+1.7.5~20120320/src/python
>     linked by target "pyspatialite" in directory /«BUILDDIR»/qgis-1.7.4+1.7.5~20120320/python/pyspatialite
> 
> -- Configuring incomplete, errors occurred!
> make: *** [debian/build/CMakeCache.txt] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/qgis_1.7.4+1.7.5~20120320-1.1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-grass-devel mailing list