From nobody Sun May 22 10:21:14 2022 X-Original-To: office@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6E0951B542B6 for ; Sun, 22 May 2022 10:21:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5c1k103Wz3Ltd for ; Sun, 22 May 2022 10:21:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0319D19547 for ; Sun, 22 May 2022 10:21:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24MALDJA051017 for ; Sun, 22 May 2022 10:21:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24MALDGd051016 for office@FreeBSD.org; Sun, 22 May 2022 10:21:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 263976] editors/libreoffice: Fails to build using llvm/clang14 on recent src main Date: Sun, 22 May 2022 10:21:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653214874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h0j2HZ/Fn7t/OlvI68ZyZDaTP4TqSVNlMZCTJBHN/4w=; b=mkJSwH2qbk0DziJTckt+OfimEe/eXBJTDbOp4Wf2diPyefrJBSTnALEdZCQ4FPu2w9PQOh Jf3Jwzaks457xmPu9Kkw81ZTZs5LfJtqKf84DfI3klhCbff5MSmnQmUqk4J13Ilmhn7rcT RijMF2GW8idsEkvjwMM6k0P7PzX/x+KRlbkL+B85Cen+LvxSEyvcSjDvyjU7J1+1cCzOzH DmdzyGz5BSjKxed62NMFdlwGDYnHlsXpEoYJWHe6/nVSAWnnMixKs24V01/wvk82eb0G7k qv1Ax/lWUMQYOZprlpZr+PoGWp7wm79S2GJhhnGkUp31ZjKNitTDDL8cB72x1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653214874; a=rsa-sha256; cv=none; b=Z3fvgJl+TEJZWWAYuhZjxV190HcZJFsxPt31iC9eK43tCFSnoIM0Qj5kNSKcS53zSP2KhE c0Va0RDUnjgecRbiRB33Yn6Y1UiA4reDO3Uru5/HHsDXtn1KoYYPp6kbSqGPIXNSRYiSha V9pGrlaKggj8vyrUA9akkiZonCTw1gxbt8sk+YQfSVFC99Io+bKKFprAgBwtZVPhYzelsB AMAAfFmpxkDx0CklsUtHLCI8M7tVbUWoATqrdZLo42rHCf9cwophabeKBNFNnyKeYM1FOV Z+oq4O4m65aG0wayDHy08+nTCVpxh23XPyWLcwzJ+PgUzaKz4eAeVl7athHKfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263976 --- Comment #6 from Mark Millard --- (In reply to Tomoaki AOKI from comment #5) The FreeBSD build servers work by using poudriere bulk . So what I reported in Comment #3 indicates that, for how they work, devel/llvm13 is installed during the specific build of editors/libreoffice . (I build ports via poudriere-devel myself.) It is possible that some other port, that is needed to build editors/libreoffice , in turn has as a runtime dependency devel/llvm13 . (So the install is indirect rather than direct.) The: OPTIONS_FILE_SET+=3DLTO uses ( quoting what I reported in Comment #1 ): .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} =3D=3D clang CPP=3D ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC=3D ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX=3D ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+=3D ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DE= FAULT} LLD_UNSAFE=3D yes .endif In turn the modern Mk/bsd.default-versions.mk has: LLVM_DEFAULT?=3D 90 which is where the "90" is from in your build unless you are (possibly indirectly) assigning LLVM_DEFAULT yourself, such a via your: DEFAULT_VERSIONS+=3D llvm=3D13 use. Looks like the subject line's reference to "llvm/clang14" is just incorrect at this point: that vintage has not been tried yet by you from what I can see. (Without LTO the system's llvm14 toolchain would be used, but you are trying LTO.) So far as I can tell, what is in your original description is all expected behavior for your context and the real complaint is that the port does not force an appropriate llvm vintage when LTO is specified, leaving you to manually manage that aspect, without giving you notice of such a status. --=20 You are receiving this mail because: You are the assignee for the bug.=