| Summary: | www/yarn: conflicts with devel/hadoop2 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | hakan |
| Component: | Individual Port(s) | Assignee: | Luca Pizzamiglio <pizzamig> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | demon, pizzamig, w.schwarzenfeld |
| Priority: | --- | Keywords: | needs-patch, needs-qa |
| Version: | Latest | Flags: | luca.pizzamiglio:
maintainer-feedback+
koobs: maintainer-feedback? (demon) koobs: merge-quarterly? |
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://github.com/yarnpkg/yarn/issues/673 | ||
|
Description
hakan
2017-06-28 13:34:11 UTC
Hi Hakan, 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: Author: demon Date: Mon Jul 3 07:40:17 UTC 2017 New revision: 444916 URL: https://svnweb.freebsd.org/changeset/ports/444916 Log: Register conflict with hadoop2 and www/yarn because of bin/yarn binary until better solution is found. PR: 220337 Submitted by: hakan@siktas.com Changes: head/devel/hadoop2/Makefile head/www/yarn/Makefile 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. |