Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

Another Mac OS X build problem wi/bzr #24

Open
DavidLit opened this issue Dec 8, 2013 · 7 comments
Open

Another Mac OS X build problem wi/bzr #24

DavidLit opened this issue Dec 8, 2013 · 7 comments

Comments

@DavidLit
Copy link

DavidLit commented Dec 8, 2013

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?

@JamesDonald
Copy link

I have the same problem. Any solutions?

@cHemingway
Copy link

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.

@pxlvzn
Copy link

pxlvzn commented Dec 20, 2013

Having the same issue also.

@guymadison
Copy link

Thats a obj file / library not being built for x86_64

@bagbell
Copy link

bagbell commented Dec 30, 2013

change line 284 to "... bzr branch lp:~kicad-lib-committers/kicad/library ..." works for me, Thanks cHemingway.

@guymadison
Copy link

Have this fix been committed? I still can't build on OS X

Mike

On Dec 30, 2013, at 4:36 AM, bagbell [email protected] 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.

@piecomco
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants