[Bug 288831] net/kea fails to build with PGSQL backend

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Aug 2025 07:29:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288831

            Bug ID: 288831
           Summary: net/kea fails to build with PGSQL backend
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ale_sagra@hotmail.com
                CC: apevnev@me.com
                CC: apevnev@me.com
             Flags: maintainer-feedback?(apevnev@me.com)

Created attachment 262912
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262912&action=edit
kea build log

I am rebuilding new Kea 3.0.0 with postgresql backend enable but it fails to
compile with following errors:
FAILED: src/lib/pgsql/libkea-pgsql.so.88.0.0
ld: error: unable to find library -lpgcommon
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Based on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239559 but, we might
to change 
PGSQL_VARS=             WANT_PGSQL=client

line to 
PGSQL_VARS=             WANT_PGSQL=lib server?

I am attaching a full log from poudriere. Let me know if you need anything
else, thank you,
Alessandro

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