[Bug 277331] dns/knot-resolver and dns/knot3 are mutually exclusive due to dns/knot3-lib

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Feb 2024 14:21:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277331

            Bug ID: 277331
           Summary: dns/knot-resolver and dns/knot3 are mutually exclusive
                    due to dns/knot3-lib
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trashcan@ellael.org
                CC: freebsd@dns.company
                CC: freebsd@dns.company
             Flags: maintainer-feedback?(freebsd@dns.company)

I tried to compile both dns/knot-resolver and dns/knot3 by poudriere:

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

Reason (IMHO):
1) dns/knot-resolver is dependet on dns/knot3-lib
2) dns/knot3-lib installs all lib and include files in the very same
directories as dns/knot3
3) pkg complains about '(installs files into the same place)'

Possible solutions:
1) dns/knot3-lib should store its libraries and includes into a different
location as dns/knot3 does
2) dns/knot3-lib provides the library as currently, but make dns/knot3 depend
on dns/knot3-lib and just provide the additional functionality of dns/knot3

Have a look at the thread around
https://lists.freebsd.org/archives/freebsd-ports/2024-February/005548.html

Sorry, but I don't have a solution for that.

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