← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-noscript-fedora20 #2006

 

See <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/2006/display/redirect?page=changes>

Changes:

[Maciej Suminski] OpenGL driver debug routines

[Maciej Suminski] Fixes for video cards unable to use gl{Un,}MapBuffer correctly

[Maciej Suminski] Cast nullptr to const void* to satisfy picky compilers

[Maciej Suminski] Take two for satisyfing picky compilers (casting nullptr to void*)

------------------------------------------
Started by upstream project "linux-kicad-full-gcc-head" build number 2239
originally caused by:
 Started by an SCM change
Building remotely on fedora21 (hugo fedora linux) in workspace <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/KiCad/kicad-source-mirror.git # timeout=10
Fetching upstream changes from https://github.com/KiCad/kicad-source-mirror.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/KiCad/kicad-source-mirror.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ef6910faa9bf12532eb4f3435f2eed097ecc83c4 (refs/remotes/origin/master)
Commit message: "Take two for satisyfing picky compilers (casting nullptr to void*)"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ef6910faa9bf12532eb4f3435f2eed097ecc83c4
 > git rev-list 2d9ab80b4ed2078d8584d20c6b5e9f05178fa17c # timeout=10
[kicad-noscript-fedora20] $ /bin/sh -xe /tmp/jenkins9022461311722248956.sh
+ OPTS=' -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=OFF -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0 -DKICAD_USE_WEBKIT=OFF -DKICAD_SKIP_BOOST=YES'
+ '[' -d build ']'
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=OFF -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0 -DKICAD_USE_WEBKIT=OFF -DKICAD_SKIP_BOOST=YES
-- Kicad install dir: </usr/local>
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- S3DSG version: 2.0.0
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/build>
+ rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx.o
+ rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx
+ nice make -j2
[  0%] Built target lib-dependencies
[  0%] Built target netlist_lexer_source_files
[  1%] Generating version string header
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "2.1.0") 
-- Git hash: ef6910faa9bf12532eb4f3435f2eed097ecc83c4
-- Git branch: HEAD
-- Writing <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/build/kicad_build_version.h> file with version: (2017-08-08 revision ef6910f)-HEAD
[  1%] Built target version_header
[  1%] Built target lib_table_lexer_source_files
[  1%] Built target page_layout_lexer_source_files
[ 31%] Built target bitmaps
[ 31%] Built target pcb_lexer_source_files
[ 31%] Built target pcb_plot_lexer_source_files
[ 31%] Built target polygon
[ 33%] Built target kicad_3dsg
[ 33%] Built target cmp_library_lexer_source_files
[ 33%] Built target dialog_bom_cfg_lexer_source_files
[ 33%] Built target field_template_lexer_source_files
[ 33%] Built target lib_dxf
[ 33%] Built target specctra_lexer_source_files
[ 33%] Built target idf3
[ 34%] Built target potrace
[ 35%] Built target pcb_calculator_lexer_source_files
[ 36%] Built target s3d_plugin_idf
[ 36%] Built target dxf2idf
[ 38%] Built target s3d_plugin_vrml
[ 38%] Built target idfcyl
[ 38%] Built target idf2vrml
[ 38%] Built target idfrect
Scanning dependencies of target gal
[ 38%] [ 38%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o
Building CXX object common/CMakeFiles/gal.dir/gal/opengl/opengl_gal.cpp.o
[ 38%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/vertex_item.cpp.o
[ 38%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/vertex_container.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/cached_container.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/cached_container_gpu.cpp.o
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/common/gal/opengl/cached_container.cpp>: In member function ‘void KIGFX::CACHED_CONTAINER::test()’:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/common/gal/opengl/cached_container.cpp>:434:18: warning: declaration of ‘usedSpace’ shadows a member of 'this' [-Wshadow]
     unsigned int usedSpace = 0;
                  ^
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/cached_container_ram.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/noncached_container.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/vertex_manager.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/gpu_manager.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/antialiasing.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/opengl_compositor.cpp.o
[ 39%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/common/gal/opengl/utils.cpp>: In function ‘void enableGlDebug(bool)’:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/common/gal/opengl/utils.cpp>:98:67: error: invalid conversion from ‘void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, const void*) {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, const void*)}’ to ‘GLDEBUGPROC {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}’ [-fpermissive]
         glDebugMessageCallback( debugMsgCallback, (void*) nullptr );
                                                                   ^
common/CMakeFiles/gal.dir/build.make:698: recipe for target 'common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o' failed
make[2]: *** [common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o] Error 1
CMakeFiles/Makefile2:340: recipe for target 'common/CMakeFiles/gal.dir/all' failed
make[1]: *** [common/CMakeFiles/gal.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure


Follow ups