CMake Error at KiCadWinbuilder.cmake:534

Bug #1478954 reported by Chirag R. Patel on 2015-07-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kicad-winbuilder
Undecided
Unassigned

Bug Description

I have downloaded KiCad-Winbuilder 3.4-3.7z from https://launchpad.net/kicad-winbuilder website. During "make.bat" Running i faced below problem and not able to generate executable files. Below is log during make.bat.

-- KiCad-Winbuilder V3.4
-- Parallel build using 3 Processors
-- Build type: Release
-- Checking for environment problems
-- Checking for installed Bazaar
-- Checking for wxPython
-- Downloading Latest Library Archive...
-- Checking for KiCad Documentation latest source
-- KiCad Documentation is up-to-date.
-- Checking for BZIP2
-- Downloading BZIP2 Source
CMake Error at KiCadWinbuilder.cmake:534 (file):
  file DOWNLOAD HASH mismatch

    for file: [C:/KiCAD-Winbuilder-3.4/src/bzip2-1.0.6.tar.gz]
      expected hash: [00b516f4704d4a7cb50a1d97e6e8e15b]
        actual hash: [f12fe260497d8047f931c99d6882512c]

Press any key to continue . . .

Mark Jones (heliosstudios) wrote :

I just tried to make from an older install, and it froze at about 34%. (On another PC it built fine, so was something particular to this PC.) Anyways I cleared the folder and tried the latest 3.4-3 release and received this message. Running the make again, it replies with:

-- KiCad-Winbuilder V3.4
-- Parallel build using 3 Processors
-- Build type: Release
-- Checking for environment problems
-- Checking for installed Bazaar
-- Checking for wxPython
-- Decompressing wxPython
CMake Error: Problem with archive_read_next_header(): Truncated ZIP file body
CMake Error: Problem extracting tar: R:/KiCadTest/build/wxPython-cmake-mswu-gcc_dll_
cm-3.0.0-win32.zip
ERROR 1
ERROR Failed to decompress wxPython. Please
ERROR run this script again to re-try downloading
-- Removing D:/KiCAD/build/wxPython-cmake-mswu-gcc_dll_cm-3.0.0-win32.zip
Press any key to continue . . .

Running the make a third time, starts the process all over again.

Mark Jones (heliosstudios) wrote :

Interestingly, I tried make.bat a few hours later, and it got past the wxpython error and is now building.

Mark Jones (heliosstudios) wrote :

Typo in the previous: "-- Removing D:/KiCAD/..." should be "R:/KiCadTest/". Too many folders on too many drives. :)

Apologies but more oddness is worthy of reporting. Perhaps some issues were due to N Processors being set >1 for an initial build, but this was set back to 0 and it made no change - make.bat still reported 3 (4-core CPU), even when the .cmake specified "set( N 0 )". Setting it to 1 also still uses 3 cores.

* At first it wouldn't find wxpython. Then it said it did, but wouldn't use it. Looking in ./build, the wxPython-cmake-mswu-gcc_dll_cm-3.0.0-win32.zip was 0 bytes and nothing was extracted to it's sub-folder. Fixed by manually copying an old version (6198?) of the contents into that folder.

* After building the ssl libs, it froze. make.bat had to be ended and re-started.

* Same for boost; froze, ended task, restarted.

* The documentation would not download and build. Could be my wi-fi. Manually copied 6198 ./src/doc, worked. But this version of kicadwinbuilder always reports:

-- Updating KiCad Documentation source from bazaar head
ERROR Updating Documentation!
ERROR Bazaar said: bzr: ERROR: Not a branch: "http://bazaar.launchpad.net/~kicad
-developers/kicad/doc/".

KiCad-Winbuilder has moved to GitHub. Please see https://launchpad.net/kicad-winbuilder for more information.

I'm invalidating all bugs on Launchpad as they obviously apply to old versions of the product.

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

Other bug subscribers