<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>At the moment building on Xubuntu 17.10 I get this:</p>
<p>[ 81%] Generating ui_DlgAddGeometryColumn.py<br>
An unexpected error occurred.<br>
Check that you are using the latest version of PyQt5 and send an
error report to<br>
<a class="moz-txt-link-abbreviated" href="mailto:support@riverbankcomputing.com">support@riverbankcomputing.com</a>, including the following
information:<br>
* your version of PyQt (5.7)<br>
* the UI file that caused this error<br>
* the debug output of pyuic5 (use the -d flag when calling
pyuic5)<br>
python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/build.make:72:
recipe for target
'python/plugins/db_manager/ui_DlgAddGeometryColumn.py' failed<br>
make[2]: ***
[python/plugins/db_manager/ui_DlgAddGeometryColumn.py] Error 1<br>
make[2]: *** Deleting file
'python/plugins/db_manager/ui_DlgAddGeometryColumn.py'<br>
CMakeFiles/Makefile2:4928: recipe for target
'python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/all'
failed<br>
make[1]: ***
[python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/all]
Error 2<br>
Makefile:162: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<h1 style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">[Qgis-developer] Building
QGIS2.99 cloned from GitHub on Ubuntu 16.10 (yakkety) 64-bit
Python</h1>
<b style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;">gordon
at shieldaig.com</b><span style="color: rgb(0, 0, 0); font-family:
"Times New Roman"; font-size: medium; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><span> </span></span><a
href="mailto:qgis-developer%40lists.osgeo.org?Subject=Re%3A%20%5BQgis-developer%5D%20Building%20QGIS2.99%20cloned%20from%20GitHub%20on%20Ubuntu%0A%2016.10%20%28yakkety%29%2064-bit%20Python&In-Reply-To=%3C3e36e36f0ac4e7d7238a8586d626ec31%40shieldaig.com%3E"
title="[Qgis-developer] Building QGIS2.99 cloned from GitHub on
Ubuntu 16.10 (yakkety) 64-bit Python" style="font-family:
"Times New Roman"; font-size: medium; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">gordon at shieldaig.com<span> </span></a><br
style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<i style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;">Thu
Feb 9 18:26:47 PST 2017</i><span style="color: rgb(0, 0, 0);
font-family: "Times New Roman"; font-size: medium;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"></span>
<ul style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<li>Previous message (by thread):<span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/047081.html">[Qgis-developer]
Building QGIS2.99 cloned from GitHub on Ubuntu 17.04 (zesty)
64-bit Python</a></li>
<li>Next message (by thread):<span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/047005.html">[Qgis-developer]
Building QGIS2.99 cloned from GitHub on Ubuntu 16.10 (yakkety)
64-bit Python</a></li>
<li><b>Messages sorted by:</b><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/date.html#47004">[
date ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/thread.html#47004">[
thread ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/subject.html#47004">[
subject ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/author.html#47004">[
author ]</a></li>
</ul>
<hr style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">This is what I changed to get what I had to build on Ubuntu 16.10. I am
using the free open source version of Qt directly from their website.
1. I used the Qt Maintenance tool to install a local copy of Qt 5.7.1,
to be consistent with `pyqt5-dev`, `pyqt5-dev-tools` and some other
python packages, and modified `ccmake ..` to use it except for Qt5WebKit
and Qt5WebKitWidgets which remained as configured. That means in the
ccmake I changed the path from Qt5Concurrent_DIR to Qt5Xml_DIR to
`/home/<my username>/Qt/5.7/gcc_64/lib/cmake/...`
2. I modified `qendian.h` in the Qt 5.7 folder `include/QtCore` I made
beginning section of the Qt 5.7 file the same as Qt 5.6 for
QT_HAS_BUILTIN ie.
`#ifdef __has_builtin
# define QT_HAS_BUILTIN(x) __has_builtin(x)
#else
# define QT_HAS_BUILTIN(x) 0
#endif`
3. In folder QGIS/src/core/qgis.h I added the line `#include
<QIODevice>` before all other includes. This eliminate a problem with a
`isTransactionStarted` missing member of IODevice Class. I did this
because the header said must be included before any `open`.
4. In folder QGIS/src/gui/qgisgui.h I added the line `#include
<QIODevice>` before all other includes. This eliminate a problem with a
`isTransactionStarted` missing member of IODevice Class.
5. In folder QGIS/src/gui/qgshelp.h I added the line `#include
<QIODevice>` before all other includes. This eliminate a problem with a
`isTransactionStarted` missing member of IODevice Class.
Hopefully these changes will point the development team or someone to
problems building on Ubuntu 16.10 64-bit - I did a full upgraded to it
from 16.04 just a few days ago. I did install `geos` 3.6 from source
but that probably made little difference but a fix of that issue is now
on Github.
At [ 89%] Generating ui_DlgCreateConstraint.py
`Segmentation fault (core dumped)
python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/build.make:72:
recipe for target 'python/plugins/db_manager/ui_DlgAddGeometryColumn.py'
failed
make[2]: *** [python/plugins/db_manager/ui_DlgAddGeometryColumn.py]
Error 139
make[2]: *** Waiting for unfinished jobs....
Segmentation fault (core dumped)
python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/build.make:76:
recipe for target 'python/plugins/db_manager/ui_DlgCreateConstraint.py'
failed
make[2]: *** [python/plugins/db_manager/ui_DlgCreateConstraint.py] Error
139
CMakeFiles/Makefile2:5428: recipe for target
'python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/all'
failed
make[1]: ***
[python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....`
The build continued until:
`[ 94%] Linking CXX shared library ../../output/lib/libqgis_app.so
[ 94%] Built target qgis_app`
There may have been an easier way but I didn't know what it was. I am
not that familiar with Qt. I haven't resolve the db_manager issue.
Anyone know how to fix that?
Gordon
On 2017-02-09 03:50, Jürgen E. Fischer wrote:
><i> Hi Gordon,
</i>><i>
</i>><i> On Wed, 08. Feb 2017 at 18:01:52 -0500, <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">gordon at shieldaig.com</a> wrote:
</i>>><i> This is what I discovered.
</i>>><i>
</i>>><i> On Ubuntu 16.10 the following packages: `pyqt5-dev pyqt5-dev-tools
</i>>><i> pyqt5.qsci-dev` seem to be the Qt 5.7 version.
</i>>><i> I removed them and reinstalled to confirm. Then I deleted the build
</i>>><i> folder and started over.
</i>><i>
</i>><i> As a shortcut you can also build debian packages (see INSTALL). That
</i>><i> will take
</i>><i> care of the dependencies (ie. complain about what's missing) and leave
</i>><i> a build
</i>><i> directory in debian/build. You could also interrupt the build once
</i>><i> it's
</i>><i> setup.
</i>><i>
</i>><i>
</i>><i> Jürgen
</i>><i>
</i>><i> _______________________________________________
</i>><i> Qgis-developer mailing list
</i>><i> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">Qgis-developer at lists.osgeo.org</a>
</i>><i> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</i>><i> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</i></pre>
<hr style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<ul style="color: rgb(0, 0, 0); font-family: "Times New
Roman"; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<li>Previous message (by thread):<span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/047081.html">[Qgis-developer]
Building QGIS2.99 cloned from GitHub on Ubuntu 17.04 (zesty)
64-bit Python</a></li>
<li>Next message (by thread):<span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/047005.html">[Qgis-developer]
Building QGIS2.99 cloned from GitHub on Ubuntu 16.10 (yakkety)
64-bit Python</a></li>
<li><b>Messages sorted by:</b><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/date.html#47004">[
date ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/thread.html#47004">[
thread ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/subject.html#47004">[
subject ]</a><span> </span><a
href="http://lists.osgeo.org/pipermail/qgis-developer/2017-February/author.html#47004">[
author ]</a></li>
</ul>
</body>
</html>