From owner-freebsd-stable@FreeBSD.ORG Thu Nov 29 05:20:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A6B0A17 for ; Thu, 29 Nov 2012 05:20:45 +0000 (UTC) (envelope-from mcg@sulfegate.org) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id ADD758FC08 for ; Thu, 29 Nov 2012 05:20:44 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so16329982obc.13 for ; Wed, 28 Nov 2012 21:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sulfegate.org; s=google; h=mime-version:sender:x-originating-ip:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=rTogG4T29ZoayVwm8BO/Z9rxhmQg+Ci8VcQfzs5f+3I=; b=SACiVrQlA5WgqXQfeAE+6PEyLoBlWYO247jlu8gxGBgfa/Jd1NeaKVj/3P4qDjAzi8 xtQwEZV7zoeP/6XioOp6A7PUxKXMVBcqohrdoDIJ8te+MEh1OXt0HPhEM+AYsCY0i9Wu AUzEoQYDgnYbFBk7RnR1ted29iqwlLSIxbvKY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=rTogG4T29ZoayVwm8BO/Z9rxhmQg+Ci8VcQfzs5f+3I=; b=HJOv7KM+UgVb3SlVJk87ZYd8syN1WiOm75M7OyQDTXo73fB0VEGDAMBxMQx3EUfdLG t1TllYo6b058zmVB5srGKR+/oVzGlg9/ZfP9kFTLsGjm4AQZHoyFJjPFiiGBE4eLNqAi ZXNkJdeq/v76dd6p7bi9L3PgZt/7j7xNoVkM+VRroAG9RxxS3goK4KNaCph2g19QhPLW XUdV3v7gRT7T94K93MkBYSN6wCNC9kQkKgdVXNnpkBmUE7s3Cjhn6e2YABxhjOZmfBvs cX3D2cg8i8gxjx0mfhH0R5nQmmgDdNqHayExflspWC3FlsfbCktfrVk8nPfKxQLMt7RI Fsfg== Received: by 10.60.1.169 with SMTP id 9mr627436oen.93.1354166443818; Wed, 28 Nov 2012 21:20:43 -0800 (PST) MIME-Version: 1.0 Sender: mcg@sulfegate.org Received: by 10.76.154.135 with HTTP; Wed, 28 Nov 2012 21:20:13 -0800 (PST) X-Originating-IP: [2001:470:1f05:6c6:c490:2526:b1a3:1c58] In-Reply-To: References: From: "Galati, Michael" Date: Wed, 28 Nov 2012 21:20:13 -0800 X-Google-Sender-Auth: tdkAayWk40cjCNDeAavsc-ZWZi8 Message-ID: Subject: Re: Unable to compile Python 2.7.3 (latest) from ports on 9.1-RC3 To: Jakob Breivik Grimstveit Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlvm2U9rl51vvw5GcKraCwotKdzZZQg/DuPgbSZxChzeAGWdS1MNYUNM2IdCEiC/97mA1JR Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 05:20:45 -0000 On Wed, Nov 28, 2012 at 1:31 AM, Jakob Breivik Grimstveit wrote: > > I get this when compiling lang/python27 on a freshly upgraded 9.1-RC3: > > cc -shared -pthread -pthread -O2 -pipe -march=nocona -fno-strict-aliasing > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/_ctypes.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/callbacks.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/callproc.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/stgdict.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/cfield.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/prep_cif.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/closures.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/dlmalloc.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/ffi64.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/unix64.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/ffi.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/sysv.o > -L/usr/local/lib -o build/lib.freebsd-9.1-RC3-amd64-2.7/_ctypes.so > > Python build finished, but the necessary bits to build these modules were > not found: > _tkinter dl imageop > linuxaudiodev spwd sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the > module's name. > (snip) Looks ok to me. You can run the python interpreter, right? sunaudiodev and linuxaudiodev, at least, you almost certainly don't need. spwd is for dealing with /etc/shadow (FreeBSD uses /etc/master.passwd instead, so it doesn't apply afaik). dl is deprecated in favour of ctypes (which you should have already). __tkinter is intentionally not included because it depends on X11; if you need it install x11-toolkits/py-tkinter. imageop is also deprecated, and would only work on i386; graphics/py-imaging is the replacement, apparently.