[MacPorts] #39491: moreutils conflicts with parallel
#39491: moreutils conflicts with parallel ---------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: moreutils ---------------------+-------------------------------- The "parallel" port installs GNU parallel. "moreutils" also installs a utility called "parallel", but it is incompatible with (and less flexible than) GNU parallel. I want to be able to install GNU parallel at the same time as the other utilities from moreutils (like "ts"). Here's how other OSs solve this conflict: * Fedora doesn't provide the "parallel" utility at all in the moreutils package (I, personally, would be happy with this choice). * Ubuntu (and maybe Debian as well?) disables the "parallel" utility from moreutils if you install GNU parallel when moreutils is already installed (I would also be happy with this; does macports allow doing this?). Another option would be to add a "-parallel" variant to the "moreutils" port, and mark it so that it doesn't conflict with the "parallel" port. Is it possible to mark only a particular variant of a port as conflicting? Prior tickets: Ticket #30972 asked for this conflict to be resolved, but instead the two ports were explicitly marked as conflicting. -- Ticket URL: <https://trac.macports.org/ticket/39491> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel --------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: moreutils | --------------------------+-------------------------------- Changes (by larryv@…): * type: request => enhancement -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel --------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: moreutils | --------------------------+-------------------------------- Comment (by egall@…):
Prior tickets: Ticket #30972 asked for this conflict to be resolved, but instead the two ports were explicitly marked as conflicting.
For reference, Homebrew also takes this same approach of marking them as conflicting as of [https://github.com/mxcl/homebrew/commit/9df46609159d5134233a9dc0a33c2369307d... @9df4660], which was committed in response to the ticket I opened with them about this issue, [https://github.com/mxcl/homebrew/issues/16719 their #16719]. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+-------------------------------- Changes (by macsforever2000@…): * cc: ciserlohn@… (added) * version: 2.1.3 => * port: moreutils => moreutils parallel -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+-------------------------------- Comment (by ryandesign@…): We could go crazy and make a separate subport for each program that moreutils installs. Then the moreutils-parallel port and the parallel port could be marked as conflicting with each other without impacting the other utilities. megatools could become a metaport depending on each of its subports. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+-------------------------------- Comment (by david@…):
We could go crazy and make a separate subport for each program that moreutils installs
I think that's overkill. I'm not aware of any name clashes with the other moreutils utilities. I've attached patch "0001-moreutils-New-parallel-variant.patch", which adds a "parallel" variant to the moreutils port. "moreutils +parallel" won't install if you already have installed the "parallel" port. However, I couldn't find a way to tell the "parallel" port that it conflicts if you already have installed the "moreutils +parallel" variant. I don't think this is currently supported by macports, and it is beyond the scope of this patch. I've chosen to *not* make "+parallel" the default, because GNU parallel is more featureful and more like xargs. This follows the example of Fedora, whose moreutils package doesn't contain "parallel" at all. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+-------------------------------- Comment (by david@…): I replaced the patch "0001-moreutils-New-parallel-variant.patch" with a new version rebased onto the latest trunk. The new version of the patch also uses "conflicts-append" instead of "conflicts" inside the variant declaration. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+--------------------------- Reporter: david@… | Owner: khindenburg@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+--------------------------- Changes (by khindenburg@…): * owner: macports-tickets@… => khindenburg@… -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+--------------------------- Reporter: david@… | Owner: khindenburg@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: moreutils parallel | ---------------------------------+--------------------------- Comment (by khindenburg@…): IMHO removing parallels from moreutils is best and then we can just use the parallels port. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+--------------------------- Reporter: david@… | Owner: khindenburg@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: moreutils parallel | ---------------------------------+--------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: r122712 - ciserlohn let me know if you want me to remove the conflicts line in parallel port -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+--------------------------- Reporter: david@… | Owner: khindenburg@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: moreutils parallel | ---------------------------------+--------------------------- Comment (by ryandesign@…): Yes, you should remove the conflicts line from the parallel port. -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39491: moreutils conflicts with parallel ---------------------------------+--------------------------- Reporter: david@… | Owner: khindenburg@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: moreutils parallel | ---------------------------------+--------------------------- Comment (by khindenburg@…): done r122715 -- Ticket URL: <https://trac.macports.org/ticket/39491#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts