Building release version of Kicad fails

Bug #1417036 reported by kerr smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Undecided
Unassigned
kicad-winbuilder
Fix Released
High
Brian Sidebotham

Bug Description

For the last couple of days I have not been able to build the latest version of Kicad from source using Windows 7 64 bit.

Since about revision 5397 I have had the following errors appear (this was from just now so the revision is the latest one):

-- Building Release version of KiCad revision: 5401

[ 0%] [ 0%] creating 'boost scratch repo' specifically for boost to track boos
t patches
Built target page_layout_lexer_source_files
[ 0%] Built target netlist_lexer_source_files
[ 0%] Built target fp_lib_table_lexer_source_files
CMakeFiles\boost.dir\build.make:157: recipe for target 'C:/kicad/src/kicad/.down
loads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_init_boost' failed
CMakeFiles\Makefile2:62: recipe for target 'CMakeFiles/boost.dir/all' failed
[ 0%] Built target pcb_lexer_source_files
[ 29%] Built target bitmaps
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder.cmake:1040 (file):
  file COPY cannot find "C:/kicad/kicad/bin/pylib/_pcbnew.pyd".

Press any key to continue . . .

I just thought I would report this as lots of new changes have been made in the last few days but I could not find any mention of this issue when I searched the latest bug reports and using Google.

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

Try to clean your build tree.

Revision history for this message
Oivind Toien (otoien) wrote :

I am seeing the same here, Win7 64bit/Winbuilder 3.4.2 .

Not sure what part should have been cleaned out; I tried to clean out any folder that did not come with winbuilder, however it would not even run make then. Instead I did a full clean re-install and update with winbuilder and the errors went away and version is now reading BZR5402.

Revision history for this message
kerr smith (kerrsmithusa) wrote :

I tried to do a make.bat clean and nothing changed (was not quite sure if this was a valid command but tried it just in case).

I then tried deleting the build directory and nothing changed except for a small additional download of some files, it still stopped at the same point.

I completely rebuilt from scratch as suggested by Oivind and it now works again.

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

Seems more like an issue with the kicad-winbuilder rather than with kicad itself I think. Because on linux I just had to make clean IIRC.

Changed in kicad:
status: New → Invalid
Revision history for this message
m (easyw) wrote :

I don't remeber exactly, but I think I solved deleting the dir boost_1_54_0
in the c:\kicadwinbuilder\src\kicad\.downloads-by-cmake\boost_1_54_0
then I re-invoked 'make' for building...

hoping this could solve your issue...
Maurice

Revision history for this message
Brian Sidebotham (brian-sidebotham) wrote : Re: [Bug 1417036] Re: Building release version of Kicad fails

Hi Guys,

KiCad-Winbuilder is currently broken because of a change in the KiCad
source. I'll issue an updated version soon. However to quickly bodge
things to make it work, edit setenv.bat and change line 57 to read:

SET PYTHONPATH=%PYTHONHOME%;%CD%\build\wxPython-cmake-mswu-gcc_dll_cm-3.0.0-win32\wxpython

Best Regards,

Brian.

On 9 February 2015 at 19:36, m <email address hidden> wrote:
> I don't remeber exactly, but I think I solved deleting the dir boost_1_54_0
> in the c:\kicadwinbuilder\src\kicad\.downloads-by-cmake\boost_1_54_0
> then I re-invoked 'make' for building...
>
> hoping this could solve your issue...
> Maurice
>
> --
> You received this bug notification because you are subscribed to KiCad.
> Matching subscriptions: kicad-bugs-subs, winbuilder-bugs
> https://bugs.launchpad.net/bugs/1417036
>
> Title:
> Building release version of Kicad fails
>
> Status in KiCad EDA Software Suite:
> Invalid
> Status in KiCad Windows Builder:
> New
>
> Bug description:
> For the last couple of days I have not been able to build the latest
> version of Kicad from source using Windows 7 64 bit.
>
> Since about revision 5397 I have had the following errors appear (this
> was from just now so the revision is the latest one):
>
> -- Building Release version of KiCad revision: 5401
>
> [ 0%] [ 0%] creating 'boost scratch repo' specifically for boost to track boos
> t patches
> Built target page_layout_lexer_source_files
> [ 0%] Built target netlist_lexer_source_files
> [ 0%] Built target fp_lib_table_lexer_source_files
> CMakeFiles\boost.dir\build.make:157: recipe for target 'C:/kicad/src/kicad/.down
> loads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_init_boost' failed
> CMakeFiles\Makefile2:62: recipe for target 'CMakeFiles/boost.dir/all' failed
> [ 0%] Built target pcb_lexer_source_files
> [ 29%] Built target bitmaps
> Makefile:115: recipe for target 'all' failed
> -- Installing KiCad locally. Use RunKiCad.bat to run this version
> CMake Error at KiCadWinbuilder.cmake:1040 (file):
> file COPY cannot find "C:/kicad/kicad/bin/pylib/_pcbnew.pyd".
>
> Press any key to continue . . .
>
> I just thought I would report this as lots of new changes have been
> made in the last few days but I could not find any mention of this
> issue when I searched the latest bug reports and using Google.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1417036/+subscriptions

Revision history for this message
kerr smith (kerrsmithusa) wrote :

Hi Brian,

Thanks for the suggestion, it worked fine and the code built as usual.

I did a complete rebuild from scratch so I could keep my older currently working copy just in case something went wrong during the process but it compiled without any errors and works as expected.

Thanks again,

Kerr

Changed in kicad-winbuilder:
assignee: nobody → Brian Sidebotham (brian-sidebotham)
importance: Undecided → High
status: New → Fix Released
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.