Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701910 - sci-geosciences/qgis-3.10.0 should depend on >=sci-libs/proj-4.9.3 - CMake Error at cmake/FindProj.cmake:75 (MESSAGE): Found Proj: 4.9.2. Cannot build QGIS using Proj older than 4.9.3.
Summary: sci-geosciences/qgis-3.10.0 should depend on >=sci-libs/proj-4.9.3 - CMake Er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-03 18:42 UTC by Jean-Claude Repetto
Modified: 2020-01-01 09:17 UTC (History)
1 user (show)

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


Attachments
Patch for QGIS 3.10.0 ebuild (qgis-3.10.0.patch,845 bytes, patch)
2019-12-04 16:09 UTC, Jean-Claude Repetto
Details | Diff
Patch for qgis-3.10.0.ebuild (qgis-3.10.0.patch,380 bytes, patch)
2019-12-06 15:52 UTC, Jean-Claude Repetto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2019-12-03 18:42:19 UTC
>>> Emerging (21 of 23) sci-geosciences/qgis-3.10.0::gentoo
 * qgis-3.10.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                       [ ok ]
>>> Unpacking source...
>>> Unpacking qgis-3.10.0.tar.bz2 to /var/tmp/portage/sci-geosciences/qgis-3.10.0/work
>>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-3.10.0/work
>>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0 ...
 * Applying qgis-3.10.0-cmake-lib-suffix.patch ...                       [ ok ]
 * Applying qgis-3.4.7-featuresummary.patch ...                          [ ok ]
 * Applying qgis-3.4.7-default-qmldir.patch ...                          [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *  SET(CMAKE_COLOR_MAKEFILE ON)
 *        SET (CMAKE_INSTALL_PREFIX ${QGIS_MACAPP_PREFIX}/MacOS)
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0_build"
cmake -C /var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=share/man/ -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DQWT_INCLUDE_DIR=/usr/include/qwt6 -DQWT_LIBRARY=/usr/lib64/libqwt6-qt5.so -DPEDANTIC=OFF -DUSE_CCACHE=OFF -DWITH_ANALYSIS=ON -DWITH_APIDOC=OFF -DWITH_GUI=ON -DWITH_INTERNAL_MDAL=ON -DWITH_QSPATIALITE=ON -DENABLE_TESTS=OFF -DWITH_3D=no -DWITH_GEOREFERENCER=no -DWITH_GRASS7=no -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON -DWITH_SERVER=no -DCMAKE_DISABLE_FIND_PACKAGE_NetCDF=ON -DUSE_OPENCL=no -DWITH_ORACLE=no -DWITH_QWTPOLAR=no -DWITH_POSTGRESQL=no -DWITH_BINDINGS=yes -DWITH_CUSTOM_WIDGETS=yes -DWITH_QUICK=no -DWITH_QTWEBKIT=no -DBINDINGS_GLOBAL_INSTALL=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0
loading initial cache file /var/tmp/portage/sci-geosciences/qgis-3.10.0/work/qgis-3.10.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- QGIS version: 3.10.0 A Coruña (31000)
-- Looking for openpty
-- Looking for openpty - not found
-- Looking for openpty
-- Looking for openpty - found
CMake Error at cmake/FindProj.cmake:75 (MESSAGE):
  Found Proj: 4.9.2.  Cannot build QGIS using Proj older than 4.9.3.
Call Stack (most recent call first):
  CMakeLists.txt:319 (FIND_PACKAGE)


Reproducible: Always
Comment 1 Jean-Claude Repetto 2019-12-04 16:09:40 UTC
Created attachment 598418 [details, diff]
Patch for QGIS 3.10.0 ebuild

Patch to enable QGIS 3.10.0 compilation. The patch also includes the fix for bug #689574
Comment 2 Jean-Claude Repetto 2019-12-06 15:52:55 UTC
Created attachment 598636 [details, diff]
Patch for qgis-3.10.0.ebuild

Patch to add minimal proj4 version
Comment 3 Andreas Sturmlechner gentoo-dev 2020-01-01 09:15:44 UTC
Thanks for your report. FYI your patch was dropping slot operator on proj which is wrong.
Comment 4 Larry the Git Cow gentoo-dev 2020-01-01 09:17:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00e9ed6a268483671cf55c5b724b1444628640c

commit e00e9ed6a268483671cf55c5b724b1444628640c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-01 09:16:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-01 09:16:49 +0000

    sci-geosciences/qgis: Fix minimum sci-libs/proj version to >=4.9.3
    
    Reported-by: Jean-Claude Repetto <jrepetto@9online.fr>
    Closes: https://bugs.gentoo.org/701910
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-geosciences/qgis/qgis-3.10.1.ebuild | 4 ++--
 sci-geosciences/qgis/qgis-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)