From owner-freebsd-elastic@freebsd.org Fri Apr 13 09:10:23 2018 Return-Path: Delivered-To: freebsd-elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D48BF9D1C9 for ; Fri, 13 Apr 2018 09:10:23 +0000 (UTC) (envelope-from news@saz.gr) Received: from mail.doom.gr (doom.gr [46.101.135.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47761833E4 for ; Fri, 13 Apr 2018 09:10:21 +0000 (UTC) (envelope-from news@saz.gr) Received: from laptopidis (unknown [176.92.187.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.doom.gr (Postfix) with ESMTPSA id A5B4329B33D for ; Fri, 13 Apr 2018 09:10:13 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-elastic@freebsd.org Subject: Re: logstash6 build failure with poudriere and local ports tree. References: <1a315572-8a0d-7763-2b86-d208d444e7c3@gmail.com> Date: Fri, 13 Apr 2018 12:10:07 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Fotis Zabaras" Message-ID: In-Reply-To: <1a315572-8a0d-7763-2b86-d208d444e7c3@gmail.com> User-Agent: Opera Mail/1.0 (Win32) X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 09:10:23 -0000 On Fri, 13 Apr 2018 10:11:42 +0300, Johan Hendriks wrote: > I try to update logstash6-6.2.2_3 to 6.2.3 > But it fails with the folowing error: > > root@desk:~ # portmaster -d logstash6 > > ===>>> Currently installed version: logstash6-6.2.2_3 > ===>>> Port directory: /usr/ports/sysutils/logstash6 > > ===>>> Gathering distinfo list for installed ports > > ===>>> Launching 'make checksum' for sysutils/logstash6 in background > ===>>> Gathering dependency list for sysutils/logstash6 from ports > ===>>> Initial dependency check complete for sysutils/logstash6 > > > ===>>> Starting build for sysutils/logstash6 <<<=== > > ===>>> All dependencies are up to date > > ===> Cleaning for logstash6-6.2.3 > ===> License APACHE20 accepted by the user > ===> logstash6-6.2.3 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by logstash6-6.2.3 for building > ===> Extracting for logstash6-6.2.3 > => SHA256 Checksum OK for logstash-6.2.3.tar.gz. > ===> Patching for logstash6-6.2.3 > ===> Applying FreeBSD patches for logstash6-6.2.3 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to Gemfile.rej > => FreeBSD patch patch-Gemfile failed to apply cleanly. > *** Error code 1 > > Stop. > make: stopped in /usr/ports/sysutils/logstash6 > > ===>>> make build failed for sysutils/logstash6 > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command line: > portmaster sysutils/logstash6 > > This command has been saved to /tmp/portmasterfail.txt > > It seems that the files/patch-Gemfile is not needed any more, same goes > for files/patch-Gemfile.lock > After removing both files the port builds file. > > regards > Johan Hendriks > > > _______________________________________________ > freebsd-elastic@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-elastic > To unsubscribe, send any mail to > "freebsd-elastic-unsubscribe@freebsd.org" Hello, It seems on lgostash-6.2.3 elastic updated : gem "atomic", "<= 1.1.99" on Gemfile and DEPENDENCIES atomic (<= 1.1.99) on Gemfile.lock So the patch-Gemfile and patch-Gemfile.lock on /usr/ports/sysutils/logstash6/files fail to patch Gemfile and Gemfile.lock. I removed patch-Gemfile and patch-Gemfile.lock from /usr/ports/sysutils/logstash6/files and it installs correctly. Until Feld remove the patches( we don't need them atm we may need somethign similar on a new version) this is a workaround Fotis