This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at mapscript/python/CMakeLists.txt:44 (install): install FILES given no DESTINATION! ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: desktop-gcc5_20170516-214204 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2:
Created attachment 474030 [details] emerge-info.txt
Created attachment 474032 [details] CMakeError.log
Created attachment 474034 [details] CMakeOutput.log
Created attachment 474036 [details] emerge-history.txt
Created attachment 474038 [details] environment
Created attachment 474040 [details] etc.portage.tbz2
Created attachment 474042 [details] sci-geosciences:mapserver-7.0.5:20170523-223041.log
Created attachment 474044 [details] temp.tbz2
Can you please try to disable python and check if this helps? It looks like a pyhton2/3 mismatch here. What is your default python version?
(In reply to Thomas Beutin from comment #9) > [...]What is your default python version? Sorry for that question - i found the answer in your bug description. Can you please check if it helps to set python2 as the preferred version?
I checked this on my machines - the real error is here: > -- Found PythonInterp: /usr/bin/python (found version "3.4.6") so it uses python3, but... > File "<string>", line 1 > from distutils.sysconfig import get_python_inc; print get_python_inc(True) > ^ ... this is invalid in python3 - it's python2 only syntax, which ... > SyntaxError: invalid syntax ... is stated here. > File "<string>", line 1 > import sys; print sys.prefix > ^ > SyntaxError: invalid syntax The same here... > -- Found PythonLibs: /usr/lib/libpython3.4m.so (found version "3.4.6") > CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message): > SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. > Call Stack (most recent call first): > mapscript/python/CMakeLists.txt:32 (SWIG_ADD_MODULE) > > > File "<string>", line 1 > from distutils.sysconfig import get_python_lib; print get_python_lib(True) > ^ > SyntaxError: invalid syntax ... and here. I hope this helps to fix this.
*** This bug has been marked as a duplicate of bug 582332 ***