[Bug 253749] devel/shiboken2: picks up wrong llvm, registers wrong dependency, causes unnecessary rebuilds
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 21 23:33:36 GMT 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253749
Christoph Moench-Tegeder <cmt at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #222707|0 |1
is obsolete| |
--- Comment #1 from Christoph Moench-Tegeder <cmt at freebsd.org> ---
Created attachment 222709
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222709&action=edit
fix llvm detection and nail dependency in place
Turns out I was too quick on this one: pkg also does it's best to sabotage our
efforts and registers the dependency on the highest versioned libclang.so
available, not on the libclang.so we're actually linking to (and there I was,
only poking at the binaries...) or let alone the package origin we specified in
the Makefile.
To fix that, we also have to do a little dance with LLVM_DEFAULT the get the
correct libclang.so. AS LLVM_DEFAULT is "90" for llvm 9.0 and "10" for llvm
10.0 (etc, note single digit vs two digits) I used a regexp which will work for
llvm versions between 6 and 59 (I hope that I don't have to care about this
anymore when llvm hits 60).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list