Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 14:35:53 +0100
From:      Alexander Lenz <Alexander.Lenz@frm2.tum.de>
To:        python@FreeBSD.org
Subject:   Problems with building python ports inside a Tinderbox jail
Message-ID:  <50D465B9.2000506@frm2.tum.de>

next in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50D465B9.2000506>