Opened 6 years ago

Closed 6 years ago

#55516 closed defect (invalid)

qgis fails after 10.13.2 update from 10.13.1

Reported by: basmac Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: qgis

Description

-- QGIS version: 2.18.14 Las Palmas (21814)
-- Found Proj: /opt/local/lib/libproj.dylib
-- Found GEOS: /opt/local/lib/libgeos_c.dylib (3.6.2)
-- Found GDAL: /opt/local/lib/libgdal.dylib (2.2.3)
-- Found Expat: /opt/local/lib/libexpat.dylib
-- Found Spatialindex: /opt/local/lib/libspatialindex.dylib
CMake Error at cmake/FindQwt.cmake:43 (FILE):
  FILE failed to open for reading (No such file or directory):

    /opt/local/libexec/qt4/Library/Frameworks/qwt.framework/Versions/Current/Headers/qwt_global.h
Call Stack (most recent call first):
  CMakeLists.txt:202 (FIND_PACKAGE)


-- Found Qwt: /opt/local/libexec/qt4/lib/libqwt.dylib ()
-- Found Sqlite3: /opt/local/lib/libsqlite3.dylib
-- Found PostgreSQL: /opt/local/lib/postgresql10/libpq.dylib
-- Found SpatiaLite: /opt/local/lib/libspatialite.dylib
-- Qt WebKit support enabled
-- Found Qt version: 4.8.7
-- Touch support disabled
-- Found QScintilla2: /opt/local/libexec/qt4/lib/libqscintilla2_qt4.dylib (2.10.2)
-- Found QCA: /opt/local/libexec/qt4/lib/libqca.dylib (2.1.0)
-- Found QCA OpenSSL plugin
-- Pedantic compiler settings enabled
-- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.14", minimum required is "2.7")
-- Found PythonInterp: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python (found suitable version "2.7.14", minimum required is "2.7")
-- Found Python executable: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
-- Found Python version: 2.7.14
-- Found Python library: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
-- Found PyQt4 version: 4.12.1
-- Found SIP version: 4.19.6
-- Found QScintilla2 PyQt module: 2.10.2
-- Found GSL: -L/opt/local/lib -lgsl -lgslcblas
-- Found FCGI: /opt/local/lib/libfcgi.dylib
-- Ctest Binary Directory set to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14/build/output/bin
-- Configuring incomplete, errors occurred!
See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14/build/CMakeFiles/CMakeOutput.log".
See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14/build/CMakeFiles/CMakeError.log".
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14/build" && cmake .. -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DWITH_GRASS=OFF -DWITH_GRASS7=OFF -DWITH_QWTPOLAR=FALSE -DENABLE_QT5=OFF -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DPYTHON_CUSTOM_FRAMEWORK=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 -DSIP_BINARY_PATH=/opt/local/bin/sip-2.7 -DPYUIC_PROGRAM=/opt/local/bin/pyuic4-2.7 -DPYRCC_PROGRAM=/opt/local/bin/pyrcc4-2.7 -DWITH_SERVER=TRUE -DWITH_SERVER_PLUGINS=TRUE -DQWT_INCLUDE_DIR=/opt/local/libexec/qt4/Library/Frameworks/qwt.framework/Versions/Current/Headers -DQWT_LIBRARY=/opt/local/libexec/qt4/lib/libqwt.dylib -DQCA_INCLUDE_DIR=/opt/local/libexec/qt4/include/QtCrypto -DQCA_LIBRARY=/opt/local/libexec/qt4/lib/libqca.dylib -DQT_LRELEASE_EXECUTABLE=/opt/local/libexec/qt4/bin/lrelease -DQSCINTILLA_INCLUDE_DIR=/opt/local/libexec/qt4/include -DQSCINTILLA_LIBRARY=/opt/local/libexec/qt4/lib/libqscintilla2_qt4.dylib -DQJSON_DIR=/opt/local/lib/cmake/qjson -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang -DEXPAT_INCLUDE_DIR=/opt/local/include -DEXPAT_LIBRARY=/opt/local/lib/libexpat.dylib -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQGIS_MACAPP_BUNDLE=0 -DGDAL_CONFIG=/opt/local/bin/gdal-config -DGDAL_INCLUDE_DIR=/opt/local/include -DGDAL_LIBRARY=/opt/local/lib/libgdal.dylib -DGEOS_CONFIG=/opt/local/bin/geos-config -DGEOS_INCLUDE_DIR=/opt/local/include -DGEOS_LIBRARY=/opt/local/lib/libgeos_c.dylib -DGSL_CONFIG=/opt/local/bin/gsl-config -DPROJ_INCLUDE_DIR=/opt/local/include -DPROJ_LIBRARY=/opt/local/lib/libproj.dylib -DSPATIALINDEX_LIBRARY=/opt/local/lib/libspatialindex.dylib -DCMAKE_BUILD_TYPE=RELEASE -DPOSTGRES_CONFIG=/opt/local/lib/postgresql10/bin/pg_config -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14
Exit code: 1
Error: Failed to configure qgis: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis failed
bash-3.2# port -d install qgis

Attachments (1)

qgis.log (190.6 KB) - added by basmac 6 years ago.
log file

Download all attachments as: .zip

Change History (11)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: vince@… removed
Keywords: qgis removed
Owner: set to Veence
Status: newassigned

comment:2 Changed 6 years ago by kencu (Ken)

It's here:

/opt/local/include/qwt/qwt_global.h

perhaps you can override the header search with a -D define.

Changed 6 years ago by basmac

Attachment: qgis.log added

log file

comment:3 Changed 6 years ago by basmac

10.13.3 beta, still the same - attached log file. Not sure what you mean with -D define ?

comment:4 Changed 6 years ago by basmac

uninstall qwt61 and installed qwt to get the include above, then
[mac27:/var/log] root# port install -D /opt/local/include/qwt qgis
--->  Computing dependencies for qgis
Error: Can't install qwt61 because conflicting ports are active: qwt
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis failed
[mac27:/var/log] root#

comment:5 Changed 6 years ago by basmac

qwt61 does not have include files - is that the problem ?

comment:6 Changed 6 years ago by basmac

as qwt61 does not have any include directory I put qwt include files back explicitly, and now qgis builds

[mac27:/] root# tar xf /tmp/qwt.tar
[mac27:/] root# port install qgis
--->  Computing dependencies for qgis
--->  Configuring qgis
Warning: reinplace s|Versions/Current|Versions/2.7| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-final-2_18_14/cmake/FindPythonLibrary.cmake
--->  Building qgis
--->  Staging qgis into destroot
--->  Installing qgis @2.18.14_0+postgresql10
--->  Deactivating QGIS @2_18_13_2+postgresql96+qt5
--->  Cleaning QGIS
--->  Activating qgis @2.18.14_0+postgresql10
--->  Cleaning qgis
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
[mac27:/] root#

comment:7 Changed 6 years ago by Veence (Vincent)

Ah sorry. I didn't really track any API changes, I must admit I focussed entirely on qgis3 lately.

I’m going to see what I can do.

comment:8 Changed 6 years ago by basmac

Actually I have to remove qwt61, install qwt, tar the include/qwt files, uninstall qwt, install qwt61, tar include file, then qgis builds.
If I just have qwt or qwt61 then no build.

comment:9 Changed 6 years ago by Veence (Vincent)

Isn't that rather a qwt bug?

comment:10 Changed 6 years ago by Veence (Vincent)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.