Bug 258123 - editors/libreoffice do not conifgure with CUPS
Summary: editors/libreoffice do not conifgure with CUPS
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-28 19:11 UTC by gja822
Modified: 2021-08-30 05:23 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gja822 2021-08-28 19:11:12 UTC
Trying to upgrade libreoffice gives an error during configuration stage, in CUPS options is ON.

/usr/ports/editors/libreoffice# make CC=clang-devel CXX=clang++-devel CPP=clang-cpp-devel 
===>  License LGPL3+ MPL20 accepted by the user
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libreoffice-7.2.0.4_1 for building
===>  Extracting for libreoffice-7.2.0.4_1
=> SHA256 Checksum OK for libreoffice/libreoffice-7.2.0.4.tar.xz.
=> SHA256 Checksum OK for libreoffice/libreoffice-help-7.2.0.4.tar.xz.
=> SHA256 Checksum OK for libreoffice/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf.
=> SHA256 Checksum OK for libreoffice/dtoa-20180411.tgz.
=> SHA256 Checksum OK for libreoffice/skia-m90-45c57e116ee0ce214bdf78405a4762722e4507d9.tar.xz.
=> SHA256 Checksum OK for libreoffice/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip.
=> SHA256 Checksum OK for libreoffice/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip.
=> SHA256 Checksum OK for libreoffice/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip.
=> SHA256 Checksum OK for libreoffice/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip.
=> SHA256 Checksum OK for libreoffice/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip.
=> SHA256 Checksum OK for libreoffice/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip.
=> SHA256 Checksum OK for libreoffice/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar.
=> SHA256 Checksum OK for libreoffice/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip.
=> SHA256 Checksum OK for libreoffice/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip.
=> SHA256 Checksum OK for libreoffice/a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar.
=> SHA256 Checksum OK for libreoffice/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip.
=> SHA256 Checksum OK for libreoffice/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip.
=> SHA256 Checksum OK for libreoffice/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip.
=> SHA256 Checksum OK for libreoffice/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip.
=> SHA256 Checksum OK for libreoffice/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip.
=> SHA256 Checksum OK for libreoffice/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip.
=> SHA256 Checksum OK for libreoffice/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip.
===>  Patching for libreoffice-7.2.0.4_1
===>  Applying FreeBSD patches for libreoffice-7.2.0.4_1 from /usr/ports/editors/libreoffice/files
/usr/bin/sed -i.bak -e 's|%%LOCALBASE%%|/usr/local|'  /usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4/shell/source/unix/exec/shellexec.cxx
===>   libreoffice-7.2.0.4_1 depends on package: p5-Archive-Zip>=0 - found
===>   libreoffice-7.2.0.4_1 depends on executable: zip - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/include/sqlext.h - found
===>   libreoffice-7.2.0.4_1 depends on executable: cppunit-config - found
===>   libreoffice-7.2.0.4_1 depends on executable: dmake - found
===>   libreoffice-7.2.0.4_1 depends on package: gperf>=3.1 - found
===>   libreoffice-7.2.0.4_1 depends on package: mdds>=1.5 - found
===>   libreoffice-7.2.0.4_1 depends on executable: ucpp - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/include/sane/sane.h - found
===>   libreoffice-7.2.0.4_1 depends on executable: vigra-config - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/include/glm/glm.hpp - found
===>   libreoffice-7.2.0.4_1 depends on executable: bash - found
===>   libreoffice-7.2.0.4_1 depends on executable: gsed - found
===>   libreoffice-7.2.0.4_1 depends on package: py38-lxml>0 - found
===>   libreoffice-7.2.0.4_1 depends on package: flex>=0.26 - found
===>   libreoffice-7.2.0.4_1 depends on executable: ant - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/share/java/classes/commons-codec.jar - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/share/java/classes/commons-httpclient.jar - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/share/java/classes/commons-lang3.jar - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/share/java/classes/commons-logging.jar - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/share/java/classes/junit.jar - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/openjdk14/bin/java - found
===>   libreoffice-7.2.0.4_1 depends on executable: bison - found
===>   libreoffice-7.2.0.4_1 depends on executable: update-desktop-database - found
===>   libreoffice-7.2.0.4_1 depends on package: gmake>=4.3 - found
===>   libreoffice-7.2.0.4_1 depends on executable: gtk-update-icon-cache - found
===>   libreoffice-7.2.0.4_1 depends on package: pkgconf>=1.3.0_1 - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/bin/python3.8 - found
===>   libreoffice-7.2.0.4_1 depends on executable: update-mime-database - found
===>   libreoffice-7.2.0.4_1 depends on package: gstreamer1-plugins>=1.4 - found
===>   libreoffice-7.2.0.4_1 depends on package: autoconf>=2.69 - found
===>   libreoffice-7.2.0.4_1 depends on package: automake>=1.16.1 - found
===>   libreoffice-7.2.0.4_1 depends on package: xorgproto>=0 - found
===>   libreoffice-7.2.0.4_1 depends on package: xorgproto>=0 - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   libreoffice-7.2.0.4_1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   libreoffice-7.2.0.4_1 depends on package: perl5>=5.32.r0<5.33 - found
===>   libreoffice-7.2.0.4_1 depends on package: qt5-buildtools>=5.15.2 - found
===>   libreoffice-7.2.0.4_1 depends on package: qt5-qmake>=5.15.2 - found
===>   libreoffice-7.2.0.4_1 depends on shared library: libapr-1.so - found (/usr/local/lib/libapr-1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libboost_date_time.so - found (/usr/local/lib/libboost_date_time.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libbox2d.so - found (/usr/local/lib/libbox2d.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libicutu.so - found (/usr/local/lib/libicutu.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: liblangtag.so - found (/usr/local/lib/liblangtag.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: liborcus-0.16.so - found (/usr/local/lib/liborcus-0.16.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libplds4.so - found (/usr/local/lib/libplds4.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libgraphite2.so - found (/usr/local/lib/libgraphite2.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libcdr-0.1.so - found (/usr/local/lib/libcdr-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libepoxy.so - found (/usr/local/lib/libepoxy.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libetonyek-0.1.so - found (/usr/local/lib/libetonyek-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libfreehand-0.1.so - found (/usr/local/lib/libfreehand-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libgltf-0.0.so - found (/usr/local/lib/libgltf-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libwpg-0.3.so - found (/usr/local/lib/libwpg-0.3.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libzmf-0.0.so - found (/usr/local/lib/libzmf-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libpoppler.so - found (/usr/local/lib/libpoppler.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libqrcodegencpp.so - found (/usr/local/lib/libqrcodegencpp.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: liblpsolve55.so - found (/usr/local/lib/liblpsolve55.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libcmis-0.5.so - found (/usr/local/lib/libcmis-0.5.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libharfbuzz-icu.so - found (/usr/local/lib/libharfbuzz-icu.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libmspub-0.1.so - found (/usr/local/lib/libmspub-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libpagemaker-0.0.so - found (/usr/local/lib/libpagemaker-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libnss3.so - found (/usr/local/lib/libnss3.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libxmlsec1-nss.so - found (/usr/local/lib/libxmlsec1-nss.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libclucene-core.so - found (/usr/local/lib/libclucene-core.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libhunspell-1.7.so - found (/usr/local/lib/libhunspell-1.7.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libhyphen.so - found (/usr/local/lib/libhyphen.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libabw-0.1.so - found (/usr/local/lib/libabw-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libe-book-0.1.so - found (/usr/local/lib/libe-book-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libepubgen-0.1.so - found (/usr/local/lib/libepubgen-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libexttextcat-2.0.so - found (/usr/local/lib/libexttextcat-2.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libmwaw-0.3.so - found (/usr/local/lib/libmwaw-0.3.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libnumbertext-1.0.so - found (/usr/local/lib/libnumbertext-1.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libodfgen-0.1.so - found (/usr/local/lib/libodfgen-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libqxp-0.0.so - found (/usr/local/lib/libqxp-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: librevenge-0.0.so - found (/usr/local/lib/librevenge-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libstaroffice-0.0.so - found (/usr/local/lib/libstaroffice-0.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libvisio-0.1.so - found (/usr/local/lib/libvisio-0.1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libwpd-0.10.so - found (/usr/local/lib/libwpd-0.10.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libwps-0.4.so - found (/usr/local/lib/libwps-0.4.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libmythes-1.2.so - found (/usr/local/lib/libmythes-1.2.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libraptor2.so - found (/usr/local/lib/libraptor2.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: librdf.so - found (/usr/local/lib/librdf.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libZXing.so - found (/usr/local/lib/libZXing.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libxcb-icccm.so - found (/usr/local/lib/libxcb-icccm.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libserf-1.so - found (/usr/local/lib/libserf-1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libcups.so - found (/usr/local/lib/libcups.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libdbus-glib-1.so - found (/usr/local/lib/libdbus-glib-1.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libGLEW.so - found (/usr/local/lib/libGLEW.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libdconf.so - found (/usr/local/lib/libdconf.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libldap-2.4.so.2 - found (/usr/local/lib/libldap-2.4.so.2)
===>   libreoffice-7.2.0.4_1 depends on shared library: libgstreamer-1.0.so - found (/usr/local/lib/libgstreamer-1.0.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libQt5Core.so - found (/usr/local/lib/qt5/libQt5Core.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libQt5Gui.so - found (/usr/local/lib/qt5/libQt5Gui.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libQt5Network.so - found (/usr/local/lib/qt5/libQt5Network.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libQt5Widgets.so - found (/usr/local/lib/qt5/libQt5Widgets.so)
===>   libreoffice-7.2.0.4_1 depends on shared library: libQt5X11Extras.so - found (/usr/local/lib/qt5/libQt5X11Extras.so)
===>  Configuring for libreoffice-7.2.0.4_1
configure: WARNING: unrecognized options: --with-build-version, --with-commons-codec-jar, --with-commons-httpclient-jar, --with-commons-lang-jar, --with-commons-logging-jar, --disable-neon
configure: loading site script /usr/ports/Templates/config.site
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... amd64-portbld-freebsd12.2
checking host system type... amd64-portbld-freebsd12.2
checking for product name... LibreOffice
checking for package version... 7.2.0.4
checking for product version... 7.2
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... /usr/local/bin/gmake
checking for sed... (cached) /usr/local/bin/gsed
checking whether to use link-time optimization... no
checking the FreeBSD operating system release... found OSVERSION=1202508
checking which thread library to use... -pthread
configure: VCL platform uses freetype+fontconfig: yes
configure: VCL platform uses headless plugin: yes
configure: VCL platform uses vclplug: yes
configure: VCL platform uses X11: yes
checking for explicit AFLAGS... no
checking for explicit CFLAGS... -O2 -pipe -march=bdver2  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing 
checking for explicit CXXFLAGS... -O2 -pipe -march=bdver2 -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS...  -L/usr/local/lib  -fstack-protector-strong 
checking for gcc... clang-devel
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang-devel accepts -g... yes
checking for clang-devel option to enable C11 features... none needed
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for library containing dlsym... none required
checking whether build target is Release Build... yes
checking whether to build a Community flavor... yes
checking whether to sign windows build... no
checking for gawk... (cached) /usr/bin/awk
checking for /usr/bin/awk... /usr/bin/awk
checking for bash... /usr/local/bin/bash
checking for GNU or BSD tar... /usr/bin/tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking for ccache... not found
checking gcc home... 
checking for clang-devel... /usr/local/bin/clang-devel
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking for -isystem ... yes
checking whether the compiler is actually Clang... yes
checking whether Clang is new enough... yes (
14.0.0)
checking whether clang-devel supports -ggdb2... no
checking whether to build with additional debug utilities... no
checking whether to do a debug build... no
checking for linker that is used... LLD 14.0.0 (compatible with GNU linkers)
checking for -Bsymbolic-functions linker support... not found 
checking for --gc-sections linker support... not found 
checking for -dead_strip linker support... not found 
checking whether clang-devel supports -Xclang -debug-info-kind=constructor... no
checking whether to generate debug information... no
checking whether to compile with optimization flags... yes
checking which package format to use... none
checking for syslog.h... no
checking whether to turn warnings to errors... no
checking whether to have assert() failures abort even without --enable-debug... no
checking whether to use ooenv for the instdir installation... no
checking whether to enable CUPS support... yes
checking whether cups support is present... checking for cupsPrintFiles in -lcups... no
checking for cups/cups.h... no
configure: error: Could not find CUPS. Install libcups2-dev or cups-devel.
===>  Script "configure" failed unexpectedly.
Please report the problem to office@FreeBSD.org [maintainer] and attach the
"/usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/editors/libreoffice
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/libreoffice
Comment 1 gja822 2021-08-28 19:12:31 UTC
(In reply to gja822 from comment #0)
Upgrade
libreoffice-7.1.5.2_2              <   needs updating (index has 7.2.0.4_1)
Comment 2 Dima Panov freebsd_committer 2021-08-29 00:58:03 UTC
your CUPS installation seems to be broken.

in a clean environment (poudriere, this way is recommended to build a such massive suite) it cannot to be reproduced.

checking whether to enable CUPS support... yes
checking whether cups support is present... checking for cupsPrintFiles in -lcups... yes
checking for cups/cups.h... yes
Comment 3 gja822 2021-08-29 20:12:35 UTC
(In reply to Dima Panov from comment #2)
No, I have nicely installed (and reinstalled) CUPS. It occurs that it is system/ compiler error.

Also I've tried ports' llvm-devel:
clang version 14.0.0

In this case I get this error during configuration. Take a look at line with CLANG_FULL_VERSION. Somehow it is broken before the actual version string.
So, the actual error is not with CUPS, but with compiler version string.
--------------------------------------------------------
/* confdefs.h */
#define PACKAGE_NAME "LibreOffice"
#define PACKAGE_TARNAME "libreoffice"
#define PACKAGE_VERSION "7.2.0.4"
#define PACKAGE_STRING "LibreOffice 7.2.0.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://documentfoundation.org/"
#define LIBO_VERSION_MAJOR 7
#define LIBO_VERSION_MINOR 2
#define LIBO_VERSION_MICRO 0
#define LIBO_VERSION_PATCH 4
#define LIBO_THIS_YEAR 2021
#define SRCDIR "/usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4"
#define SRC_ROOT "/usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4"
#define BUILDDIR "/usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4"
#define ENABLE_HEADLESS 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_FEATURE_COMMUNITY_FLAVOR 1
#define HAVE_FEATURE_DESKTOP 1
#define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 1
#define HAVE_FEATURE_AVMEDIA 1
#define HAVE_FEATURE_DBCONNECTIVITY 1
#define HAVE_FEATURE_EXTENSIONS 1
#define HAVE_FEATURE_SCRIPTING 1
#define HAVE_FEATURE_JAVA 1
#define LIBO_BIN_FOLDER "program"
#define LIBO_ETC_FOLDER "program"
#define LIBO_LIBEXEC_FOLDER "program"
#define LIBO_LIB_FOLDER "program"
#define LIBO_LIB_PYUNO_FOLDER "program"
#define LIBO_SHARE_FOLDER "share"
#define LIBO_SHARE_HELP_FOLDER "help"
#define LIBO_SHARE_JAVA_FOLDER "program/classes"
#define LIBO_SHARE_PRESETS_FOLDER "presets"
#define LIBO_SHARE_RESOURCE_FOLDER "program/resource"
#define LIBO_SHARE_SHELL_FOLDER "program/shell"
#define LIBO_URE_BIN_FOLDER "program"
#define LIBO_URE_ETC_FOLDER "program"
#define LIBO_URE_LIB_FOLDER "program"
#define LIBO_URE_MISC_FOLDER "program"
#define LIBO_URE_SHARE_JAVA_FOLDER "program/classes"
#define CLANG_VERSION 140000
#define CLANG_FULL_VERSION 
"14.0.0 "
#define HAVE_FEATURE_UI 1
#define USING_X11 1
#define WORKDIR "/usr/ports/editors/libreoffice/work/libreoffice-7.2.0.4/workdir"
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
char cupsPrintFiles ();
int
main (void)
{
return cupsPrintFiles ();
  ;
  return 0;
}
--------------------------------------------------------
The actual error:
conftest.c:53:1: error: expected identifier or '('
"14.0.0 "
^
conftest.c:66:8: warning: implicit declaration of function 'cupsPrintFiles' is invalid in C99 [-Wimplicit-function-declaration]
return cupsPrintFiles ();
       ^
1 warning and 1 error generated.
--------------------------------------------------------

I'm sorry for the trouble.
Comment 4 Dima Panov freebsd_committer 2021-08-30 05:23:01 UTC
Not a LO bug. Unsupported recent compiler (clang14) error on a cups library.