From owner-freebsd-python@FreeBSD.ORG Fri Dec 21 13:36:39 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB1E81A4 for ; Fri, 21 Dec 2012 13:36:39 +0000 (UTC) (envelope-from Alexander.Lenz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.freebsd.org (Postfix) with ESMTP id A33528FC0A for ; Fri, 21 Dec 2012 13:36:38 +0000 (UTC) Received: from mailhost.frm2.tum.de (localhost [127.0.0.1]) by mailhost.frm2.tum.de (8.14.4/8.14.4) with ESMTP id qBLDaV4m044852 for ; Fri, 21 Dec 2012 14:36:37 +0100 (CET) (envelope-from alexander.lenz@frm2.tum.de) X-Virus-Scanned: at mailhost.frm2.tum.de Received: from taco22.taco.frm2 (taco22.taco.frm2 [172.25.2.22]) (authenticated bits=0) by mailhost.frm2.tum.de (8.14.4/8.14.4) with ESMTP id qBLDZq7u044661 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Fri, 21 Dec 2012 14:35:52 +0100 (CET) (envelope-from alexander.lenz@frm2.tum.de) Message-ID: <50D465B9.2000506@frm2.tum.de> Date: Fri, 21 Dec 2012 14:35:53 +0100 From: Alexander Lenz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: python@FreeBSD.org Subject: Problems with building python ports inside a Tinderbox jail X-Enigmail-Version: 1.4.6 Content-Type: multipart/mixed; boundary="------------080909030504050007040805" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (mailhost.frm2.tum.de [129.187.179.12]); Fri, 21 Dec 2012 14:35:52 +0100 (CET) X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 13:36:39 -0000 This is a multi-part message in MIME format. --------------080909030504050007040805 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear port maintainers, I have a problem with building the python ports ('lang/Python27' and 'lang/Python26') inside a Tinderbox jail. The problem is related to the ctypes module. The ctypes module is built sucessfully, but importing it (which is done by the port installation) fails due to a undefined symbol('ffi_prep_closure_loc'). The ctypes module itself isn't mandatory but the installation renames the module library from '_ctypes.so' to '_ctypes_failed.so' which is not part of the pkg-plist. This wouldn't be a major problem on a real system but the Tinderbox recognizes the incomplete deinstallation (due to missing pkg-plist entries) and marks the port as invalid. I could patch for the pkg-plist of course, but fixing the real problem would be much better. Some information about the environment: - - The base system (which is hosting the Tinderbox) is a FreeBSD 9.0 amd64 on a virtual machine (VirtualBox) - - The used jail is a FreeBSD 8.2 RELENG i386. The jail was created with the '-a i386' option and its env file contains: ARCH=i386 MACHINE_ARCH=i386 UNAME_m=i386 UNAME_p=i386 Is it possible that the MACHINE_ARG causes some problems? Some things that I already tried/figured out: - - The port builds successfully on the base system - - The port builds successfully on a newly installed FreeBSD 8.2 i386 (in a new virtual machine - no jail). - - The port builds successfully inside a FreeBSD 8.2 RELENG amd64 jail To complete the information, I attached the 2 build logs (python26, python27)! Does anyone know a solution for this problem? Thank you in advance! Best regards Alexander Lenz - -- Alexander Lenz Softwareentwickler Instrumentsteuerung Software developer Instrument control Technische Universität München Forschungs-Neutronenquelle Heinz Maier-Leibnitz (FRM II) Lichtenbergstr. 1 85748 Garching Tel: +49.(0)89 289 14 728 Fax: +49.(0)89 289 14 666 Email: alexander.lenz@frm2.tum.de Web: www.frm2.tum.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ1GW5AAoJED2XSJAMvsTfg8gIAJjszJDoEzVLnBXq+8ArQdfW nbxgy1LHXrZHfY85IyOZDfPCnZYpur6kEDXme+3I2qZfzT7YWBW7NA5AFYjU08vn yAcG9BnZfVyQuq5m3r6y2WG+dY1s8C8YAB4/v5Qf+NWFGLTcCvVHpcDXoVNzvceA k3SZznPRdXnB6xY9OJlOJZ3yWz1uUwDFCmYti4SRbRYGtRbhMdlqenZ6S+Qu6tR/ v6Mvm4AsLAwwLSaztGFa+zwuncxjQcNNK8IjL6RLvSjjqRzzfEyFqUMYvNP9+ZbX XD7AtiWg2FA/H4Zkl1QKc4vnWqoVYJ/YqBCJwL77JURIJwVgvd5djg+Hz5DAKvo= =vuS2 -----END PGP SIGNATURE----- --------------080909030504050007040805--