Created attachment 166273 [details] link & other fixes - Fix link pointing to STAGEDIR after install ====> Running Q/A tests (stage-qa) Error: Bad symlink 'share/java/classes/zookeeper.jar' pointing inside the stage directory *** Error code 1 - Add NO_ARCH - There's no need to include bsd.port.pre.mk - Use options helper - Remove deprecated @dirrmtry from pkg-plist
Just want to make it clear that the port is unusable due to this issue: lrwxr-xr-x 1 root wheel 94 Jan 30 09:53 zookeeper.jar -> /wrkdirs/usr/ports/devel/zookeeper/work/stage/usr/local/share/java/classes/zookeeper-3.4.7.jar # env rc_debug=1 ../rc.d/zookeeper onestart ../rc.d/zookeeper: DEBUG: Sourcing /etc/defaults/rc.conf ../rc.d/zookeeper: DEBUG: checkyesno: zookeeper_enable is set to YES. ../rc.d/zookeeper: DEBUG: run_rc_command: start_precmd: zookeeper_init Starting zookeeper. ../rc.d/zookeeper: DEBUG: run_rc_command: doit: su -m zookeeper -c 'sh -c "/usr/sbin/daemon -p /var/run/zookeeper.pid /usr/local/openjdk7/bin/java -Dzookeeper.log.dir=/var/log/zookeeper -Dlog4j.configuration=file:/usr/local/etc/zookeeper/log4j.properties -Dzookeeper.root.logger=INFO,ROLLINGFILE -cp /usr/local/share/slf4j/slf4j-log4j12.jar:/usr/local/share/java/classes/log4j.jar:/usr/local/share/java/classes/netty.jar:/usr/local/share/java/classes/slf4j-api.jar:/usr/local/share/java/classes/jline.jar:/usr/local/share/java/classes/zookeeper.jar: org.apache.zookeeper.server.quorum.QuorumPeerMain /usr/local/etc/zookeeper/zoo.cfg"' Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain #
Pawel- I am not going to be near a computer for a bit. Please go ahead and commit this. Thanks
A commit references this bug: Author: pawel Date: Sat Jan 30 21:11:04 UTC 2016 New revision: 407552 URL: https://svnweb.freebsd.org/changeset/ports/407552 Log: - Fix link pointing to STAGEDIR after install, this fixes runtime error: /jline.jar:/usr/local/share/java/classes/zookeeper.jar: org.apache.zookeeper.server.quorum.QuorumPeerMain /usr/local/etc/zookeeper/zoo.cfg"' Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain - Add NO_ARCH - There's no need to include bsd.port.pre.mk - Use options helper - Remove deprecated @dirrmtry from pkg-plist PR: 206739 Submitted by: myself Approved by: maintainer MFH: 2016Q1 Changes: head/devel/zookeeper/Makefile head/devel/zookeeper/pkg-plist