[Slackbuilds-users] qgis configure not finding PyQt5 and python3-six

Rich Shepard rshepard at appl-ecosys.com
Mon Feb 10 18:22:57 UTC 2020


I've PyQt5-5.9.2-x86_64-1_SBo, python3-PyQt5-5.9.2-x86_64-1_SBo, and
python3-six-1.13.0-x86_64-1_SB installed on 14.2/x86_64 but qgis-3.10.1
configuration fails to find both:

Traceback (most recent call last):
   File "/tmp/SBo/qgis-3.10.1/cmake/FindPyQt5.py", line 34, in <module>
     import PyQt5.pyqtconfig
ModuleNotFoundError: No module named 'PyQt5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/tmp/SBo/qgis-3.10.1/cmake/FindPyQt5.py", line 37, in <module>
     import PyQt5.QtCore
ModuleNotFoundError: No module named 'PyQt5'
Traceback (most recent call last):
   File "/tmp/SBo/qgis-3.10.1/cmake/FindSIP.py", line 33, in <module>
     import sipconfig
ModuleNotFoundError: No module named 'sipconfig'
CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):
   Could not find SIP
Call Stack (most recent call first):
   CMakeLists.txt:832 (FIND_PACKAGE)

I've attached the CMake logs and ask for your advice on resolving this
issue.

Regards,

Rich
-------------- next part --------------
Determining if the CL_VERSION_2_0 exist failed with the following output:
Change Dir: /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_1ff46/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_1ff46.dir/build.make CMakeFiles/cmTC_1ff46.dir/build
gmake[1]: Entering directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1ff46.dir/CheckSymbolExists.c.o
/usr/bin/cc    -O2 -fPIC    -o CMakeFiles/cmTC_1ff46.dir/CheckSymbolExists.c.o   -c /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ?main?:
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ?CL_VERSION_2_0? undeclared (first use in this function)
   return ((int*)(&CL_VERSION_2_0))[argc];
                   ^
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/cmTC_1ff46.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1ff46.dir/CheckSymbolExists.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_1ff46.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1ff46/fast' failed
gmake: *** [cmTC_1ff46/fast] Error 2

File /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include </usr/include/CL/cl.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef CL_VERSION_2_0
  return ((int*)(&CL_VERSION_2_0))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the CL_VERSION_1_2 exist failed with the following output:
Change Dir: /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_243a9/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_243a9.dir/build.make CMakeFiles/cmTC_243a9.dir/build
gmake[1]: Entering directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_243a9.dir/CheckSymbolExists.c.o
/usr/bin/cc    -O2 -fPIC    -o CMakeFiles/cmTC_243a9.dir/CheckSymbolExists.c.o   -c /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ?main?:
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ?CL_VERSION_1_2? undeclared (first use in this function)
   return ((int*)(&CL_VERSION_1_2))[argc];
                   ^
/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/cmTC_243a9.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_243a9.dir/CheckSymbolExists.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_243a9.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_243a9/fast' failed
gmake: *** [cmTC_243a9/fast] Error 2

File /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include </usr/include/CL/cl.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef CL_VERSION_1_2
  return ((int*)(&CL_VERSION_1_2))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function openpty exists failed with the following output:
Change Dir: /tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_cfcf0/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_cfcf0.dir/build.make CMakeFiles/cmTC_cfcf0.dir/build
gmake[1]: Entering directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cfcf0.dir/CheckFunctionExists.c.o
/usr/bin/cc    -O2 -fPIC -DCHECK_FUNCTION_EXISTS=openpty   -o CMakeFiles/cmTC_cfcf0.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_cfcf0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cfcf0.dir/link.txt --verbose=1
/usr/bin/cc  -O2 -fPIC -DCHECK_FUNCTION_EXISTS=openpty    CMakeFiles/cmTC_cfcf0.dir/CheckFunctionExists.c.o  -o cmTC_cfcf0 -rdynamic 
CMakeFiles/cmTC_cfcf0.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `openpty'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cfcf0.dir/build.make:97: recipe for target 'cmTC_cfcf0' failed
gmake[1]: *** [cmTC_cfcf0] Error 1
gmake[1]: Leaving directory '/tmp/SBo/qgis-3.10.1/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cfcf0/fast' failed
gmake: *** [cmTC_cfcf0/fast] Error 2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 42521 bytes
Desc: 
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200210/b12e9c06/attachment-0001.obj>


More information about the SlackBuilds-users mailing list