build process fails

Bug #1307979 reported by Olivier (osfe)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Undecided
Unassigned

Bug Description

Hi there,
the build process fails with the folowing message :

[ 69%] [ 69%] [ 70%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/scripting/pcbnewPYTHON_wrap.cxx.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/autorout.cpp.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/routing_matrix.cpp.o
[ 85%] Built target pcbnew_kiface
[ 85%] Built target pcbnew
[ 85%] Fixing swig_import_helper in Kicad scripting
swig_import_helper fixed for /opt/kicad_sources/kicad.bzr/build/pcbnew/pcbnew.py
[ 85%] Built target FixSwigImportsScripting
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/queue.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/spread_footprints.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/solve.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/graphpcb.cpp.o
/opt/kicad_sources/kicad.bzr/build/pcbnew/scripting/pcbnewPYTHON_wrap.cxx: In function ‘PyObject* Swig_var_NETCLASS_Default_get()’:
/opt/kicad_sources/kicad.bzr/build/pcbnew/scripting/pcbnewPYTHON_wrap.cxx:70389:56: error: invalid use of array with unspecified bounds
/opt/kicad_sources/kicad.bzr/build/pcbnew/scripting/pcbnewPYTHON_wrap.cxx:70389:87: error: invalid use of array with unspecified bounds
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/work.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/tool_modview.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/modview_frame.cpp.o
make[2]: *** [pcbnew/CMakeFiles/_pcbnew.dir/scripting/pcbnewPYTHON_wrap.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pcbnew/CMakeFiles/_pcbnew.dir/all] Error 2
make: *** [all] Error 2

I guess this is not a big issue.
I use debian wheezy, python 2.7.

Thank you

Olivier

Revision history for this message
Nick Østergaard (nickoe) wrote :

I mark this as incomplete because you did not specify what build options you used, nor if you used the build script. So if you try this again with a clean build dir (delete it) without the python scripting OPTS and it then works, then please mark this as invalid.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Olivier (osfe) (olivier-lemaire-osfe) wrote :

You're right,
the options I used were:
* build script
* # OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF"
* # OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"

I'll try tonight a build from a clean dir

regards.

Revision history for this message
Olivier (osfe) (olivier-lemaire-osfe) wrote :

I built everything from scratch and the build process went perfect.
sorry for this post.

Olivier

Changed in kicad:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.