[Bug 263976] editors/libreoffice: Fails to build using llvm/clang14 on recent src main

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 May 2022 23:58:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263976

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Quoting the "Actual error log":

QUOTE
/usr/local/bin/clang++90
END QUOTE

Twice. I expect that earlier material in the
build log is likely relevant to why it it is
using clang 9.0 instead of something more modern
like 13 or 14.

The logic I see in the editors/libreoffice/Makefile
looks like:

.if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang
CPP=    ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
CC=     ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
CXX=    ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
LLD_UNSAFE=     yes
.endif

That should mean that LLVM_DEFAULT ended up as "90",
not "13" or "14".

What has presented does not appear to be enough to
trace back to why "90" was in use.

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