← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #2772

 

See <http://ci.kicad-pcb.org/job/kicad-qa/2772/display/redirect?page=changes>

Changes:

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

------------------------------------------
Started by an SCM change
Building remotely on debian8 (clang gcc linux) in workspace <http://ci.kicad-pcb.org/job/kicad-qa/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 e91ce300fba5905c19d019eae3e363aeec63bea9 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins6205890080058686154.sh
+ cmake --version
cmake version 3.0.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
+ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ git --version
git version 2.1.4
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
+ [ -d passed-qa ]
+ [ -d build ]
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-- Kicad install dir: </usr/local>
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- wxPython version 3.0 found.
-- 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-qa/ws/build>
+ echo CMAKE exit code is 0
CMAKE exit code is 0
+ rm -f pcbnew/pcbnewPYTHON_wrap.cxx
+ env
+ grep -q ^MAKEJOBS=
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[  0%] [  0%] [  0%] Built target lib-dependencies
Built target page_layout_lexer_source_files
Generating version string header
[  0%] -- Using Git to determine build version string.
Built target idf3
[  0%] Built target netlist_lexer_source_files
[  0%] -- Found Git: /usr/bin/git (found version "2.1.4") 
Built target lib_table_lexer_source_files
-- Git hash: ef6910faa9bf12532eb4f3435f2eed097ecc83c4
-- Git branch: HEAD
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (2017-08-08 revision ef6910f)-HEAD
[  0%] Built target version_header
[  0%] Built target pcb_lexer_source_files
[  0%] Built target pcb_plot_lexer_source_files
[  1%] Built target kicad_3dsg
[  2%] Built target lib_dxf
[  2%] Built target specctra_lexer_source_files
[  2%] Built target polygon
[ 43%] Built target bitmaps
Scanning dependencies of target gal
[ 43%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/gal/opengl/utils.cpp>: In function ‘void enableGlDebug(bool)’:
<http://ci.kicad-pcb.org/job/kicad-qa/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[3]: *** [common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o] Error 1
CMakeFiles/Makefile2:340: recipe for target 'common/CMakeFiles/gal.dir/all' failed
make[2]: *** [common/CMakeFiles/gal.dir/all] Error 2
CMakeFiles/Makefile2:1390: recipe for target 'pcbnew/CMakeFiles/pcbnew_python_module.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/pcbnew_python_module.dir/rule] Error 2
Makefile:574: recipe for target 'pcbnew_python_module' failed
make: *** [pcbnew_python_module] Error 2
Build step 'Execute shell' marked build as failure


Follow ups

References