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 97934200C77 for ; Mon, 1 May 2017 08:48:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 961E0160BAE; Mon, 1 May 2017 06:48:54 +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 B7000160BAB for ; Mon, 1 May 2017 08:48:53 +0200 (CEST) Received: (qmail 60508 invoked by uid 500); 1 May 2017 06:48:51 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 60473 invoked by uid 99); 1 May 2017 06:48:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2017 06:48:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3097418097B for ; Mon, 1 May 2017 06:48:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, 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: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tyM3sagD7_FC for ; Mon, 1 May 2017 06:48:49 +0000 (UTC) Received: from mail-pg0-f51.google.com (mail-pg0-f51.google.com [74.125.83.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6950860DC6 for ; Mon, 1 May 2017 06:48:48 +0000 (UTC) Received: by mail-pg0-f51.google.com with SMTP id t7so41931609pgt.3 for ; Sun, 30 Apr 2017 23:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Mhp5qJF7ZJPzj7pNVnwF4RlS+iG01o72UyL8G6ZO6MU=; b=DiC+DYsXshWFRjjrjNA1QvIsAZxvrSYXo88rYnPT0S/oPXiP4zOkoqwPntIglcGXr5 bUESaB35AhBJ5S+opNEP4U6FfL4JtJACUWvMs573ThStU5733uxmUKJsLnnBIVX2UWRP jU9EeSOyspndKYI8DNAb6x5axCfx11BFs5Fd/RAiGMPq1HGJ4/ZwsuHaCzL06+UqoUYU KwiOeu3l0Hw02K1W9cYFzsVBv5TMcnQFvMP9KhU87F7ebkiyUyele0TyOulnJY+qLDNn uHjhb4QtuMLhAJ0p+BBJRH4pBKn6MSfYgDvjXNWPJxn5DDQMboFAaH+Ed1RgXZszmfQ8 FQGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Mhp5qJF7ZJPzj7pNVnwF4RlS+iG01o72UyL8G6ZO6MU=; b=Us4ZrFuJCKIWo28FdwiGw9u/GMOHGypztXiEk0tLWQJBghhwiXaLN8+ecv2Xp+EyBS mw/pE1j0LABTV0YNuiieYqphUsjGorVUqsMQMbydVg/XWW8IJWMpDyXrnfROuLDKBx9I Hw/4eiEs0USi/OKJEr+HCxPOZ8xZ2PrHRIA/NYQWOvxgRyYL4k2VBRQRPZVDzT742Qd6 c3MYCq/fHjdptCSeF/IErgBNgwpC/cYQRI8AxO/AFuqjRGordNjPtEAOg2ceUvnvTgjJ +2DNiELSZDN8BAlUYR6dT3oqzDmWwaMrS+mwBqChzV5vU1cUGj0lWqXKVOYBd4JAxxDH 48Qw== X-Gm-Message-State: AN3rC/68/a5nsFFJyVFO29SKMoLNxm0I6n99IAjfakKfXw6tVvNUlXX0 LW46MrBW4bMc6NU4ofu8Nynv83BVye5u X-Received: by 10.99.55.78 with SMTP id g14mr25406106pgn.191.1493621326769; Sun, 30 Apr 2017 23:48:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.170.194 with HTTP; Sun, 30 Apr 2017 23:48:46 -0700 (PDT) Received: by 10.100.170.194 with HTTP; Sun, 30 Apr 2017 23:48:46 -0700 (PDT) In-Reply-To: References: From: Alexandre Rafalovitch Date: Mon, 1 May 2017 02:48:46 -0400 Message-ID: Subject: Re: Building Solr greater than 6.2.1 To: solr-user Content-Type: multipart/alternative; boundary=94eb2c1a0c629c7665054e70d0e5 archived-at: Mon, 01 May 2017 06:48:54 -0000 --94eb2c1a0c629c7665054e70d0e5 Content-Type: text/plain; charset=UTF-8 Make sure your Java is latest update. Seriously.... Also, if still failing, try blowing away your Ivy cache. Regards, Alex On 1 May 2017 6:34 AM, "Ryan Yacyshyn" wrote: > Hi all, > > I'm trying to build Solr 6.5.1 but it's is failing. I'm able to > successfully build 6.2.1. I've tried 6.4.0, 6.4.2, and 6.5.1 but the build > fails. I'm not sure what the issue could be. I'm running `ant server` in > the solr dir and this is where it fails: > > ivy-configure: > [ivy:configure] :: loading settings :: file = > /Users/rye/lucene-solr2/lucene/top-level-ivy-settings.xml > > resolve: > > common.init: > > compile-lucene-core: > > init: > > -clover.disable: > > -clover.load: > > -clover.classpath: > > -clover.setup: > > clover: > > compile-core: > > -clover.disable: > > -clover.load: > > -clover.classpath: > > -clover.setup: > > clover: > > common.compile-core: > [mkdir] Created dir: > /Users/rye/lucene-solr2/lucene/build/test-framework/classes/java > [javac] Compiling 186 source files to > /Users/rye/lucene-solr2/lucene/build/test-framework/classes/java > [javac] > /Users/rye/lucene-solr2/lucene/test-framework/src/ > java/org/apache/lucene/util/RamUsageTester.java:164: > error: no suitable method found for > collect(Collector>) > [javac] .collect(Collectors.toList()); > [javac] ^ > [javac] method Stream.collect(Supplier,BiConsumer super CAP#2>,BiConsumer) is not applicable > [javac] (cannot infer type-variable(s) R#1 > [javac] (actual and formal argument lists differ in length)) > [javac] method Stream.collect(Collector CAP#2,A,R#2>) is not applicable > [javac] (cannot infer type-variable(s) R#2,A,CAP#3,T#2 > [javac] (argument mismatch; Collector> > cannot be converted to Collector>)) > [javac] where R#1,T#1,R#2,A,T#2 are type-variables: > [javac] R#1 extends Object declared in method > collect(Supplier,BiConsumer T#1>,BiConsumer) > [javac] T#1 extends Object declared in interface Stream > [javac] R#2 extends Object declared in method > collect(Collector) > [javac] A extends Object declared in method > collect(Collector) > [javac] T#2 extends Object declared in method toList() > [javac] where CAP#1,CAP#2,CAP#3,CAP#4 are fresh type-variables: > [javac] CAP#1 extends Object from capture of ? > [javac] CAP#2 extends Object from capture of ? > [javac] CAP#3 extends Object from capture of ? > [javac] CAP#4 extends Object from capture of ? > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 1 error > > BUILD FAILED > /Users/rye/lucene-solr2/solr/build.xml:463: The following error occurred > while executing this line: > /Users/rye/lucene-solr2/solr/common-build.xml:476: The following error > occurred while executing this line: > /Users/rye/lucene-solr2/solr/contrib/map-reduce/build.xml:53: The > following > error occurred while executing this line: > /Users/rye/lucene-solr2/solr/contrib/morphlines-cell/build.xml:45: The > following error occurred while executing this line: > /Users/rye/lucene-solr2/solr/common-build.xml:443: The following error > occurred while executing this line: > /Users/rye/lucene-solr2/solr/test-framework/build.xml:35: The following > error occurred while executing this line: > /Users/rye/lucene-solr2/lucene/common-build.xml:767: The following error > occurred while executing this line: > /Users/rye/lucene-solr2/lucene/common-build.xml:501: The following error > occurred while executing this line: > /Users/rye/lucene-solr2/lucene/common-build.xml:1967: Compile failed; see > the compiler error output for details. > > Total time: 2 minutes 28 seconds > > Java version: > > java version "1.8.0_25" > Java(TM) SE Runtime Environment (build 1.8.0_25-b17) > Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) > > ant: Apache Ant(TM) version 1.10.0 compiled on December 27 2016 > ivy: ivy-2.3.0.jar > > Any suggestions I can try? > > Regards, > Ryan > --94eb2c1a0c629c7665054e70d0e5--