From owner-freebsd-java@freebsd.org Sun Dec 30 22:19:05 2018 Return-Path: Delivered-To: freebsd-java@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 DFBB614372BD for ; Sun, 30 Dec 2018 22:19:04 +0000 (UTC) (envelope-from kaox.gen@gmail.com) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0E0070368 for ; Sun, 30 Dec 2018 22:19:03 +0000 (UTC) (envelope-from kaox.gen@gmail.com) Received: by mail-pg1-x52a.google.com with SMTP id t13so12087172pgr.11 for ; Sun, 30 Dec 2018 14:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4GH9Lj5PQYVo20PTmehSVWpmtCI/HxV5TJ54CrXBbUw=; b=mTscnPurM5/hSfNm6K5Dh4XBhSyjUQWJ2cHd9b/ov4LWEsN1WiAi0/wGv5T1zOqEqs /SvziWhYBcrhXN4ydnIRZ+qE2YPSYZbbuoqj5bdtPnZCC8ZO1dyMszeyvFrMhwb70xFD Q4WJzkwPMKTGEGP1dT3/v9IkIYDZbmnwfzcoHZUiKQ6guLFgKYKaim0SFjWYOhZIgf4x VtERzTTTAYaaJowadvDvBPIUaF0GN3YAFxr4EiL7S4+QYYKxzPDHWwHI4NnkfTnkI81U JjaRRJ3GLgTvS02el3tMGfpYt9t4FRa8Su47xlfJxwYgCQvIC7V4Ho+dSzqwCzYJnPiW MRbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4GH9Lj5PQYVo20PTmehSVWpmtCI/HxV5TJ54CrXBbUw=; b=JTi6PqypnMz/PdkKM70cPuZ40RtmpzGOyFYWlEw6xbwti2jthb5uhKf0L02bQ9AJLW d0mnOiQmNGo4X4dkXq+UFaTiGsVa1eMZHbwymyKEwGw0kF9jqE5024SW+iR5FwLxU4WI OAXXv5Kvdwy4DuK2YFgO1lqaTTp9Bl02dxVRaz8a5DjBYJKjBMAffOdMXIsxbgxzMBjQ +F1vpubV2SCmwY4uESVlxJXuc8l6+RCxP0aDhVMpyLf0fm+Fj9HFro1l1R1uOP2uXTzA PVzO0UXpGg4tBf+HRIruQOZxlWgn1F76rX+NXPcmqDIvrledAYdRVjWOy2d8gOdGoIQg O/Pw== X-Gm-Message-State: AA+aEWaecQMf4+p4IHCBK1EzcxGthx8cWoU4Jqjw+M/hiZN7c0oqEv2a ZYYYBo7DRNrIw7i2PmVBVvCzYuhMmWySpxRcoDCqxRby X-Google-Smtp-Source: AFSGD/UyPUv1vdTJF2KpJYHLMlD9V5vKn83TnM7eqJqjygQHsRFHOBuTAZdQQONPn539FO4vyrXjiHw3sQhqyf9apwI= X-Received: by 2002:a62:8c11:: with SMTP id m17mr35984308pfd.224.1546208342348; Sun, 30 Dec 2018 14:19:02 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Ali_Okan_Y=C3=9CKSEL?= Date: Mon, 31 Dec 2018 01:18:51 +0300 Message-ID: Subject: openjdk8 dependency installation problem To: freebsd-java@freebsd.org X-Rspamd-Queue-Id: B0E0070368 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mTscnPur; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kaoxgen@gmail.com designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=kaoxgen@gmail.com X-Spamd-Result: default: False [-4.88 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[13]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.49)[-0.489,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.38)[ip: (-8.36), ipnet: 2607:f8b0::/32(-1.91), asn: 15169(-1.54), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[a.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 22:19:05 -0000 Hello, I am trying to define openjdk8 as dependency for my custom textproc/elasticsearch5 package. Actually I am trying to fix that port. When I tried to install this package by using my custom repository, pkg manager is not installing openjdk8 or jna package. Actually it should be installed, because jna and openjdk packages are not installed on the target system. And I think Makefile looks correct. What you do you think about this dependency installation problem? How can I debug or solve the problem? digest.txz meta.txz packagesite.txz files can be used for debug? Makefile content: # Created by: Tom Judge # $FreeBSD$ PORTNAME= elasticsearch PORTVERSION= 5.6.8 PORTREVISION= 5 CATEGORIES= textproc java devel MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ PKGNAMESUFFIX= 5 MAINTAINER= elastic@FreeBSD.org COMMENT= Full-text search engine for Java LICENSE= APACHE20 BUILD_DEPENDS= jna>0:devel/jna RUN_DEPENDS= bash>0:shells/bash \ jna>0:devel/jna USE_XORG= xt CONFLICTS= elasticsearch-[0-9]* elasticsearch2-[0-9]* elasticsearch6-[0-9]* USES= cpe shebangfix NO_ARCH= yes USE_JAVA= yes NO_BUILD= yes JAVA_VERSION= 1.8+ JAVA_VENDOR= openjdk JAVA= /usr/local/openjdk8/bin/java USE_RC_SUBR= ${PORTNAME} SHEBANG_FILES= bin/elasticsearch-plugin \ bin/elasticsearch bin/elasticsearch.in.sh OPTIONS_DEFINE= DOCS .include CONFIG_FILES= elasticsearch.yml log4j2.properties jvm.options BINS= elasticsearch.in.sh \ elasticsearch \ elasticsearch-plugin PORTDOCS= LICENSE.txt \ NOTICE.txt \ README.textile SIGAR_ARCH= ${ARCH:S|i386|x86|} SEARCHUSER?= elasticsearch SEARCHGROUP?= ${SEARCHUSER} USERS= ${SEARCHUSER} GROUPS= ${SEARCHGROUP} SUB_LIST= ETCDIR=${ETCDIR} JAVA=${JAVA} SUB_FILES= pkg-message post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch.in.sh ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch ${RM} ${WRKSRC}/lib/jna-*.jar do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch ${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch/config (cd ${WRKSRC}/config && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/config) ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .for f in ${BINS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/ "-name *\.jar") ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules (cd ${WRKSRC}/modules && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules/) ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins (cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins) ${INSTALL} -lrs ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin ${LN} -s ${JAVASHAREDIR}/classes/jna.jar ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/jna.jar ${CP} -rf ${STAGEDIR}${PREFIX}/lib/elasticsearch ${STAGEDIR}${PREFIX}/libexec/elasticsearch ${CP} -rf ${WRKSRC}/config/* ${STAGEDIR}${PREFIX}/etc/elasticsearch/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor post-install: ${ECHO} "@owner elasticsearch" >> ${TMPPLIST} ${ECHO} "@group elasticsearch" >> ${TMPPLIST} ${ECHO} "bin/elasticsearch-plugin" >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${PREFIX}/etc -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${PREFIX}/libexec/elasticsearch -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${PREFIX}/lib/elasticsearch -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${ECHO} "@dir lib/elasticsearch/plugins" >> ${TMPPLIST} ${ECHO} "@dir libexec/elasticsearch" >> ${TMPPLIST} .include