From owner-freebsd-python@FreeBSD.ORG Sun Feb 27 15:43:51 2011 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA6D106564A; Sun, 27 Feb 2011 15:43:51 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id D31068FC13; Sun, 27 Feb 2011 15:43:50 +0000 (UTC) Received: by qyk27 with SMTP id 27so2545213qyk.13 for ; Sun, 27 Feb 2011 07:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2DkxLOz0BhqkNvogjqFoQVIboJ1vY6PL17FCSXCRtTg=; b=fwKYm67IfhvloSA09QuXzCjaCeLNV7yI3DafWLuAsCMH/D5kZifXzvP6Q8a+qspMCF k/P5A/jMHMTisXJ76HDvWpQ3s8vhlUA7KNwpYiF3VMowoKMe9erzS5XW1oMLX79Dc2PK Hj6V/Ovbtrm2E7emIWnbqqxYRlgnkUpDpDnGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=yGWopGmkiaVwcK0OO1EG0Z7bgbsm6Z58OnFmGpoExMPzjAVw+VeAFJ0eeytB+R7AE4 F8CA8wFkg4tgnGiQMv0gobdNKJaDn3tiAMhAAHDf/jSdfQyGRe/UMnOkGDgHn0vh87kU vMYfDljCyTgc+CFpJURmsl/YRGo1Cq+8eT+vE= MIME-Version: 1.0 Received: by 10.229.215.9 with SMTP id hc9mr3484868qcb.117.1298821429670; Sun, 27 Feb 2011 07:43:49 -0800 (PST) Sender: lwhsu.freebsd@gmail.com Received: by 10.229.41.148 with HTTP; Sun, 27 Feb 2011 07:43:49 -0800 (PST) In-Reply-To: References: <20110227071507.GA1599@gl.novel.int> Date: Sun, 27 Feb 2011 23:43:49 +0800 X-Google-Sender-Auth: xuSZV8F0Klgme9RQPX8-ZciD37o Message-ID: From: Li-Wen Hsu To: Roman Bogorodskiy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-python@freebsd.org Subject: Re: lang/python32 build error when WITHOUT_UCS4 defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 15:43:51 -0000 On Sun, Feb 27, 2011 at 22:24, Li-Wen Hsu wrote: > On Sun, Feb 27, 2011 at 15:15, Roman Bogorodskiy wrot= e: >> Hello, >> >> Tried to build fresh lang/python32 today and it fails when configured >> without UCS4 support: >> >> =3D=3D=3D> =C2=A0Building for python32-3.2.0_1 >> 444" make libpython3.2mu.so python; =C2=A0/bin/ln -f libpython3.2mu.so >> libpython3.2mu.so.1; =C2=A0/bin/ln -f python python-shared3.2 >> make: don't know how to make libpython3.2mu.so. Stop >> *** Error code 2 >> >> Stop in /usr/home/novel/ports_stuff/python32. >> *** Error code 1 >> >> It builds fine when omitting WITHOUT_UCS4 though. >> >> Tested on 8.2-PRERELEASE amd64. >> > > This is because when WITHOUT_UCS4 is defined, the shared library name > will become "libpython3.2m.so" > Please refer to [1], which also be discussed recently. > > I'm working on a patch for supporting these options. > > [1] http://docs.python.org/py3k/whatsnew/3.2.html#pep-3149-abi-version-ta= gged-so-files > This should be fixed now. --=20 Li-Wen Hsu http://lwhsu.org