Cmake error: file COPY cannot find "C:/ki/kicad/bin/pylib/_pcbnew.pyd" during build on Windows 7 64 bit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| kicad-winbuilder |
Undecided
|
Unassigned |
Bug Description
Filing a new bug on this because a previous report claims a fix has been released and yet recent attempts to build still fail.
While building Kicad from kicad-winbuilde
CMake Error at KiCadWinbuilder
file COPY cannot find "C:/ki/
Rob Gilliom (rgilliom) wrote : | #1 |
Rob Gilliom (rgilliom) wrote : | #2 |
I just was able to do a clean build of 5596 on a Win 7, Pro, x64 machine. I don't know if it was necessary, but I deleted the Kicad folder and the build folder before running make.
It took two tries, but I got a good build.
Good luck!
Sourcerer (pg-futureware) wrote : | #3 |
I have reproduced this problem twice with Winbuilder 3.4-2 in Win XP
Stephen Eaton (seaton) wrote : | #4 |
Also confirm this on Win7 x64.
What I'm also seeing just prior to this is the boost library is failing
[ 0%] Performing download step (download, verify and extract) for 'boost'
-- downloading...
src='http://
_0.tar.bz2'
dst=
timeout='1200 seconds'
-- downloading... done
-- verifying file...
file=
-- verifying file... done
-- extracting...
src=
dst=
-- extracting... [tar xfz]
-- extracting... [error clean up]
CMakeFiles\
oads-by-
CMakeFiles\
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find "T:/kicad/
Press any key to continue . . .
Daniel Johnson (johnson-danielb) wrote : | #5 |
Another confirmation Windows 7 x64:
[ 34%] Completed 'openssl'
[ 34%] Built target openssl
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 34%] [ 34%] Performing update step for 'boost'
creating 'boost scratch repo' specifically for boost to track boost patches
[ 34%] adding pristine boost files to 'boost scratch repo'
CMakeFiles\
top/Installers/
/src/boost-
CMakeFiles\
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find
"C:/Users/
/_pcbnew.pyd".
Press any key to continue . . .
C:\Users\
Daniel Johnson (johnson-danielb) wrote : | #6 |
I noticed this message:
C:\Users\
-- KiCad-Winbuilder V3.4
-- Parallel build using 7 Processors
CMake Warning at KiCadWinbuilder
Your install path maybe too long to be able to successfully build KiCad.
Try re-installing to a root directory if the build fails!
Ran it again, from a directory closer to root C:/kicad-
[ 31%] No install step for 'boost'
[ 31%] Completed 'boost'
[ 31%] Built target boost
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find
"C:/kicad-
Press any key to continue . . .
C:\kicad-
Chase Rayfield (cusbrar2) wrote : | #7 |
@Daniel Johnson I build kicad in a C:\kicad folder I wouldn't be supprised if C:\kicad-
One thing that would really help is the ability to specify a revision to the build script I have tried editing the cmake file to revert to a commit I want but it keep getting reset to the the latest revision somewhere before the build starts.
Andy Tallack (artech-a) wrote : | #8 |
Hi
I am having same error: Windows 7 64-bit. Downloaded version of winbuild yesterday.
[ 63%] [ 63%] Building CXX object eeschema/
bs.cpp.obj
Building CXX object eeschema/
tlist_exporter.
[ 63%] Building CXX object eeschema/
ters/netlist_
[ 63%] Building CXX object eeschema/
ters/netlist_
[ 63%] Building CXX object eeschema/
ters/netlist_
[ 63%] Building CXX object eeschema/
ters/netlist_
[ 63%] Building CXX object eeschema/
ters/netlist_
[ 63%] Building CXX object eeschema/
logs/dialog_
[ 63%] Building CXX object eeschema/
e_screen.cpp.obj
[ 63%] Building CXX object eeschema/
_text.cpp.obj
[ 63%] Building CXX object eeschema/
ss_page_
[ 64%] Building CXX object eeschema/
e_units.cpp.obj
Linking CXX shared module _eeschema.kiface
[ 64%] Built target eeschema_kiface
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find "C:/Kicad/
Press any key to continue . . .
C:\Kicad>
I've attached a zip of all log files from C:\Kicad\logs\ - I'm not certain which of these are relevant or not.
Thanks
Andrew
SethuV (sethuv) wrote : | #9 |
Getting similar error in Windows 7 64-bit for KiCad revision: 5670, does there a way to downgrade KiCad version and build?
Logs shared here
C:\kicad-
-- KiCad-Winbuilder V3.4
-- Parallel build using 7 Processors
-- Build type: Release
-- Checking for environment problems
-- Checking for installed Bazaar
-- Checking for wxPython
-- Found wxPython
-- Downloading Latest Library Archive...
-- Checking for KiCad Documentation latest source
-- KiCad Documentation is up-to-date.
-- Checking for BZIP2
-- Checking for GLEW
-- Found GLEW
-- Checking for Cairo
-- Found Cairo
-- Checking for KiCad latest source code
-- Updating KiCad source code from bazaar head
-- Cleaning PCBNEW Python files to ensure good build...
-- Using KiCad Options:
-- -DKICAD_
-- -DKICAD_
-- -DKICAD_
-- -DPYTHON_
-- -DBUILD_
-- Building Release version of KiCad revision: 5670
[ 0%] [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] Built target fp_lib_
Performing download step (download, verify and extract) for 'boost'
Built target netlist_
Generating headers containing GLSL source code
Built target page_layout_
Built target pcb_lexer_
-- downloading...
src='http://
dst=
timeout='1200 seconds'
[ 30%] [ 30%] [ 30%] [ 31%] Built target bitmaps
[ 31%] [ 31%] Built target shader_headers
Built target pcb_plot_
Built target openssl
Built target cmp_library_
CMakeFiles\
ad' failed
CMakeFiles\
Built target specctra_
[ 32%] [ 32%] [ 33%] [ 34%] Built target lib_dxf
Built target field_template_
Built target dialog_
Built target potrace
[ 34%] Built target idf3
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find
"C:/kicad-
Press any key to continue . . .
Andy Tallack (artech-a) wrote : | #10 |
I've seen from the main KiCad project that this bug has been fixed, but not yet released it seems. Refer to:
https:/
KiCad-Winbuilder has moved to GitHub. Please see https:/
I'm invalidating all bugs on Launchpad as they obviously apply to old versions of the product.
Changed in kicad-winbuilder: | |
status: | New → Invalid |
It may be that the build is temporarily "broken". I've seen this happen at times and last for a couple days. It may have nothing to do with Winbuilder. Give it a couple days and see. My machine also gives the same error.
rob