[MacPorts] #59689: qgis3 @3.10.0_0: fatal error: 'ui_qgswmssourceselectbase.h' file not found (was: qgis3 upgrade to 3.10.0_0 fails)
MacPorts
noreply at macports.org
Thu Nov 21 01:05:50 UTC 2019
#59689: qgis3 @3.10.0_0: fatal error: 'ui_qgswmssourceselectbase.h' file not found
----------------------+----------------------
Reporter: dershow | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qgis3 |
----------------------+----------------------
Changes (by ryandesign):
* cc: gwright83 (added)
Comment:
Greg, it's not clear if the problem you experienced was the same as the
one experienced by dershow, since you did not attach a main.log file.
dershow's log says:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work
/QGIS-3_10_0/src/providers/wms/qgswmssourceselect.h:20:10: fatal error:
'ui_qgswmssourceselectbase.h' file not found
:info:build #include "ui_qgswmssourceselectbase.h"
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}}}
Our buildbot, on which previous versions are never active when building,
[https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/5228/steps
/install-port/logs/stdio sees the same problem]. So having a previous
version active is not likely to have contributed to this problem.
It was also reported [https://github.com/qgis/homebrew-
qgisdev/issues/34#issuecomment-323896237 in homebrew] (over 2 years ago!),
but as a comment in a ticket about a different problem, and was therefore
not addressed.
''Later'' in the log, we see:
{{{
:info:build [ 3%] Generating ui_qgswmssourceselectbase.h
: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/ui
&& /opt/local/libexec/qt5/bin/uic -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work/build/src/ui/ui_qgswmssourceselectbase.h
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis3/qgis3/work
/QGIS-3_10_0/src/ui/qgswmssourceselectbase.ui
}}}
So it's trying to use ui_qgswmssourceselectbase.h before having generated
it. A classic parallel build problem. Veence, can you please report it to
the developers of qgis3? We can work around it by disabling parallel
building in the port until upstream fixes the dependencies of their build
system:
{{{
use_parallel_build no
}}}
Until we do that, users can work around it with:
{{{
sudo port install qgis3 build.jobs=1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59689#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list