Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2018 12:10:07 +0300
From:      "Fotis Zabaras" <news@saz.gr>
To:        freebsd-elastic@freebsd.org
Subject:   Re: logstash6 build failure with poudriere and local ports tree.
Message-ID:  <op.zhejrajfpvh08s@laptopidis>
In-Reply-To: <1a315572-8a0d-7763-2b86-d208d444e7c3@gmail.com>
References:  <1a315572-8a0d-7763-2b86-d208d444e7c3@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Apr 2018 10:11:42 +0300, Johan Hendriks  
<joh.hendriks@gmail.com> 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 <flags> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.zhejrajfpvh08s>