git: 2018ae4e3b6a - main - pkgbase: remove incorrect clang shlib requires
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Apr 2026 19:36:52 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2018ae4e3b6a2d7c147933cb36642f6a54830907
commit 2018ae4e3b6a2d7c147933cb36642f6a54830907
Author: Isaac Freund <ifreund@freebsdfoundation.org>
AuthorDate: 2026-01-20 14:57:17 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-13 19:36:15 +0000
pkgbase: remove incorrect clang shlib requires
The FreeBSD-clang package contains a 32-bit shared object at
/usr/lib/clang/19/lib/freebsd/libclang_rt.asan-i386.so
This is expected, since clang uses this object when compiling for i386
targets with asan enabled.
What is not expected is that the FreeBSD-clang package currently depends
on 32-bit libc packages due to pkg's shared library analysis, making it
impossible to install pkgbase on x86_64 without any lib32 packages.
This commit leverages a new pkg feature implemented in [1], but could
be landed before a pkg version including that feature is released
without any ill effects. Unknown keys in package manifests are ignored.
[1]: https://github.com/freebsd/pkg/pull/2594
Reviewed by: ivy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54792
---
release/packages/ucl/clang.ucl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/release/packages/ucl/clang.ucl b/release/packages/ucl/clang.ucl
index 3c15d9b7ef03..deee636dc0a7 100644
--- a/release/packages/ucl/clang.ucl
+++ b/release/packages/ucl/clang.ucl
@@ -7,3 +7,8 @@ deps {
version = "${VERSION}"
}
}
+
+shlibs_required_ignore: [
+ "libc.so.7:32",
+ "libgcc_s.so.1:32",
+]