logstash6 build failure with poudriere and local ports tree.
Fotis Zabaras
news at saz.gr
Fri Apr 13 09:10:23 UTC 2018
On Fri, 13 Apr 2018 10:11:42 +0300, Johan Hendriks
<joh.hendriks at gmail.com> wrote:
> I try to update logstash6-6.2.2_3 to 6.2.3
> But it fails with the folowing error:
>
> root at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-elastic
> To unsubscribe, send any mail to
> "freebsd-elastic-unsubscribe at 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
More information about the freebsd-elastic
mailing list