dns/knot3 and dns/knot-resolver do not get along with

From: Michael Grimm <trashcan_at_ellael.org>
Date: Sun, 25 Feb 2024 19:46:22 UTC
Hi,

I am trying to install dns/knot3 and dns/knot-resolver simultaneously.

Compilation is achieved with the help of poudriere which complains about dns/knot-resolver:

===>   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

Failed to install the following 1 package(s): /packages/All/knot-resolver-5.7.0_2.pkg
*** Error code 1

Stop.


FYI: 

#) compiling both ports by 'poudriere bulk …' and installing by 'pkg install …' results in the very same error message:

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

#) compiling and installing each of those ports alone succeeds without error.



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.

Thus, knot3-lib-3.3.3_1 as part of dns/knot3 shouldn't conflict with dns/knot3.


Questions:

#) Bug?
#) How to resolve this conflict?
#) Anyone running both ports in parallel?


Thanks and regards,
Michael