From owner-freebsd-office@freebsd.org Wed Aug 9 03:50:50 2017 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3D2CDC1970 for ; Wed, 9 Aug 2017 03:50:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) 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 BBF72F64 for ; Wed, 9 Aug 2017 03:50:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B876FDC196D; Wed, 9 Aug 2017 03:50:50 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7E26DC196C; Wed, 9 Aug 2017 03:50:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83D76F62; Wed, 9 Aug 2017 03:50:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x241.google.com with SMTP id c65so4956632pfl.0; Tue, 08 Aug 2017 20:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mMCt8siyUcfEHTm05NmkIhZby7XP98mZ6cE0TueFWAU=; b=uWd16FqvsNIUsGjg17JPJtk56SYHa4wFNRrsRLyXZ0qKoLmQXAIVty73czVxHt2WcB LIz8Q989pHe9x04s8ZgqQFR0Fe2yhu05qddVT/HwNAW4EuogAMh7IrgBvjMIEcRf/bB4 R4tFox0k4yCFAeJaedDR+ZBeDqV71InBRQAjjMwLE8q1VZ93aiTjNruWG8sKtSBpiXWm 9WcpY7bWr3XPQNwSsCNa02m5qhUlb3J2YVdTrYMbcvRgshv2e1B3K1n7gw59Zmh2I6fg 40zURgWgSk+okivu1Kjkz/k3sxHSPB3GHdCc6OT4z/sUa+HQeEcWkI3+Sa928sfF9Vtf ehrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=mMCt8siyUcfEHTm05NmkIhZby7XP98mZ6cE0TueFWAU=; b=tipKLhRnKztxa/NO5g0032UhNoLxBVzkxvNm3bY1IffkNjMVPRZ5FF0Q3eG7q5Pm/u oLgrXuySv4cbuwGMiVG8CKDf0UfwtMnA+5znvsmwv4SCTgiLftU1rIbrUhuwHaferq9v f8jFIxO7BixXVGI5syJne6h2ccp6iryuDNcrc4qopX/Y+omEToKAJe/lqFaDt9UAmcyd Ms+BEJT8cPEclKnvGG75EVzEkPbn/gqiVyt/2nFySNc3RubU9+tOHV9QyMRm3qTM/gXZ B/2awJ8uF+UqGNAWWPmxoUiygwrlbJp4uXYhIIG49PrCJbDcfWa5NEV6dFRsGsGk+48Q 3NSQ== X-Gm-Message-State: AHYfb5jn4Uef/Soxfryy/1nXvjxXMW1hpUiEVKgTBJagZigJ+OK/IElK /LDHB8NsAB5CrFcKhII= X-Received: by 10.84.233.132 with SMTP id l4mr7254274plk.298.1502250649798; Tue, 08 Aug 2017 20:50:49 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:584:283a:c57e:de2a? (2001-44b8-31ae-7b01-0584-283a-c57e-de2a.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:584:283a:c57e:de2a]) by smtp.gmail.com with ESMTPSA id f15sm4476846pgu.90.2017.08.08.20.50.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Aug 2017 20:50:49 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: libreoffice-5.3.5.2 would not build for me with Python-2.7 To: "Mikhail T." , office@FreeBSD.org, python@FreeBSD.org References: From: Kubilay Kocak Message-ID: Date: Wed, 9 Aug 2017 13:45:19 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 03:50:51 -0000 On 8/9/17 7:24 AM, Mikhail T. wrote: > I have python=3.6 in my DEFAULT_VERSIONS, but both 2.7 and 3.6 are > installed. > > While trying to build libreoffice, the build attempted to use 2.7 and I > kept getting the compiler errors like this: > > pyuno_util.cxx:43:18: error: no matching function for call to > 'PyUnicodeUCS2_FromUnicode' > > until I changed the USES line in editors/libreoffice/Makefile from > simply "python" to "python:3". > > I don't think, that should be necessary -- simply having "python" there > should've picked up my desired default version, right? Not sure, if this > is the problem of libreoffice or python... Yours, > > -mi > What, if any OPTIONS have been set/unset for lang/python27? This could be related to: ====> Unicode support: you have to select exactly one of them UCS2=off: Enable UCS2 Unicode Strings UCS4=on: Enable UCS4 Unicode Strings