Bug 253695 - Mk conflicts targets introduce unnecessary delays and prevent non-conflicting operations like `make extract`
Summary: Mk conflicts targets introduce unnecessary delays and prevent non-conflicting...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ed Maste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 15:37 UTC by Ed Maste
Modified: 2021-02-24 14:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2021-02-19 15:37:30 UTC
I am looking to investigate a number of ports for PR253275; I have no intention of installing them. When running `make extract` the identify-install-conflicts emits a warning that's not relevant to what I'm doing, and introduces a delay:

$ make extract

===>  play-1.0_1 conflicts with installed package(s): 
      sox-14.4.2_5

      They install files into the same place.
      You may want to stop build with Ctrl + C.

and with that removed check-build-conflicts is invoked and `make extract` fails as a result:

===>  play-1.0_1 conflicts with installed package(s): 
      sox-14.4.2_5

      They will not build together.
      Please remove them first with pkg delete.
*** Error code 1
Comment 1 Mathieu Arnold freebsd_committer 2021-02-22 17:57:30 UTC
I think that:

  env DISABLE_CONFLICTS=yes make <whatever>

should probably fixes your issue. (feel free to close this if it does.)
Comment 2 Ed Maste freebsd_committer 2021-02-24 14:42:01 UTC
Yes, I can disable the conflict detection and it won't run. But it still does not make sense to disallow non-conflicting operations.