Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2024 14:59:06 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        trashcan@ellael.org, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: dns/knot3 and dns/knot-resolver do not get along with
Message-ID:  <79302DD2-2673-4745-82B3-06BEEC907DAE@yahoo.com>
References:  <79302DD2-2673-4745-82B3-06BEEC907DAE.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Grimm <trashcan_at_ellael.org> wrote on
Date: Sun, 25 Feb 2024 19:46:22 UTC :

> I am trying to install dns/knot3 and dns/knot-resolver simultaneously.
>=20
> Compilation is achieved with the help of poudriere which complains =
about dns/knot-resolver:
>=20
> =3D=3D=3D> Installing existing package =
/packages/All/knot-resolver-5.7.0_2.pkg
> [stable-default-job-02] Installing knot-resolver-5.7.0_2...
> [stable-default-job-02] `-- Installing knot3-lib-3.3.3_1...
> pkg-static: knot3-lib-3.3.3_1 conflicts with knot3-3.3.3_1 (installs =
files into the same place). Problematic file: =
/usr/local/include/knot/module.h
>=20
> Failed to install the following 1 package(s): =
/packages/All/knot-resolver-5.7.0_2.pkg
> *** Error code 1
>=20
> Stop.
>=20
>=20
> FYI:=20
>=20
> #) compiling both ports by 'poudriere bulk =E2=80=A6' and installing =
by 'pkg install =E2=80=A6' results in the very same error message:
>=20
> pkg-static: knot3-lib-3.3.3_1 conflicts with knot3-3.3.3_1 (installs =
files into the same place). Problematic file: =
/usr/local/include/knot/module.h
>=20
> #) compiling and installing each of those ports alone succeeds without =
error.
>=20
>=20
>=20
> One needs to know, that there is a third port involved, namely =
dns/knot3-lib, dependent for dns/knot-resolver. And, dns/knot3-lib is =
simply a part of dns/knot3.
>=20
> Thus, knot3-lib-3.3.3_1 as part of dns/knot3 shouldn't conflict with =
dns/knot3.
>=20
>=20
> Questions:
>=20
> #) Bug?
> #) How to resolve this conflict?
> #) Anyone running both ports in parallel?

If I understand right, if 2 more more installers should be allowed
to be used in the same context in overlapping it-is-installed
time frames, they must not conflict in what they install: no files
with the same paths.

Expected conflicts can be noted in the Makefiles to get earlier
notifications of the attempt to use conflicting material. But
having such conflicts means mutual exclusion as far as being
installed in overlapping time frames goes.

I'm not sure how your notes fit with the overlapping time frames
issue: is it valid to have knot3-?.?.? and knot3-lib-?.?.?
installed in overlapping time frames?

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79302DD2-2673-4745-82B3-06BEEC907DAE>