[Bug 264597] devel/android-tools fails to install if devel/libfmt is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Jun 2022 18:14:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264597

Neel Chauhan <nc@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #1 from Neel Chauhan <nc@FreeBSD.org> ---
I was able to replicate the issue. Not your ld issue exactly, but something
similar (I run 14-CURRENT versus 12.3 like you).

However, the thing is, devel/android-tools has a custom libfmt that's included
with android-tools as a static library, mainly due to differences versus the
Ports libfmt.

I was unable to make android-tools depend on the Ports libfmt.

It's likely cmake is depending on the ports libfmt instead of the included one
as clang/cmake gives precedence to external libraries over build-in ones.

I will still work to figure out what is going wrong.

In the meanwhile, you could also build with poudriere on your local system.
That way, while not a "fix", a Ports libfmt is unlikely to conflict with
android-tools.

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