Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 10:44:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237551] dns/bind-tools conflicts with dns/bindXXX (with XXX != 914)
Message-ID:  <bug-237551-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237551

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


=3D=3D=3D>  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.
=3D=3D=3D>  License MPL20 accepted by the user
=3D=3D=3D>   bind-tools-9.14.1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by bind-tools-9.14.1 for building

=3D=3D=3D>  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 bai=
ls
out entirely pointing to the same conflict.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237551-7788>