Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327139 - sci-geosciences/qgis-1.4.0-r1 does not find SIP
Summary: sci-geosciences/qgis-1.4.0-r1 does not find SIP
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 12:21 UTC by Christian Schmitt
Modified: 2011-07-22 11:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix the sip detection (qgis-sip.patch,633 bytes, patch)
2010-07-06 13:54 UTC, Christian Schmitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmitt 2010-07-06 12:21:30 UTC
When compiling qgis with USE=python it claims that "SIP is required in version 4.7 or later!" and refuses to build with python support, although I have sip-4.10.2 installed. I'm on ~amd64.

>>> Emerging (1 of 1) sci-geosciences/qgis-1.4.0-r1
 * qgis_1.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                    [ ok ]
 * CPV:  sci-geosciences/qgis-1.4.0-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc grass kernel_linux multilib postgres python userland_GNU
>>> Unpacking source...
>>> Unpacking qgis_1.4.0.tar.gz to /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work
>>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work
>>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0 ...
 * Applying qgis-1.4.0-gcc45.patch ...                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0_build"
cmake -C /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS:BOOL=ON -DBINDINGS_GLOBAL_INSTALL:BOOL=ON -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DWITH_POSTGRESQL=ON -DWITH_grass=ON -DWITH_GRASS=ON -DWITH_Grass=ON -DWITH_EXPAT=OFF -DWITH_gsl=OFF -DWITH_GSL=OFF -DWITH_Gsl=OFF -DWITH_BINDINGS=ON -DWITH_SPATIALITE=OFF -DGRASS_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_rules.cmake  /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0
loading initial cache file /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for openpty
-- Looking for openpty - not found
-- Looking for openpty
-- Looking for openpty - found
-- Found Proj: /usr/lib64/libproj.so
-- Found Expat: /usr/lib64/libexpat.so
FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=GSL_CONFIG-NOTFOUND
-- Found GEOS: /usr/lib64/libgeos_c.so
-- Found GDAL: /usr/lib64/libgdal.so
-- Found Sqlite3: /usr/lib64/libsqlite3.so
-- Found PostgreSQL: /usr/lib64/postgresql-9.0/lib64/libpq.so
-- Found GRASS: /usr (6.4.0RC6)
-- Found PythonLibs: /usr/lib64/libpython2.6.so
-- Found PythonInterp: /usr/bin/python
-- Python libraries found
-- SIP is required in version 4.7 or later!
-- Python bindings disabled due dependency problems!
-- 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 Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Python not being built
-- <<< Gentoo configuration >>>
Comment 1 Christian Schmitt 2010-07-06 13:54:13 UTC
Created attachment 237745 [details, diff]
patch to fix the sip detection

I found a way to patch this. The issue is fixed in the next qgis version. See URL and attached patch.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-22 11:29:12 UTC
Will rather stabilise 1.7.0.