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

Step 2 fails for pull kicad/library - Not a branch #21

Open
ravelox opened this issue Dec 4, 2013 · 9 comments
Open

Step 2 fails for pull kicad/library - Not a branch #21

ravelox opened this issue Dec 4, 2013 · 9 comments

Comments

@ravelox
Copy link

ravelox commented Dec 4, 2013

Line 284 is:

test -d $SOURCE_DIRECTORY/$LIBRARY_DIRECTORY || (cd $SOURCE_DIRECTORY; bzr branch lp:~kicad-lib-committers/kicad/library ; cd ..) || exit_on_build_error

It fails with the following:


Starting step: UPDATE KICAD SOURCES


Branched 4520 revisions.
Using saved parent location: bzr+ssh://bazaar.launchpad.net/+branch/kicad/
No revisions or tags to pull.
bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~kicad-lib-committers/kicad/library/".
build error on UPDATE KICAD SOURCES STEP: 2

@ravelox
Copy link
Author

ravelox commented Dec 4, 2013

Sorry, should have added:

I'm using 10.9 with macports

@ghost
Copy link

ghost commented Dec 7, 2013

Hello,
I also have this issue, I am trying to understand if I can use another URL from launchpad ..
Any ideas? Thank you

@sylvaindc
Copy link

Hi all,

I'm running into the same issue when trying to compile under Mavericks. I tried the http version of the URL: http://bazaar.launchpad.net/~kicad-lib-committers/kicad/library/ which resulted in a "not found" error.
http://bazaar.launchpad.net/~kicad-lib-committers has the same "not found" error
but
http://launchpad.net/~kicad-lib-committers does exist. However, no kicad/library exist here.
Searching for kicad and library in launchpad.net yields lots of stuff referring to *.launchpad.net/~kicad-lib-committers/kicad/library/. My guess is that there is something broken in launchpad.net/~kicad-lib-committers. I've dropped an email to the “kicad-lib-committers” team.

@sylvaindc
Copy link

Solved: The repository got moved to a read-only location. If you apply these changes to the script, it will work again:

13c13

< LIBRARY_DIRECTORY=library

LIBRARY_DIRECTORY=library-read-only
284c284

< 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; bzr branch lp:~dickelbeck/kicad/library-read-only ; cd ..) || exit_on_build_error

@ravelox
Copy link
Author

ravelox commented Dec 7, 2013

I read about this on launchpad but I understood that this is a temporary location.

@ghost
Copy link

ghost commented Dec 7, 2013

the solution you proposed works but that is not yet official library repository, could be possible also that the previous URL was not the official release neither. Anyway thank you I am using your fix until next release.

@sylvaindc
Copy link

Lets hope it wasn’t the official location, that should not change right?

Anyway, please let me know when you do then I’ll remove my forked fix.

hmmm, running into another issue though… apparently I don’t have cmake…, nor GLEW, nor SWIG.
Perhaps you could add and option to the script to install these

But now I seem to be running into an other issue:
[ 34%] adding pristine boost files to 'boost scratch repo'
bzr: ERROR: Unable to import library "subvertpy": bzr-svn: Unable to load subvertpy extensions: dlopen(/Library/Python/2.6/site-packages/subvertpy/client.so, 2): Library not loaded: /usr/lib/libsvn_client-1.0.dylib
Referenced from: /Library/Python/2.6/site-packages/subvertpy/client.so
Reason: image not found
make[2]: *** [/Users/sylvain/Downloads/KicadOSXBuilder-master/src/kicad/.downloads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_add_boost] Error 3
make[1]: *** [CMakeFiles/boost.dir/all] Error 2
make: *** [all] Error 2

Any idea?

On Dec 7, 2013, at 11:01 AM, fabiodive notifications@github.com wrote:

the solution you proposed works but that is not yet official library repository, could be possible also that the previous URL was not the official release neither. Anyway thank you I am using your fix until next release.


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Dec 7, 2013

I am sorry I already passed that step without issues actually I am at 35% of cmake.
I saw this if it could help:
https://answers.launchpad.net/bzr/+question/221169

@hryamzik
Copy link

Changing line 284 to

test -d $SOURCE_DIRECTORY/$LIBRARY_DIRECTORY || (cd $SOURCE_DIRECTORY; bzr branch lp:~dickelbeck/kicad/library-read-only/ ; cd ..) || exit_on_build_error

Doesn't seem to work any more:

Using saved parent location: bzr+ssh://bazaar.launchpad.net/+branch/kicad/
No revisions or tags to pull.                                                                                                                                                                                                                                             
Branched 299 revisions.                                                                                                                                                                                                                                                   
build error on GET KICAD SOURCES  STEP: 2

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

3 participants