I fixed it for my machine. Hopefully Jenkins will be happy too. From: Gabe Harbs<mailto:[email protected]> Sent: Monday, February 12, 2018 5:18 PM To: [email protected]<mailto:[email protected]> Subject: Re: Build failed in Jenkins: royale-typedefs #139
Does anyone understand the patch file syntax enough to guess what’s wrong? > On Feb 12, 2018, at 5:15 PM, Yishay Weiss <[email protected]> wrote: > > I have the same result with ant on my machine. It’s probably a windows/mac > thing. > > From: Piotr Zarzycki<mailto:[email protected]> > Sent: Monday, February 12, 2018 3:13 PM > To: [email protected]<mailto:[email protected]> > Subject: Re: Build failed in Jenkins: royale-typedefs #139 > > Locally I have same result. I tried couple of things but nothing help. I > see that it is being applied by following command: > > [DEBUG] Executing command line: [C:\Program Files\Git\cmd\git.exe, apply, > --ignore-whitespace, --whitespace=nowarn, > D:\Work\royale-sources\royale-typedefs\js/src/main/patch/js.patch] > error: corrupt patch at line 64 > > Thanks, Piotr > > > 2018-02-12 13:47 GMT+01:00 Gabe Harbs <[email protected]>: > >> Thanks. >> >>> On Feb 12, 2018, at 2:43 PM, Piotr Zarzycki <[email protected]> >> wrote: >>> >>> Let me build typedefs locally by Maven will see. >>> >>> 2018-02-12 13:36 GMT+01:00 Gabe Harbs <[email protected]>: >>> >>>> I have no idea why this failed. The patch applied on my machine and line >>>> 64 is an empty line. >>>> >>>> Maybe it’s a Windows line ending problem? >>>> >>>> Thoughts? >>>> Harbs >>>> >>>>> On Feb 12, 2018, at 2:12 PM, [email protected] wrote: >>>>> >>>>> See <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/139/display/redirect> >>>>> >>>>> ------------------------------------------ >>>>> Started by upstream project "royale-compiler" build number 89 >>>>> originally caused by: >>>>> Started by timer >>>>> Building in workspace <http://apacheroyaleci. >> westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/> >>>>>> git.exe rev-parse --is-inside-work-tree # timeout=10 >>>>> Fetching changes from the remote Git repository >>>>>> git.exe config remote.origin.url https://github.com/apache/ >>>> royale-typedefs.git # timeout=10 >>>>> Fetching upstream changes from https://github.com/apache/ >>>> royale-typedefs.git >>>>>> git.exe --version # timeout=10 >>>>>> git.exe fetch --tags --progress https://github.com/apache/ >>>> royale-typedefs.git +refs/heads/*:refs/remotes/origin/* >>>>>> git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10 >>>>>> git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # >>>> timeout=10 >>>>> Checking out Revision b50b80fa675d06c5b8e9145b1b3f2e54784f25a8 >>>> (refs/remotes/origin/develop) >>>>>> git.exe config core.sparsecheckout # timeout=10 >>>>>> git.exe checkout -f b50b80fa675d06c5b8e9145b1b3f2e54784f25a8 >>>>> Commit message: "Added overflowX and overflowY" >>>>>> git.exe rev-list --no-walk b50b80fa675d06c5b8e9145b1b3f2e54784f25a8 # >>>> timeout=10 >>>>> [royale-typedefs] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat >>>> main && exit %%ERRORLEVEL%%" >>>>> Buildfile: <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/build.xml> >>>>> >>>>> main: >>>>> >>>>> download: >>>>> [echo] <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/js/..> >>>>> [unjar] Expanding: C:\Program Files (x86)\Jenkins\workspace\ >>>> royale-compiler\compiler-jx\lib\google\closure-compiler\compiler.jar >> into >>>> <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/js/target/temp/externs> >>>>> [unzip] Expanding: <http://apacheroyaleci.westus2.cloudapp.azure.com >> : >>>> 8080/job/royale-typedefs/ws/js/target/temp/externs/externs.zip> into < >>>> http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/js/target/downloads> >>>>> [get] Getting: https://storage.googleapis.com/google-code-archive- >>>> downloads/v2/code.google.com/closureidl/svg.js >>>>> [get] To: <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/js/target/downloads/svg.js> >>>>> >>>>> double-check-file: >>>>> [echo] ${env.ROYALE_DOWNLOAD_CACHE} >>>>> [echo] Need file: ${still_no_file} >>>>> >>>>> get-from-cache-if-needed: >>>>> >>>>> fail-if-not-found: >>>>> >>>>> preprocess: >>>>> [exec] error: corrupt patch at line 64 >>>>> >>>>> BUILD FAILED >>>>> <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/build.xml>:52: The following error occurred >>>> while executing this line: >>>>> <http://apacheroyaleci.westus2.cloudapp.azure.com: >>>> 8080/job/royale-typedefs/ws/js/build.xml>:149: exec returned: 128 >>>>> >>>>> Total time: 2 seconds >>>>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 >>>>> Build step 'Invoke Ant' marked build as failure >>>> >>>> >>> >>> >>> -- >>> >>> Piotr Zarzycki >>> >>> Patreon: *https://www.patreon.com/piotrzarzycki >>> <https://www.patreon.com/piotrzarzycki>* >> >> > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* >
