Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 16:16:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293297] PkgBase: FreeBSD-zfs-dev libzfs.h header is useless
Message-ID:  <bug-293297-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293297

            Bug ID: 293297
           Summary: PkgBase: FreeBSD-zfs-dev libzfs.h header is useless
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: nsonack@herrhotzenplotz.de

I ran into this on FreeBSD-15.0-RELEASE amd64, where on a PkgBase system the
FreeBSD-zfs-dev package installs the libzfs.h header.
This header is useless because it includes libshare.h which isn't installed by
any packge.
So either libshare.h (including the rest of libspl) should be included in
FreeBSD-zfs-dev or it must be declared as a dependency and installed by a
different package.

As a bonus, the libzfs.pc file is also missing in FreeBSD-zfs-dev making it
cumbersome to compile and link against.

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

home | help

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