[Bug 285945] [patch] archivers/libarchive: Building package with libb2 present uses libb2 without adding a package dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Apr 2025 15:58:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285945
Bug ID: 285945
Summary: [patch] archivers/libarchive: Building package with
libb2 present uses libb2 without adding a package
dependency
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: glewis@FreeBSD.org
Reporter: janm@transactionware.com
Assignee: glewis@FreeBSD.org
Flags: maintainer-feedback?(glewis@FreeBSD.org)
Created attachment 259375
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259375&action=edit
Patch to add a LIBB2 option
The pkg 2.1.0 now checks for required shared libraries and refuses to install a
package if some shared libraries are not present.
Building an archivers/libarchive package on a system with libb2 present will
use libb2, but not mark it as a port dependency. Attempting to install the
package on a machine without libb2 then fails.
The attached (trivial) patch adds a LIBB2 option to control building with or
without libb2 support, and to have the correct package dependencies.
--
You are receiving this mail because:
You are the assignee for the bug.