From owner-freebsd-office@freebsd.org Sun Sep 9 22:42:15 2018 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E46FF10A0F2F for ; Sun, 9 Sep 2018 22:42:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6384784631 for ; Sun, 9 Sep 2018 22:42:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 24D6A10A0F29; Sun, 9 Sep 2018 22:42:14 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 136B010A0F28 for ; Sun, 9 Sep 2018 22:42:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A95B68462B for ; Sun, 9 Sep 2018 22:42:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F2BD711055 for ; Sun, 9 Sep 2018 22:42:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w89MgCSF099519 for ; Sun, 9 Sep 2018 22:42:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w89MgClu099518 for office@FreeBSD.org; Sun, 9 Sep 2018 22:42:12 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 231273] editors/libreoffice fails to build with Python-2.7 Date: Sun, 09 Sep 2018 22:42:12 +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 MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2018 22:42:15 -0000 Bugzilla Automation has asked freebsd-office mailing list for maintainer-feedback: Bug 231273: editors/libreoffice fails to build with Python-2.7 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231273 --- Description --- The error: [...] /spare/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/pyuno/source/= modu le/pyuno_util.cxx:45:5: error: static_assert failed "bad assumption" static_assert(sizeof (wchar_t) =3D=3D Py_UNICODE_SIZE, "bad assumption"= ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /spare/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/pyuno/source/= modu le/pyuno_util.cxx:46:18: error: no matching function for call to 'PyUnicodeUCS2_FromUnicode' ret =3D PyRef( PyUnicode_FromUnicode( reinterpret_cast(str.getStr()), str.getLength() ), SAL_NO_ACQUIRE ); ^~~~~~~~~~~~~~~~~~~~~ /opt/include/python2.7/unicodeobject.h:196:32: note: expanded from macro 'PyUnicode_FromUnicode' # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/include/python2.7/unicodeobject.h:464:23: note: candidate function not viable: no known conversion from 'const wchar_t *' to 'const Py_UNICODE *' = (aka 'const unsigned short *') for 1st argument PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^ /opt/include/python2.7/unicodeobject.h:196:32: note: expanded from macro 'PyUnicode_FromUnicode' # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode ^ 7 warnings and 2 errors generated. [...]