From nobody Sun Aug 29 20:12:35 2021 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 7A84817A8782 for ; Sun, 29 Aug 2021 20:12:35 +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 4GyPkq2yrfz3lYP for ; Sun, 29 Aug 2021 20:12:35 +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 4E560110F9 for ; Sun, 29 Aug 2021 20:12:35 +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 17TKCZp3073053 for ; Sun, 29 Aug 2021 20:12:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17TKCZft073052 for office@FreeBSD.org; Sun, 29 Aug 2021 20:12:35 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 258123] editors/libreoffice do not conifgure with CUPS Date: Sun, 29 Aug 2021 20:12:35 +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: gja822@narod.ru 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258123 --- Comment #3 from gja822@narod.ru --- (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=20 "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. --=20 You are receiving this mail because: You are the assignee for the bug.=