← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #2771

 

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

Changes:

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

------------------------------------------
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 e91ce300fba5905c19d019eae3e363aeec63bea9 (refs/remotes/origin/master)
Commit message: "Cast nullptr to const void* to satisfy picky compilers"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e91ce300fba5905c19d019eae3e363aeec63bea9
 > git rev-list 262fcc91af10a11eb4caed2ff864e0cce17c868a # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins432119275754150266.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
+ grep -q ^MAKEJOBS=
+ env
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[  0%] [  0%] Generating version string header
Built target lib-dependencies
[  0%] Built target page_layout_lexer_source_files
-- Using Git to determine build version string.
[  0%] -- Found Git: /usr/bin/git (found version "2.1.4") 
Built target idf3
[  0%] -- Git hash: e91ce300fba5905c19d019eae3e363aeec63bea9
-- Git branch: HEAD
Built target lib_table_lexer_source_files
[  0%] -- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (2017-08-08 revision e91ce30)-HEAD
Built target netlist_lexer_source_files
[  0%] Built target version_header
[  0%] Built target pcb_plot_lexer_source_files
[  0%] [  1%] Built target pcb_lexer_source_files
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:73: 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, (const 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