Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55E98200BA6 for ; Tue, 4 Oct 2016 03:59:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 546DD160AE5; Tue, 4 Oct 2016 01:59:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8F1EF160ADC for ; Tue, 4 Oct 2016 03:59:28 +0200 (CEST) Received: (qmail 27519 invoked by uid 500); 4 Oct 2016 01:59:27 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 27507 invoked by uid 99); 4 Oct 2016 01:59:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 01:59:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F2B75C0DDD for ; Tue, 4 Oct 2016 01:59:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.88 X-Spam-Level: * X-Spam-Status: No, score=1.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EjU2Vvau15hh for ; Tue, 4 Oct 2016 01:59:24 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7449E5F29C for ; Tue, 4 Oct 2016 01:59:24 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id f193so139690050wmg.0 for ; Mon, 03 Oct 2016 18:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=X0wT3lnlwddr+5y49GusCMsJEBplDohJNuizhERY5Hc=; b=wgS5sZkksRmWoZEXxqfOFMVvPQPs5dr/KL5/sYLeI/lNlibymb5ikOCUItl4/NxPVY Py7li52+keb89/fkE42vNSsJ2Kz/9ekySHbySQ7bQ6qygGL2OnvKSmrpQthZWIDbB/Or rzFZ4I+CHK5MCEdwZb+CAKLiCrkU9ieOG4e/nLSld7oRrkYnL1QBvZE+be/1NukQKF++ rCf1an2azhndZ7gtBLgljeXcHjoy17ptQ9Ps2RpahYgiU8zoN0QKMxsSfy1Ezn/vSQp3 v1+pvJ72d2YAOqUkGcuwR67nH+kzfeNQrgbnkbxt2W9lAfI76ZngfrexIGaITcaRlJCj H1AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=X0wT3lnlwddr+5y49GusCMsJEBplDohJNuizhERY5Hc=; b=FtzUCUD9yJ7namHTJPIzSOt5EapQBrh+gItE7W0byGdjW+VsiEZldUM5OwHrgs9mKJ nLlgqdIrCcaHCzc92b/RH8EJR0haRD7dMaAapQE61V0dTxx/dh7yNbu2ShExRGKYJtNZ flpNRw9/2tNGEX6RPiT5Txji6+JQQgS9BzGUF0pcnwTFqUDqcm5/5X6F73YSAGFXRA1I oPXAnpLjZFaMg3nZpqewB3ey2qDTgfA2Pu/7Hk2UxYjLdPX81bNWap7j75gi5zHzXpic oXtjb/WqxQnTYIDQLWJ9LHC52FcH5v8XVd/H0PDzYfUraUnk+nRARpup//NGlMXs7IeH nDAA== X-Gm-Message-State: AA6/9Rk50qoFmmgIgS2n+gdr/XK9uKi1KInjloGxivmqqcFOBOEcJxPefipGT61lWMoVi6N7sUou1K8qZBrGTA== X-Received: by 10.28.32.146 with SMTP id g140mr1134488wmg.116.1475546363356; Mon, 03 Oct 2016 18:59:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.167.129 with HTTP; Mon, 3 Oct 2016 18:58:52 -0700 (PDT) In-Reply-To: References: From: Sergiy Matusevych Date: Mon, 3 Oct 2016 18:58:52 -0700 Message-ID: Subject: Re: REEFJava build fails on Windows? To: dev@reef.apache.org Content-Type: multipart/alternative; boundary=001a113d7d9cd66bc1053e0068b1 archived-at: Tue, 04 Oct 2016 01:59:29 -0000 --001a113d7d9cd66bc1053e0068b1 Content-Type: text/plain; charset=UTF-8 Hi guys, I think I've figured out what's going on. protoc chokes on Windows-style paths. I've just ran mvn -X, and the command it executes on my PC is: cd C:\Users\sergiym.REDMOND\devel\reef\lang\java\reef-wake\wake protoc --proto_path=C:\Users\sergiym.REDMOND\devel\reef\lang\java\ reef-wake\wake/../../../../lang/common/proto --java_out=target/generated-sources/proto C:\Users\sergiym.REDMOND\devel\reef\lang\java\reef- wake\wake/../../../../lang/common/proto/RemoteProtocol.proto and it fails. When I replace the path with unix-style relative path, everything works, i.e. protoc --proto_path=../../../common/proto --java_out=target/generated-sources/proto ../../../common/proto/RemoteProtocol.proto For now, I will just compile the proto files by hand, but I guess eventually we will need to fix the pom.xml Thanks for your help! Sergiy. On Mon, Oct 3, 2016 at 5:49 PM, Mariia Mykhailova wrote: > Interesting, I did get some failures after syncing to this commit, but for > me it was sufficient to do a regular .NET clean for everything to start > working again. > > function Clean-REEF-NET{ > Invoke-Expression 'msbuild $REEFSourcePath\lang\cs\Org.Apache.REEF.sln > /p:Configuration="Debug" /p:Platform="x64" /t:Clean /m /nr:false' > Get-ChildItem -Path $REEFSourcePath\lang\cs\ -Recurse -Filter obj > | Remove-Item -Recurse > Get-ChildItem -Path $REEFSourcePath\lang\cs\ -Recurse -Filter bin > | Remove-Item -Recurse > Get-ChildItem -Path $REEFSourcePath\lang\cs\ -Recurse -Filter target > | Remove-Item -Recurse > Get-ChildItem -Path $REEFSourcePath\lang\cs\ -Recurse -Filter > REEF_LOCAL_RUNTIME | Remove-Item -Recurse > Get-ChildItem -Path $REEFSourcePath\lang\cs\ -Recurse -Filter > TestResults | Remove-Item -Recurse > } > > -Mariia > > -----Original Message----- > From: Douglas Service [mailto:dsopsrc@gmail.com] > Sent: Monday, October 3, 2016 5:44 PM > To: dev@reef.apache.org > Subject: Re: REEFJava build fails on Windows? > > I just synced to Apache reef master and it builds. Your problem is > probably from the commit below. I put a warning in the commit message since > I had a very similar problem where I was getting test errors. To fix the > problem, I ended up pushing all of my branches to github deleting my > enlistment and then cloning my copy of REEF on github. You could probably > also do a clean, roll back to the commit just before this one, do a clean, > and then pull the latestest. I verified the problem only occurs if you do > not do a clean in Visual Studio and Maven before syncing to the commit. > There was some discussion on the dev list, but we probably need a better > way to let every know about these kinds of issues. > > Doug > > [REEF-1611] Move Java .proto files to common directory > > This change moves the Java .proto files to lang/common/proto so the C# > side can use the same proto files. > > WARNING: Before pulling this change you should clean both the Java and C# > builds; otherwise, you will have artifacts this version cannot remove that > cause test failures on the C# side. > > JIRA: > [REEF-1611](https://na01.safelinks.protection.outlook.com/? > url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FREEF- > 1611&data=01%7C01%7Cmamykhai%40microsoft.com%7Cd3ccbd889860 > 4b4fc16c08d3ebef9bd0%7C72f988bf86f141af91ab2d7cd011db47%7C1& > sdata=%2B93eDf2dKPIbgXr%2FVLPmBqFUNm65EFxpMPcNMde2tsI%3D&reserved=0) > > Pull Request: > This closes #1142 tion.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache% > 2Freef%2Fpull%2F1142&data=01%7C01%7Cmamykhai%40microsoft. > com%7Cd3ccbd8898604b4fc16c08d3ebef9bd0%7C72f988bf86f141af91a > b2d7cd011db47%7C1&sdata=HpdqNGdwXs%2F9gR%2BBx%2FOXhlGQi%2FZRTFGnGCCs% > 2BKgn8MA%3D&reserved=0> > > > On Mon, Oct 3, 2016 at 5:22 PM, Sergiy Matusevych < > sergiy.matusevych@gmail.com> wrote: > > > Hi REEF devs, > > > > Can someone try to build current master from scratch? I am getting the > > following error: > > > > [exec] > > C:\Users\sergiym.REDMOND\devel\reef\lang\java\reef- > > wake\wake/../../../../lang/common/proto/RemoteProtocol.proto: > > File does not reside within any path specified using --proto_path (or > -I). > > You must specify a --proto_path which encompasses this file. Note > > that the proto_path must be an exact prefix of the .proto file names > > -- protoc is too dumb to figure out when two paths (e.g. absolute and > > relative) are equivalent (it's harder than you think). > > > > and eventually it complains that java files that should be generated > > from proto are not there. :( > > > > I've removed ~/.m2 and cloned the whole repo anew but I am still > > getting this error. Am I the only one getting this error? Any ideas on > > how to fix it? > > > > Thanks, > > Sergiy. > > > --001a113d7d9cd66bc1053e0068b1--