Closed nickoe closed 6 years ago
There is a script already meant for ci (ci/src/build.sh) that should clear out the workspace and rebuild. It would be nice if that script overrode the number of jobs for the second build so that it only built with -j1.
I will take a look at both of these things. I am working on the stable switch to build.sh right now, but I will look at the output while this build is going on.
It looks like it is the 3dpackages that fails.
00:00:24.969 fatal: could not create work tree dir '': No such file or directory
00:00:24.986 fatal: could not create work tree dir '': No such file or directory
00:00:25.027 fatal: could not create work tree dir '': No such file or directory
00:00:25.032 -- Had to git clone more than once:
00:00:25.032 3 times.
00:00:25.038 CMake Error at /Volumes/SSD/workspace/osx-kicad-adam-new-head/build/packages3d/tmp/packages3d-gitclone.cmake:56 (message):
00:00:25.038 Failed to clone repository: 'https://github.com/KiCad/kicad-packages3D.git'
00:00:25.038
00:00:25.038
00:00:25.038 make[3]: *** [packages3d/src/packages3d-stamp/packages3d-download] Error 1
00:00:25.042 make[2]: *** [CMakeFiles/packages3d.dir/all] Error 2
00:00:25.043 make[2]: *** Waiting for unfinished jobs....
That looks to me like it can't download packages3d. I am almost finished with the single-core-rebuilder.
On Mon, Jun 25, 2018 at 4:41 PM nickoe notifications@github.com wrote:
It looks like it is ngspice that fails.
00:00:24.969 fatal: could not create work tree dir '': No such file or directory 00:00:24.986 fatal: could not create work tree dir '': No such file or directory 00:00:25.027 fatal: could not create work tree dir '': No such file or directory 00:00:25.032 -- Had to git clone more than once: 00:00:25.032 3 times. 00:00:25.038 CMake Error at /Volumes/SSD/workspace/osx-kicad-adam-new-head/build/packages3d/tmp/packages3d-gitclone.cmake:56 (message): 00:00:25.038 Failed to clone repository: 'https://github.com/KiCad/kicad-packages3D.git' 00:00:25.038 00:00:25.038 00:00:25.038 make[3]: [packages3d/src/packages3d-stamp/packages3d-download] Error 1 00:00:25.042 make[2]: [CMakeFiles/packages3d.dir/all] Error 2 00:00:25.043 make[2]: *** Waiting for unfinished jobs....
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wayneandlayne/kicad-mac-builder/issues/157#issuecomment-400105189, or mute the thread https://github.com/notifications/unsubscribe-auth/AACLYa4uh_MecPs37wkjqwtPNIxwOZ7Cks5uAVkkgaJpZM4U2vSn .
But it does not explain the could not create work tree dir thing.
Also, I assume it caches the kicad-packages3D such that we don't need to make a clean clone everytime.
I thought you said you cleaned the workspace. If so, it won't have a cache. On Mon, Jun 25, 2018 at 4:44 PM nickoe notifications@github.com wrote:
But it does not explain the could not create work tree dir thing.
Also, I assume it caches the kicad-packages3D such that we don't need to make a clean clone everytime.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Anyway, my four builds today all built fine, both with clean workspace and without, on 10.11 and 10.12, and my dev laptop is on 10.13 and has been building fine too.
I will look into it, but even if it was a transient network error that cleaned itself up, it looks like clearing the workspace in Jenkins can cause problems like this! https://issues.jenkins-ci.org/browse/JENKINS-16033
I know what it is. The git on that build machine doesn't support whatever cmake is doing for GIT_PROGRESS.
I turned that on this weekend.
I will turn it off tonight.
After V5 comes out, let's look at upgrading git and cmake on that machine.
On Mon, Jun 25, 2018, 4:45 PM Adam Wolf adamwolf@feelslikeburning.com wrote:
I thought you said you cleaned the workspace. If so, it won't have a cache. On Mon, Jun 25, 2018 at 4:44 PM nickoe notifications@github.com wrote:
But it does not explain the could not create work tree dir thing.
Also, I assume it caches the kicad-packages3D such that we don't need to make a clean clone everytime.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Pushed a fix to master. Let's see it works.
Ok, I guess it was the GIT_PROGRESS thing, it works now.
Awesome!
On Tue, Jun 26, 2018 at 3:12 AM nickoe notifications@github.com wrote:
Ok, I guess it was the GIT_PROGRESS thing, it works now.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wayneandlayne/kicad-mac-builder/issues/157#issuecomment-400220357, or mute the thread https://github.com/notifications/unsubscribe-auth/AACLYTPcfi1EQS8cRB2ZoP0trk2wrEWKks5uAezigaJpZM4U2vSn .
I see this build error from http://ci.kicad-pcb.org/job/osx-kicad-adam-new-head/221/consoleFull
I tried to clean the worksapce and try again to see if it was something transient in the build scripts. It sitll failed with various errors:
I don't understand this one:
00:00:24.691 fatal: could not create work tree dir '': No such file or directory
Please look in the log for details. Is there a switch to not make the build targets parallel for debugging?