Gerrit master fails to build with jgit error

28 views
Skip to first unread message

Khai Do

unread,
Nov 22, 2016, 2:55:49 PM11/22/16
to Repo and Gerrit Discussion
Hello All.  I am getting an error when building a fresh clone of gerrit.

git bisect deduced to this change that caused the problem..

b3fdbcf78d0a4a09cc9739c22c8c2035189606b3 is the first bad commit
commit b3fdbcf78d0a4a09cc9739c22c8c2035189606b3
Author: Shawn Pearce <s...@google.com>
Date:   Mon Nov 21 13:22:41 2016 -0800

    Update JGit to 4.5.0.201609210915-r.115-g81f9c1843
    
    Adds support for MonotonicClock, which Gerrit can use
    inside of ReviewDb and NoteDb to maintain timestamps.
    
    Change-Id: Ic7c646b32644c1d1b1e93eeb50a3bf153e85d3c3


I was wondering if anybody knows what's going on and whether we may want to revert?


The error I get is..

Failed when trying to copy: cp /home/zaro0508/temp/gerrit/buck-out/gen/lib/jgit/org.eclipse.jgit/jgit__download_src/jgit/org.eclipse.jgit-4.5.0.201609210915-r.115-g81f9c1843-src.jar buck-out/gen/lib/jgit/org.eclipse.jgit/jgit/jgit#gwt_module-gwt.jar
java.nio.file.NoSuchFileException: /home/zaro0508/temp/gerrit/buck-out/gen/lib/jgit/org.eclipse.jgit/jgit__download_src/jgit/org.eclipse.jgit-4.5.0.201609210915-r.115-g81f9c1843-src.jar
java.nio.file.NoSuchFileException: /home/zaro0508/temp/gerrit/buck-out/gen/lib/jgit/org.eclipse.jgit/jgit__download_src/jgit/org.eclipse.jgit-4.5.0.201609210915-r.115-g81f9c1843-src.jar
        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
        at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:526)
        at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
        at java.nio.file.Files.copy(Files.java:1274)
        at com.facebook.buck.io.ProjectFilesystem.copy(ProjectFilesystem.java:929)
        at com.facebook.buck.step.fs.CopyStep.execute(CopyStep.java:157)
        at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:57)
        at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1281)
        at com.facebook.buck.rules.CachingBuildEngine.lambda$10(CachingBuildEngine.java:338)
        at com.facebook.buck.util.concurrent.WeightedListeningExecutorService.lambda$0(WeightedListeningExecutorService.java:77)
        at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442)
        at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433)
        at com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408)
        at com.google.common.util.concurrent.Futures$2$1.run(Futures.java:1177)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

BUILD FAILED: //lib/jgit/org.eclipse.jgit:jgit#gwt_module failed with exit code 1:
cp
[-] PROCESSING BUCK FILES...FINISHED 4.1s [100%] 🐳  New buck daemon
[-] DOWNLOADING... (0.00 B/S AVG, TOTAL: 0.00 B, 0 Artifacts)
[-] BUILDING...FINISHED 2.3s [100%] (340/388 JOBS, 2 UPDATED, 2 [0.5%] CACHE MISS)


David Ostrovsky

unread,
Nov 22, 2016, 3:09:30 PM11/22/16
to Repo and Gerrit Discussion

On Tuesday, November 22, 2016 at 8:55:49 PM UTC+1, Khai Do wrote:
Hello All.  I am getting an error when building a fresh clone of gerrit.

Works here. Try `buck build --deep gerrit`.

Zaro

unread,
Nov 22, 2016, 6:44:04 PM11/22/16
to David Ostrovsky, Repo and Gerrit Discussion
Yeah, that works. thanks! I guess we should let people know about
that, https://gerrit-review.googlesource.com/92031
> --
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to repo-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages