From nobody Sat May 14 22:59:58 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 3B4CD1AE37F3 for ; Sat, 14 May 2022 22:59:59 +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 4L11Dt6mPLz4t7n for ; Sat, 14 May 2022 22:59:58 +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 C4751200B0 for ; Sat, 14 May 2022 22:59:58 +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 24EMxwDP090845 for ; Sat, 14 May 2022 22:59:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24EMxwKk090844 for office@FreeBSD.org; Sat, 14 May 2022 22:59:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-feedback requested: [Bug 263976] editors/libreoffice: Fails to build using llvm/clang14 on recent src main Date: Sat, 14 May 2022 22:59:58 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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=1652569199; 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=yXXiHjg/4kAbczzaA6dCZnsMNmp+Nf0N75LKokbf78A=; b=iLNPq4v2iSnma81mHj+BGs1DbJ3q62aZ7knGvnSlHAS94oJvjJlNRRVhk00BhvOSS0FoCM qJ1go33iDtA6smOaMY5p6E5GFGVBbo3mdnoyq/lx7bJxdtxf42TaTwfVTjJ3TPjH5bS/ny O21tHlgry/axpIBLRktRBV/7Z/zPHCIvHS9h0qfzcUU8yhnUkqmVc26gom6AaVrc1AX9Po UkO0F3PTrgyD9cTCd6P8yH3Bsyf0APIwGqCiU3bnj5ac+brRiZrhm6kNvOfWbiLydoktyz 8fKZbNij7o3e/Xlm8ZkQbzOcsef3bjDYZX7uGZegCB4kmi9natNuIo7Jn0SOJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652569199; a=rsa-sha256; cv=none; b=rqiyJvq57vPRvtEUnwjn6KTSlXPPHJhj+cTQmqEva794YMBzg7NEBIVIefBm0F9T/NuWvI DGuq++eAr9TbdQwcljnwa0Gd6Vf2pZwAAMy24joAdiJmO9/o7NOidXFVu2puzKtKdb6xts bdmiSKSxAGG9NONkncZ2/cTYhRZC+jfTN67fcTN6Y0UME6slbx5aREOKOxy3zNPs2F5sn2 /zV/4M67HW26uY/WvuRA5ifIw0Ih4tmN+gkPsJsoCR+y9lbRwI4gRRR0KVnpsYAiShYQIn iqmCv4yqjutfXivycTGwudKkKYM+/wzrmkezardQd/md8UWOZzZqYeYTcv2l0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked FreeBSD Office Team for maintainer-feedback: Bug 263976: editors/libreoffice: Fails to build using llvm/clang14 on recent src main https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263976 --- Description --- editors/libreoffice: Fails to build using llvm/clang14 on src main at git 3a9a9c0ca44ec535dcf73fe8462bee458e54814b. error: no viable conversion from 'StrictNumeric' to 'float' If it's not easy to fix, temporarily putting if ${.CURDIR:M/usr/ports/editors/libreoffice} DEFAULT_VERSIONS+=3D llvm=3D13 .endif on /etc/make.conf allowed editors/libreoffice to build. Not tried, but forcibly setting LLVM_DEFAULT=3D13 in Makefile would be sufficient. Currently, graphics/mesa-dri, which is required by x11-servers/xorg-server, requires devel/llvm13. So depending on it may be no pain for now. But it wo= uld switch to newer llvm in the future. Fixing editors/libreoffice for llvm14 a= nd newer would be required in the future anyway. Actual error log: [CXX] workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp S=3D/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2 && I=3D$S/instd= ir && W=3D$S/workdir && mkdir -p $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ $W/Dep/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ && cd /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2 && CCACHE_CPP2=3D1= =20=20=20=20 /usr/local/bin/clang++90 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=3Dgcc3 -DFREEBSD -DNDEBUG -DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -isyst= em /usr/local/include -DFPDF_IMPLEMENTATION -DUSE_SYSTEM_LCMS2 -DUSE_SYSTEM_LIBJPEG -DUSE_SYSTEM_ZLIB -DUSE_SYSTEM_ICUUC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DUNICODE -DWIN32_LEAN_AND_MEAN -DCOMPONENT_BUILD -DUSE_SYSTEM_LIBOPENJPEG2 -DSYSTEM_ZLIB -DZLIB_CONST=20 -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H=3D'' -DFT_CONFIG_OPTIONS_H=3D'' -flto=3Dthin -fvisibility=3Dhidden -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -Wembedded-directive -finput-charset=3DUTF-8 -fmessage-length=3D0 -fno-comm= on -pipe -fstack-protector-strong -fdiagnostics-color=3Dalways -Wimplicit-fallthrou= gh -Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hid= den -fPIC -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs -std=3Dc++17 -O2 -pipe -march=3Dhaswell -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DEXCEPTIONS_ON -fexceptions -w -DLIBO_INTERNAL_ONLY = -c $W/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_transparency.cpp -o $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_transparency.= o=20 -I$W/UnpackedTarball/pdfium/third_party/freetype/include/ -I$W/UnpackedTarball/pdfium/third_party/freetype/src/include/ -I$W/UnpackedTarball/pdfium -I$W/UnpackedTarball/pdfium/third_party -I$W/UnpackedTarball/pdfium/third_party/agg23 -isystem /usr/local/include/openjpeg-2.4 -I$S/include -I/usr/local/openjdk11/inclu= de -I/usr/local/openjdk11/include/freebsd -I/usr/local/openjdk11/include/bsd -I/usr/local/openjdk11/include/linux -I$S/config_host -isystem /usr/local/include -Wno-long-long=20=20=20=20=20 /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:246:14: error: no viable conversion from 'StrictNumeric' to 'float' Push(result.ValueOrDefault(0)); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/third_party/base/numerics/safe_conversions.h:300:13: note: candidate template ignored: requirement 'IsNumericRangeContained::value' was not satisfied [with Dst =3D float] constexpr operator Dst() const { ^ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:195:32: note: passing argument to parameter 'v' here void CPDF_PSEngine::Push(float v) { ^ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:257:14: error: no viable conversion from 'StrictNumeric' to 'float' Push(result.ValueOrDefault(0)); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/third_party/base/numerics/safe_conversions.h:300:13: note: candidate template ignored: requirement 'IsNumericRangeContained::value' was not satisfied [with Dst =3D float] constexpr operator Dst() const { ^ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:195:32: note: passing argument to parameter 'v' here void CPDF_PSEngine::Push(float v) { ^ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:385:12: error: no viable conversion from 'StrictNumeric' to 'float' Push(result.ValueOrDefault(0)); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/third_party/base/numerics/safe_conversions.h:300:13: note: candidate template ignored: requirement 'IsNumericRangeContained::value' was not satisfied [with Dst =3D float] constexpr operator Dst() const { ^ /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_psengine.cpp:195:32: note: passing argument to parameter 'v' here void CPDF_PSEngine::Push(float v) { ^ test -f /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_dib.cpp || (echo "Missing generated source file /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/UnpackedTar= ball /pdfium/core/fpdfapi/page/cpdf_dib.cpp" && false) [CXX] workdir/UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_stream= .cpp S=3D/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2 && I=3D$S/instd= ir && W=3D$S/workdir && mkdir -p $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ $W/Dep/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ && cd /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2 && CCACHE_CPP2=3D1= =20=20=20=20 /usr/local/bin/clang++90 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=3Dgcc3 -DFREEBSD -DNDEBUG -DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -isyst= em /usr/local/include -DFPDF_IMPLEMENTATION -DUSE_SYSTEM_LCMS2 -DUSE_SYSTEM_LIBJPEG -DUSE_SYSTEM_ZLIB -DUSE_SYSTEM_ICUUC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DUNICODE -DWIN32_LEAN_AND_MEAN -DCOMPONENT_BUILD -DUSE_SYSTEM_LIBOPENJPEG2 -DSYSTEM_ZLIB -DZLIB_CONST=20 -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H=3D'' -DFT_CONFIG_OPTIONS_H=3D'' -flto=3Dthin -fvisibility=3Dhidden -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -Wembedded-directive -finput-charset=3DUTF-8 -fmessage-length=3D0 -fno-comm= on -pipe -fstack-protector-strong -fdiagnostics-color=3Dalways -Wimplicit-fallthrou= gh -Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hid= den -fPIC -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs -std=3Dc++17 -O2 -pipe -march=3Dhaswell -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DEXCEPTIONS_ON -fexceptions -w -DLIBO_INTERNAL_ONLY = -c $W/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp -o $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.o=20 -I$W/UnpackedTarball/pdfium/third_party/freetype/include/ -I$W/UnpackedTarball/pdfium/third_party/freetype/src/include/ -I$W/UnpackedTarball/pdfium -I$W/UnpackedTarball/pdfium/third_party -I$W/UnpackedTarball/pdfium/third_party/agg23 -isystem /usr/local/include/openjpeg-2.4 -I$S/include -I/usr/local/openjdk11/inclu= de -I/usr/local/openjdk11/include/freebsd -I/usr/local/openjdk11/include/bsd -I/usr/local/openjdk11/include/linux -I$S/config_host -isystem /usr/local/include -Wno-long-long=20=20=20=20=20 3 errors generated. gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/solenv/gbuild/Link= Targ et.mk:400: /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/GenCxxObjec= t/Un packedTarball/pdfium/core/fpdfapi/page/cpdf_psengine.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... rm /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word_he.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_he.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/count_word.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_hu.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_he.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_prepostdash.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_nodash.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/sent.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word_hu.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/line.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word_hu.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/edit_word_he.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/sent.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_hu.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_prepostdash.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/line.txt /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/count_word.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word.brk /usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/CustomTarge= t/i1 8npool/breakiterator/dict_word_nodash.brk gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2' gmake[2]: *** [Makefile:288: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Stop. make: stopped in /usr/ports/editors/libreoffice egrep: empty (sub)expression ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20220515-6756-7x82de env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dlibreoffice-7.3.3.2 UPGRADE_PORT_VER=3D7.3.3.2 "LOCALIZED_LA= NG=3Dja CPUTYPE=3Dhaswell" make DISABLE_VULNERABILITIES=3Dyes ** Fix the problem and try again.