Bug 236243 - textporoc/kibana6 upgrade to 6.5.4
Summary: textporoc/kibana6 upgrade to 6.5.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Koichiro Iwao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 08:32 UTC by gettoknowmi
Modified: 2019-04-29 23:00 UTC (History)
3 users (show)

See Also:


Attachments
svndi_kibana6 (908 bytes, patch)
2019-03-05 20:36 UTC, gettoknowmi
no flags Details | Diff
update to 6.5.4, update RUN_DEPENDS in node8, and fixed patch file. (1.82 KB, patch)
2019-03-11 00:51 UTC, Yuta MASUMOTO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gettoknowmi 2019-03-05 08:32:36 UTC
ndex: Makefile
===================================================================
--- Makefile	(revision 494187)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$

 PORTNAME=	kibana
-PORTVERSION=	6.4.2
+PORTVERSION=	6.5.4
 DISTVERSIONSUFFIX=	-linux-x86_64
 PORTREVISION=	0
 CATEGORIES=	textproc www
Index: distinfo
===================================================================
--- distinfo	(revision 494187)
+++ distinfo	(working copy)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541260848
-SHA256 (kibana-6.4.2-linux-x86_64.tar.gz) = f3a69709171ea8e28da754578ec519f33c423d3e3cbed6e81381f14cb8517383
-SIZE (kibana-6.4.2-linux-x86_64.tar.gz) = 188077286
+TIMESTAMP = 1548195115
+SHA256 (kibana-6.5.4-linux-x86_64.tar.gz) = 7a511725bb43f136037c3ca12b2a379497745f81f6af9b75486f7f5f3a3a9653
+SIZE (kibana-6.5.4-linux-x86_64.tar.gz) = 206631363

Also deleted files/patch-config_kibana.yml
Comment 1 gettoknowmi 2019-03-05 20:36:36 UTC
Created attachment 202616 [details]
svndi_kibana6
Comment 2 Yuta MASUMOTO 2019-03-11 00:51:06 UTC
Created attachment 202787 [details]
update to 6.5.4, update RUN_DEPENDS in node8, and fixed patch file.

I tried build w/poudriere, but its failed because patching is failed.
so I fixed, and update RUN_DEPENDS in node8 (from 8.11.3 to 8.15.1) at the same time.

after, build seems to passed, but staging is failed in pkg-plist.
I am not familiar to pkg-plist, please check (and fix) it.


=======================<phase: stage          >============================
===>  Staging for kibana6-6.5.4
===>   kibana6-6.5.4 depends on package: node8>=8.15.1 - found
===>   Generating temporary packing list
/bin/mkdir -p /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/www/kibana6 /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/etc/kibana
install  -m 0644 /wrkdirs/usr/ports/textproc/kibana6/work/kibana-6.5.4-linux-x86_64/config/kibana.yml /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/etc/kibana/kibana.yml.sample
(cd /wrkdirs/usr/ports/textproc/kibana6/work/kibana-6.5.4-linux-x86_64 &&  /bin/rm -f -r config node optimize &&  /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/www/kibana6)
install -lrs /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/etc/kibana /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/www/kibana6/config
/bin/chmod +x /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/www/kibana6/bin/*
echo "@sample /usr/local/etc/kibana/kibana.yml.sample" >> /wrkdirs/usr/ports/textproc/kibana6/work/.PLIST.mktmp
/usr/bin/find -s /wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/www/kibana6 -not -type d | /usr/bin/sort |  /usr/bin/sed -e 's#^/wrkdirs/usr/ports/textproc/kibana6/work/stage/usr/local/##' >> /wrkdirs/usr/ports/textproc/kibana6/work/.PLIST.mktmp
echo "@dir(www,www) /usr/local/www/kibana6/data" >> /wrkdirs/usr/ports/textproc/kibana6/work/.PLIST.mktmp
echo "@dir /usr/local/www/kibana6/plugins" >> /wrkdirs/usr/ports/textproc/kibana6/work/.PLIST.mktmp
echo "@dir /usr/local/www/kibana6/src/ui/public/factories" >> /wrkdirs/usr/ports/textproc/kibana6/work/.PLIST.mktmp
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%WWWDIR%%/src/core/public/injected_metadata/__fixtures__/frozen_object_mutation
Error: Orphaned: @dir %%WWWDIR%%/src/server/http/integration_tests
Error: Orphaned: @dir %%WWWDIR%%/src/type_definitions
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/kibana6
=>> Error: check-plist failures detected
build of textproc/kibana6 | kibana6-6.5.4 ended at Mon Mar 11 09:31:55 JST 2019
build time: 00:03:54
!!! build failure encountered !!!
[00:04:11] Error: Build failed in phase: check-plist
[00:04:11] Cleaning up
[00:04:11] Unmounting file systems
Comment 3 Yuta MASUMOTO 2019-03-11 01:00:25 UTC
and category is not sysutils but textproc ?

maybe related: bug #236242
Comment 4 Koichiro Iwao freebsd_committer freebsd_triage 2019-03-11 02:47:49 UTC
(In reply to Yuta MASUMOTO from comment #2)
The original patch has plist issue but patch looks fine.
Comment 5 Yuta MASUMOTO 2019-03-11 02:52:54 UTC
comment #1

> Also deleted files/patch-config_kibana.yml
sorry, I missed it ...
Comment 6 commit-hook freebsd_committer freebsd_triage 2019-03-11 05:44:18 UTC
A commit references this bug:

Author: meta
Date: Mon Mar 11 05:43:20 UTC 2019
New revision: 495326
URL: https://svnweb.freebsd.org/changeset/ports/495326

Log:
  textproc/kibana6: Update to 6.5.4

  While here,
  - Quit using ${CHMOD} during do-install, handle permissions in pkg-plist

  PR:		236243
  Submitted by:	gettoknowmi <gettoknowmi@yahoo.com>
  Reported by:	Yuta MASUMOTO <owata@owatan.jp> (plist issue)

Changes:
  head/textproc/kibana6/Makefile
  head/textproc/kibana6/distinfo
  head/textproc/kibana6/files/patch-config_kibana.yml
Comment 7 Koichiro Iwao freebsd_committer freebsd_triage 2019-03-11 05:49:45 UTC
Committed with minor changes, thanks!
Comment 8 commit-hook freebsd_committer freebsd_triage 2019-03-11 08:09:14 UTC
A commit references this bug:

Author: meta
Date: Mon Mar 11 08:08:28 UTC 2019
New revision: 495328
URL: https://svnweb.freebsd.org/changeset/ports/495328

Log:
  textproc/kibana6: Fix do-install I broke in the previous commit

  I meant WWWDIR_REL not WWWDIR here but the usage of @mode macro was wrong.
  It does not take a file argument. Use COPYTREE_BIN instead to keep
  executable permissions for binaries.

  PR:		236243
  Reported by:	tobik

Changes:
  head/textproc/kibana6/Makefile
Comment 9 commit-hook freebsd_committer freebsd_triage 2019-03-11 09:29:26 UTC
A commit references this bug:

Author: meta
Date: Mon Mar 11 09:28:38 UTC 2019
New revision: 495337
URL: https://svnweb.freebsd.org/changeset/ports/495337

Log:
  textproc/kibana6: Fix do-install again

  The previous commit installs few files. Sorry for the breakage.

  $ pkg info -l kibana6
  kibana6-6.5.4_1:
      /usr/local/etc/kibana/kibana.yml.sample
      /usr/local/etc/rc.d/kibana
      /usr/local/share/licenses/kibana6-6.5.4_1/APACHE20
      /usr/local/share/licenses/kibana6-6.5.4_1/LICENSE
      /usr/local/share/licenses/kibana6-6.5.4_1/catalog.mk
      /usr/local/www/kibana6/bin/kibana
      /usr/local/www/kibana6/bin/kibana-keystore
      /usr/local/www/kibana6/bin/kibana-plugin
      /usr/local/www/kibana6/config
  $

  PR:		236243
  Reported by:	tobik
  Reviewed by:	tobik (via ports-committers@)

Changes:
  head/textproc/kibana6/Makefile
Comment 10 Koichiro Iwao freebsd_committer freebsd_triage 2019-03-11 09:31:03 UTC
Sorry for the breakage, now the port creages packages fine.
Comment 11 Brad Ackerman 2019-04-29 22:52:50 UTC
This patch breaks the Elastic stack as the corresponding patches to update logstash6 and elasticsearch6 haven't been committed.
Comment 12 Brad Ackerman 2019-04-29 23:00:23 UTC
Correction - quarterly has inconsistent versions. Latest does have elasticsearch6 updated but not logstash6.