If devel/hadoop2 is already installed on the system, www/yarn will fail to install:
pkg-static: yarn-0.24.6 conflicts with hadoop2-2.7.2_2 (installs files into the same place). Problematic file: /usr/local/bin/yarn
*** Error code 70
Since yarn 0.16 the alternative alias /usr/local/bin/yarnpkg should be available.
Here is the already closed upstream issue: https://github.com/yarnpkg/yarn/issues/673
thanks for reporting.
On Mac, the alias is a solution because the two "yarn" are installed in different places.
Here there is a conflict, one "yarn" would overwrite the other one.
The solution is not trivial, but I'll figure out something.
Pending maintainer feedback and patch.
In the meantime a CONFLICTS_INSTALL can be set.
Assign demon@ accordingly (maintainer of conflicting port, and committer)
okay, I registered a conflict until better solution is found.
A commit references this bug:
Date: Mon Jul 3 07:40:17 UTC 2017
New revision: 444916
Register conflict with hadoop2 and www/yarn because of bin/yarn binary until
better solution is found.
Submitted by: email@example.com
This is how would solve the issue.
#1 Adding an option to www/yarn, to optionally install yarn (default: yes)
#2 Adding a new port (name to be defined, like www/yarn-compat), with the option set to no
Basically, the new port is a FLAVOR of www/yarn, but AFAIK FLAVOR support is not yet present.
I'd like to have some feedback, before to start
Seems fixed. Could this closed.