KiCad / KicadOSXBuilder

Kicad OSX Builder, which I plan to use as my boxed development environment on Mac OSX
87 stars 27 forks source link

Build fails on stage 1 #42

Closed microbug closed 10 years ago

microbug commented 10 years ago

I am on Mac OS X 10.9.4. I installed the Xcode command line tools, macports, bzr, bzrtools, glew and swig and ran the commands as required in prerequisite 3 on the info page. My build breaks on step 1:

Richards-MacBook-Pro:build Richard$ sudo bash build.sh -a x86_64 -c 2 -C
Password:
BUILDING RELEASE BINARIES

****************************************************************************
Starting step: CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)
****************************************************************************

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   328    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 48.4M  100 48.4M    0     0  1819k      0  0:00:27  0:00:27 --:--:-- 3100k
unpacking wxpython sources ...
patching wxpython sources ...
build.sh: line 254: /Users/Richard/Documents/build/patches/wxpython-2.9.4.0-kicad.patch: No such file or directory
build error on CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)  STEP: 1
Richards-MacBook-Pro:build Richard$ 
Richards-MacBook-Pro:build Richard$ sudo bash build.sh -a x86_64 -c 2 -C
Password:
BUILDING RELEASE BINARIES

****************************************************************************
Starting step: CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)
****************************************************************************

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 48.4M  100 48.4M    0     0  1193k      0  0:00:41  0:00:41 --:--:-- 1755k
unpacking wxpython sources ...
patching wxpython sources ...
build.sh: line 254: /Users/Richard/Documents/build/patches/wxpython-2.9.4.0-kicad.patch: No such file or directory
build error on CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)  STEP: 1

Any ideas as to the problem?

microbug commented 10 years ago

I forgot to add, I tried creating a 'patches' directory, deleting all files and starting again, but it didn't help.

microbug commented 10 years ago

OK, rebooting solved that one. My problem now is with Launchpad:

sudo bash build.sh -a x86_64 -c 2 -C
BUILDING RELEASE BINARIES

****************************************************************************
Starting step: CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)
****************************************************************************

****************************************************************************
Starting step: UPDATE KICAD SOURCES
****************************************************************************

Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. 
build error on UPDATE KICAD SOURCES  STEP: 2

It appears there is some problem with the connection. I have tried multiple times regenerating my SSH key and uploading it to launchpad, and logging in again with bzr launchpad-login microbug but it won't work. I do have a launchpad account!

microbug commented 10 years ago

Both problems now solved. I had to create the patches directory, download wxpython-2.9.4.0-kicad.patch and put it in it. I also had to do chmod +x on build.sh rather than invoking it with bash.