Re: FYI: editors/libreoffice build on FreeBSD build server installs devel/llvm13 but later uses the system's clang and lld

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 22 May 2022 10:23:28 UTC
On 2022-May-21, at 23:21, Mark Millard <marklmi@yahoo.com> wrote:

> I looked at the on-going bulk run:
> 
> http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=pa3e075eb6037_s5af718a592
> 
> and it showed editors/libreoffice in the built list.
> 
> So I looked at its build log and found an oddity . . .
> 
> The log show that it is using the system-clang compiler
> and system-lld linker (so from llvm14), even though
> devel/llvm13 is installed for the build.
> 
> =>> Building editors/libreoffice
> build started at Sat May 21 04:48:00 UTC 2022
> port directory: /usr/ports/editors/libreoffice
> package name: libreoffice-7.3.3.2_1
> building for: FreeBSD main-amd64-default-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400059 amd64
> maintained by: 
> office@FreeBSD.org
> 
> Makefile ident: 
> Poudriere version: 3.2.8-21-g883afb07
> Host OSVERSION: 1400050
> Jail OSVERSION: 1400059
> Job Id: 02
> . . .
> ---Begin OPTIONS List---
> ===> The following configuration options are available for libreoffice-7.3.3.2_1:
>     COINMP=off: Enable CoinMP (deprecated) math solver
>     CUPS=on: CUPS printing system support
>     DOCS=on: Build and/or install documentation
>     GNOME=off: GNOME desktop environment support
>     GTK3=off: GTK+ 3 GUI toolkit support
>     GTK4=off: GTK+ 4 GUI toolkit support (broken)
>     JAVA=on: Add Java support (XML filters, macros, DB connections)
>     KF5=off: KF5/Qt5 GUI toolkit support (implies QT5)
>     LTO=off: Use Link-Time Optimization
>     MARIADB=off: Build with MariaDB/MySQL-SDBC driver
>     MMEDIA=on: Enable multimedia backend for Impress
>     PDFIUM=on: Enable PDFium secure engine
>     PGSQL=off: Build with PostgreSQL-SDBC driver
>     QT5=on: Qt5 GUI toolkit support (default visual style)
>     SDK=off: Build with SDK
>     TEST=off: Run all regression tests
>     WEBDAV=off: Enable WebDAV protocol
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
> . . .
> [main-amd64-default-job-02] |   `-- Installing llvm13-13.0.1_2...
> [main-amd64-default-job-02] |   | `-- Installing lua53-5.3.6...
> [main-amd64-default-job-02] |   | `-- Extracting lua53-5.3.6: .......... done
> [main-amd64-default-job-02] |   `-- Extracting llvm13-13.0.1_2: .......... done
> . . .
> checking for cc... /usr/bin/cc
> . . .
> checking whether the compiler is actually Clang... yes
> checking whether Clang is new enough... yes (14.0.3)
> . . .
> checking for linker that is used... LLD 14.0.3 (FreeBSD llvmorg-14.0.3-0-g1f9140064dfb-1400004) (compatible with GNU linkers)
> . . .
> =======================<phase: package        >============================
> ===>  Building package for libreoffice-7.3.3.2_1
> ===========================================================================
> =>> Cleaning up wrkdir
> ===>  Cleaning for libreoffice-7.3.3.2_1
> build of editors/libreoffice | libreoffice-7.3.3.2_1 ended at Sat May 21 09:12:11 UTC 2022
> build time: 04:24:11
> 

I overlooked the obvious possibility that some port
that is a build dependency in turn has devel/llvm13
as a runtime dependency.

So the above is likely not really interesting at all.
Sorry for the noise.

===
Mark Millard
marklmi at yahoo.com