Comment 6 for bug 1804771

Revision history for this message
Gabriel Staples (ercaguy) wrote :

@Seth, thanks for letting me know.

Update to all:

I switched my cmake command to this (`cmake -DCMAKE_BUILD_TYPE=Release -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF ../../`) and got it to complete. Now, my build fails. Says there's errors in the source code. Why would I be seeing this when this is supposed to be a valid build?

I'm building on commit ed6c68a1e35f68c1d0b1f46715cf7a5ac5032b65 from 22 Nov.

------------------

7510-gabriels ~/GS/dev/KiCad/source/kicad/build/release $ make -j8
[ 0%] [ 0%] Built target netlist_lexer_source_files
Built target page_layout_lexer_source_files
[ 0%] Built target lib_table_lexer_source_files
[ 0%] Generating version string header
[ 0%] [ 0%] Built target legacy_gal
Built target pcb_lexer_source_files
[ 0%] Built target pcb_plot_lexer_source_files
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "1.9.1")
[ 1%] Built target legacy_wx
[ 1%] [ 2%] Built target cmp_library_lexer_source_files
Built target dialog_bom_cfg_lexer_source_files
[ 3%] Built target kicad_3dsg
[ 3%] Built target polygon
[ 3%] -- Not updating /home/gabriels/GS/dev/KiCad/source/kicad/build/release/kicad_build_version.h
Built target field_template_lexer_source_files
[ 3%] Built target version_header
[ 3%] Built target lib_dxf
[ 3%] Built target specctra_lexer_source_files
[ 4%] Built target potrace
[ 4%] Built target idf3
[ 4%] Built target pcb_calculator_lexer_source_files
[ 4%] Built target idfcyl
[ 4%] Built target connectivity
[ 4%] [ 6%] Built target idfrect
Built target gal
[ 6%] Built target unit_test_utils
[ 6%] Built target dxf2idf
[ 6%] Built target s3d_plugin_oce
[ 7%] Built target kicad2step
[ 9%] Built target s3d_plugin_vrml
[ 13%] Built target pcbcommon
[ 43%] Built target bitmaps
[ 44%] Built target pcad2kicadpcb
[ 48%] Built target 3d-viewer
[ 59%] Built target common
[ 59%] [ 59%] Built target github_plugin
[ 60%] Built target bitmap2component
Built target s3d_plugin_idf
[ 60%] Built target qa_utils
[ 62%] Built target pcb_calculator_kiface
[ 62%] Built target idf2vrml
[ 63%] Built target pl_editor_kiface
[ 63%] Built target kicad-ogltest
[ 64%] Built target qa_common
[ 65%] [ 65%] Built target kicad
Built target pl_editor
[ 65%] Built target pcb_calculator
[ 65%] Built target io_benchmark
[ 69%] Built target gerbview_kiface
[ 71%] Built target pnsrouter
[ 71%] Built target gerbview
[ 72%] Built target cvpcb_kiface
[ 72%] Built target qa_pcb_parse_input
[ 84%] Built target eeschema_kiface
[ 84%] Built target qa_eagle_plugin
[ 84%] [ 84%] Built target eeschema
Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx: In function ‘PyObject* _wrap_new_LSET(PyObject*, PyObject*)’:
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141375:45: error: invalid conversion from ‘PyObject* {aka _object*}’ to ‘Py_ssize_t {aka long int}’ [-fpermissive]
     return _wrap_new_LSET__SWIG_0(self, args);
                                             ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141375:45: error: too few arguments to function ‘PyObject* _wrap_new_LSET__SWIG_0(PyObject*, Py_ssize_t, PyObject**)’
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141233:22: note: declared here
 SWIGINTERN PyObject *_wrap_new_LSET__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
                      ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141382:47: error: invalid conversion from ‘PyObject* {aka _object*}’ to ‘Py_ssize_t {aka long int}’ [-fpermissive]
       return _wrap_new_LSET__SWIG_1(self, args);
                                               ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141382:47: error: too few arguments to function ‘PyObject* _wrap_new_LSET__SWIG_1(PyObject*, Py_ssize_t, PyObject**)’
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141246:22: note: declared here
 SWIGINTERN PyObject *_wrap_new_LSET__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
                      ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141392:47: error: invalid conversion from ‘PyObject* {aka _object*}’ to ‘Py_ssize_t {aka long int}’ [-fpermissive]
       return _wrap_new_LSET__SWIG_2(self, args);
                                               ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141392:47: error: too few arguments to function ‘PyObject* _wrap_new_LSET__SWIG_2(PyObject*, Py_ssize_t, PyObject**)’
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141270:22: note: declared here
 SWIGINTERN PyObject *_wrap_new_LSET__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
                      ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141406:49: error: invalid conversion from ‘PyObject* {aka _object*}’ to ‘Py_ssize_t {aka long int}’ [-fpermissive]
         return _wrap_new_LSET__SWIG_3(self, args);
                                                 ^
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141406:49: error: too few arguments to function ‘PyObject* _wrap_new_LSET__SWIG_3(PyObject*, Py_ssize_t, PyObject**)’
/home/gabriels/GS/dev/KiCad/source/kicad/build/release/pcbnew/pcbnew_wrap.cxx:141291:22: note: declared here
 SWIGINTERN PyObject *_wrap_new_LSET__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
                      ^
make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o] Error 1
make[1]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
make: *** [all] Error 2
master
7510-gabriels ~/GS/dev/KiCad/source/kicad/build/release $