[Qgis-developer] [Qgis-user] Another compiling error at 48 percent

Pedro Venâncio pedrongvenancio at yahoo.com
Sat Jun 1 03:08:56 PDT 2013


Hi Etienne,

Thank you very much for your help!

I usually do not compile directly, I use the alternative of creating .deb packages with dpkg-buildpackage -us -uc -b -d -j4

In fact, it can be a local problem, maybe with some update, because it began to happen in the past weekend.

To test, I did a clean install on a virtual machine and it passes the 48%, even after applying all updates, but gives error at 83%...

[ 83%] Building CXX object src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python && /usr/bin/c++   -Dqgispython_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/home/pedro/sextante_github/Quantum-GIS-master/debian/build -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
 -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui -I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o CMakeFiles/qgispython.dir/qgispython.cpp.o -c /home/pedro/sextante_github/Quantum-GIS-master/src/python/qgispython.cpp
/usr/bin/cmake -E cmake_progress_report /home/pedro/sextante_github/Quantum-GIS-master/debian/build/CMakeFiles 
[ 83%] Building CXX object src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python && /usr/bin/c++   -Dqgispython_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/home/pedro/sextante_github/Quantum-GIS-master/debian/build -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
 -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui -I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -c /home/pedro/sextante_github/Quantum-GIS-master/src/python/qgspythonutilsimpl.cpp
make[3]: *** Sem regra para processar o alvo `/usr/lib/i386-linux-gnu/libpython2.7.so', necessário por `output/lib/libqgispython.so.1.9.0'.  Pare.
make[3]: Saindo do diretório `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make[2]: ** [src/python/CMakeFiles/qgispython.dir/all] Erro 2
make[2]: Saindo do diretório `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make: ** [build-stamp] Erro 2
dpkg-buildpackage: erro: debian/rules build deu erro de saída estado 2
pedro at pedro-vbox:~/sextante_github/Quantum-GIS-master$ 



What could be the reason? I know these problems are also happening to other people who use the creation of .debs packages.

Thank you very much!

Best regards,
Pedro




________________________________
From: Etienne Tourigny 



most probably a local problem... I can build latest master without problem. Try getting latest code, do a make clean, remove CMakeCache.txt, run cmake again and build


More information about the Qgis-developer mailing list