On Feb 16, 2025, at 06:24, Mark Millard <[email protected]> wrote:
> On Feb 16, 2025, at 05:49, Mark Millard <[email protected]> wrote:
>
>> I expect that should have been: libLLVM-20.so
>>
>> So, analogous to:
>>
>> # find -s / -name "libLLVM*.so*" -print | more
>> /usr/local/llvm19/lib/libLLVM-19.so
>> /usr/local/llvm19/lib/libLLVM.so
>> /usr/local/llvm19/lib/libLLVM.so.19.1
>>
>> At the moment I do not expect this to be an oddity of
>> my personal environment unless it is just for -rc1 .
>
> Looks to me like one example of code that may get
> things wrong for llvm20 is in /usr/ports/Mk/Uses/llvm.mk :
>
> . . .
> . if empty(_LLVM_MK_VERSION)
> . if ${LLVM_DEFAULT:N1[0-9]*}
> _LLVM_MK_VERSION= ${LLVM_DEFAULT:S/0$//}
> . else
> _LLVM_MK_VERSION= ${LLVM_DEFAULT}
> . endif
> . endif
> . . .
Another area in /usr/ports/Mk/Uses/llvm.mk that may
have related problems is tied to:
# === define helpers for the dependencies ===
. for _ver in ${_LLVM_MK_VALID_VERSIONS:N1[0-9]}
_LLVM_MK_SUFFIX_${_ver}= ${_ver}0
. endfor
>> For reference:
>>
>> # cd
>> /usr/local/poudriere/data/logs/bulk/main-CA76-bulk_a-default/2025-02-14_00h38m07s/logs/errors/
>> # grep "libLLVM-2\." *
>> ccls-0.20240202.log:===> ccls-0.20240202 depends on shared library:
>> libLLVM-2.so - not found
>> ccls-0.20240202.log:===> ccls-0.20240202 depends on shared library:
>> libLLVM-2.so - not found
>> clazy-1.13.log:===> clazy-1.13 depends on shared library: libLLVM-2.so -
>> not found
>> clazy-1.13.log:===> clazy-1.13 depends on shared library: libLLVM-2.so -
>> not found
>> fccf-0.6.0_3.log:===> fccf-0.6.0_3 depends on shared library: libLLVM-2.so
>> - not found
>> fccf-0.6.0_3.log:===> fccf-0.6.0_3 depends on shared library: libLLVM-2.so
>> - not found
>> libosmesa-24.1.7.log:===> libosmesa-24.1.7 depends on shared library:
>> libLLVM-2.so - not found
>> libosmesa-24.1.7.log:===> libosmesa-24.1.7 depends on shared library:
>> libLLVM-2.so - not found
>> lldb-mi-g20231216.log:===> lldb-mi-g20231216 depends on shared library:
>> libLLVM-2.so - not found
>> lldb-mi-g20231216.log:===> lldb-mi-g20231216 depends on shared library:
>> libLLVM-2.so - not found
>> mesa-dri-24.1.7_4.log:===> mesa-dri-24.1.7_4 depends on shared library:
>> libLLVM-2.so - not found
>> mesa-dri-24.1.7_4.log:===> mesa-dri-24.1.7_4 depends on shared library:
>> libLLVM-2.so - not found
>> mesa-gallium-va-24.1.7.log:===> mesa-gallium-va-24.1.7 depends on shared
>> library: libLLVM-2.so - not found
>> mesa-gallium-va-24.1.7.log:===> mesa-gallium-va-24.1.7 depends on shared
>> library: libLLVM-2.so - not found
>> mesa-gallium-vdpau-24.1.7.log:===> mesa-gallium-vdpau-24.1.7 depends on
>> shared library: libLLVM-2.so - not found
>> mesa-gallium-vdpau-24.1.7.log:===> mesa-gallium-vdpau-24.1.7 depends on
>> shared library: libLLVM-2.so - not found
>> pipewire-spa-oss-g20241030_3.log:===> pipewire-spa-oss-g20241030_3 depends
>> on shared library: libLLVM-2.so - not found
>> pipewire-spa-oss-g20241030_3.log:===> pipewire-spa-oss-g20241030_3 depends
>> on shared library: libLLVM-2.so - not found
>> procs-0.14.9_1.log:===> procs-0.14.9_1 depends on shared library:
>> libLLVM-2.so - not found
>> procs-0.14.9_1.log:===> procs-0.14.9_1 depends on shared library:
>> libLLVM-2.so - not found
>> py311-shiboken2-5.15.16.log:===> py311-shiboken2-5.15.16 depends on shared
>> library: libLLVM-2.so - not found
>> py311-shiboken2-5.15.16.log:===> py311-shiboken2-5.15.16 depends on shared
>> library: libLLVM-2.so - not found
>> rust-findutils-0.7.0_4.log:===> rust-findutils-0.7.0_4 depends on shared
>> library: libLLVM-2.so - not found
>> rust-findutils-0.7.0_4.log:===> rust-findutils-0.7.0_4 depends on shared
>> library: libLLVM-2.so - not found
>>
>> # ~/fbsd-based-on-what-commit.sh -C /usr/ports/
>> 9f2922f28a6f (HEAD -> main, freebsd/main, freebsd/HEAD) devel/aws-crt-cpp:
>> Update to 0.30.2
>> Author: Nuno Teixeira <[email protected]>
>> Commit: Nuno Teixeira <[email protected]>
>> CommitDate: 2025-02-12 21:03:47 +0000
>> branch: main
>> merge-base: 9f2922f28a6f65e1fcac7c1d9fba79a93c898a01
>> merge-base: CommitDate: 2025-02-12 21:03:47 +0000
>> n695802 (--first-parent --count for merge-base)
>>
>> So: devel/llvm20: 20.1.0-rc1 (somewhat before -rc2 was comitted).
>>
>> # uname -apKU
>> FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #1
>> main-n275290-9ef38a01aea8-dirty: Thu Feb 13 14:18:57 PST 2025
>> root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA76
>> arm64 aarch64 1500031 1500031
===
Mark Millard
marklmi at yahoo.com