Open DavidLit opened 10 years ago
I have the same problem. Any solutions?
I also have this problem. If I login to bazaar using the following (After registering with launchpad, setting SSH keys):
bzr launchpad-login <username>
I now get this error instead:
bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~kicad-lib-committers/kicad/library/".
build error on GET KICAD SOURCES STEP: 2
I have tracked this down to lines 284 and 285
test -d $SOURCE_DIRECTORY/$LIBRARY_DIRECTORY || (cd $SOURCE_DIRECTORY; bzr branch lp:~kicad-lib-committers/kicad/library ; cd ..) || exit_on_build_error
test -d $SOURCE_DIRECTORY/$LIBRARY_DIRECTORY && (cd $SOURCE_DIRECTORY/$LIBRARY_DIRECTORY; bzr pull; cd ..) || exit_on_build_error
It appears
lp:~kicad-lib-committers/kicad/library
is an incorrect "branch address", as the command:
bzr branch lp:~kicad-lib-committers/kicad/library
fails.
If I change the address on line 285 to
bzr branch lp:~kicad-testing-committers/kicad/library
Then step 2 passes, but fails later on step 5, giving
bzr: ERROR: unknown command "patch"
which I believe is due to me not having bzrtools.
I found the following instructions to install bzrtools from https://github.com/mheuser/homebrew-kicad/blob/master/kicad.rb
wget -O /tmp/bzrtools.tar.gz http://launchpad.net/bzrtools/stable/2.5/+download/bzrtools-2.5.tar.gz
mkdir -p ~/.bazaar/plugins/
tar zxf /tmp/bzrtools.tar.gz -C ~/.bazaar/plugins/
"brew patch" now works, but the build fails at the linking stage (stage 5) with
ld: symbol(s) not found for architecture i386
Which is a seperate error, so ill stop the comment here.
Having the same issue also.
Thats a obj file / library not being built for x86_64
change line 284 to "... bzr branch lp:~kicad-lib-committers/kicad/library ..." works for me, Thanks cHemingway.
Have this fix been committed? I still can't build on OS X
Mike
On Dec 30, 2013, at 4:36 AM, bagbell notifications@github.com wrote:
change line 284 to "... bzr branch lp:~kicad-lib-committers/kicad/library ..." works for me, Thanks cHemingway.
— Reply to this email directly or view it on GitHub.
change line 284 to "... bzr branch lp:~kicad-product-committers/kicad/library ..." seems to fix things - at least it gets past this error so far.
I just wanted to use KiCad, not fall down the rabbit hole of Linux BS toolgames and build from the freakin' source. Oh, well, such was not meant to be.
After hunting down and installing the bzr crap:
$ ./build.sh -c 2 -a x86_64 BUILDING RELEASE BINARIES
Starting step: CHECK & UNPACK WXPYTHON (wxPython-src-2.9.4.0)
Starting step: UPDATE KICAD SOURCES
You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". Branched 4535 revisions.
Using saved parent location: http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/ No revisions or tags to pull.
You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". bzr: ERROR: Invalid url supplied to transport: "bzr+ssh://bazaar.launchpad.net/~kicad-lib-committers/kicad/library": no supported schemes build error on UPDATE KICAD SOURCES STEP: 2 $
Lovely. WTF is this sh!t?