KiCad / KicadOSXBuilder

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

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

Open ravelox opened 10 years ago

ravelox commented 10 years ago

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 commented 10 years ago

Sorry, should have added:

I'm using 10.9 with macports

ghost commented 10 years ago

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

sylvaindc commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

ghost commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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