[Bug 237551] dns/bind-tools conflicts with dns/bindXXX (with XXX != 914)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 25 10:44:07 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237551

            Bug ID: 237551
           Summary: dns/bind-tools conflicts with dns/bindXXX (with XXX !=
                    914)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat at FreeBSD.org
          Reporter: freebsd at oldach.net
             Flags: maintainer-feedback?(mat at FreeBSD.org)
          Assignee: mat at FreeBSD.org

ports r499757 made all BIND ports depending on dns/bind-tools. This will
install the bind tools from the latest version (currently 9.14) even if BIND
itself is a different release.

Unfortunately this creates a conflict: Since dns/bind-tools/Makefile slurps in
dns/bind914/Makefile, we run into CONFLICTS for any case where the BIND version
is /different/ from the one used in dns/bind-tools.

For example, currently I have updates pending for both dns/bind-tools (from
9.14.0 to 9.14.1) as well as dns/bind911 (from 9.11.6 to 9.11.6-P1). But an
upgrade of dns/bind-tools (which is before upgrading dns/bind911 because of the
a run-time dependency) fails because of this mismatch:


===>  bind-tools-9.14.1 conflicts with installed package(s):
      bind911-9.11.6P1

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License MPL20 accepted by the user
===>   bind-tools-9.14.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by bind-tools-9.14.1 for building

===>  bind-tools-9.14.1 conflicts with installed package(s):
      bind911-9.11.6P1

      They will not build together.
      Please remove them first with pkg delete.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/dns/bind-tools
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/bind-tools


The only way out is to deinstall dns/bind911 (which is a pain, as it
potentially kills name resolution), then upgrade dns/bind-tools, and then
reinstall dns/bind911.

Furthermore, the error message itself is odd: After firstly indicating a
potential conflict (but perhaps still being able to build correctly) it bails
out entirely pointing to the same conflict.

Unfortunately, ports r499757 made things worse (although I like the idea) and
broke a working proper BIND upgrade.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list