[MacPorts] #60891: qgis3 @3.14.0_1 fails to build

MacPorts noreply at macports.org
Wed Jul 22 16:53:04 UTC 2020


#60891: qgis3 @3.14.0_1 fails to build
-----------------------+--------------------
 Reporter:  gwright83  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.3
 Keywords:             |       Port:  qgis3
-----------------------+--------------------
 The most recent version of qgis3, qgis3 at 3.14.0_1 fails to build on macOS
 10.14.6. The problem persists even if the previous version is uninstalled.
 I built the port with
 {{{
 sudo port install qgis3 build.jobs=1
 }}}
 to avoid previously noted parallel build problems.

 The error at the end of the log:
 {{{
 :info:build [  0%] Generating flex_qgssqlstatementlexer.cpp
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build/src/core
 && /usr/bin/flex -Psqlstatement_
 -o/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build/src/core/flex_qgssqlstatementlexer.cpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-3_14_0/src/core/qgssqlstatementlexer.ll
 :info:build make[2]: *** No rule to make target
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-3_14_0/resources/function_help/json/$$area', needed by
 `src/core/qgsexpression_texts.cpp'.  Stop.
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build'
 :info:build make[1]: *** [src/core/CMakeFiles/qgis_core_autogen.dir/all]
 Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build"
 && /usr/bin/make -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build qgis3: command execution failed
 :debug:build Error code: CHILDSTATUS 42114 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/main.log
 for details.
 }}}

 The proximate error seems to be the lack of a rule to build
 `src/src/core/qgsexpression_texts.cpp`.

 It may be relevant that I had done a `port reclaim` before trying to
 upgrade from qgis at 3.14.0_0 to qgis at 3.14.0_1.  The upgrade failed.  I
 uninstalled the old version of the port and tried to reinstall the new
 version.  This also failed.  Running `port clean` and then trying to
 install failed consistently three times with the same error message.

 A complete log is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/60891>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list