[Users] Schedule for Ubuntu PPA Update
barry at python.org
Tue May 14 23:15:46 CEST 2013
On May 12, 2013, at 05:45 PM, Colin Leroy wrote:
>Building succeeds apart on 13.04 Raring, an issue that I'll have to
>deal with later. i386 builders are done, x86-64 not yet.
Did you have any problems with the Python plugin?
I looked briefly at why, now that raring has been released and auto-sync from
Debian has been re-enabled, saucy has not gotten 3.9.1-1 from sid. I actually
grabbed the sid source package and tried to build it in a saucy chroot, but
the build failed on the Python plugin.
The reason for this is that CM's configure.ac doesn't look for libpython.so in
a multiarch location. It needs to search the directory given by
$ dpkg-architecture -qDEB_HOST_MULTIARCH
I actually added this as a quilt patch to my local package, patching
configure.ac, but I had problems getting autoreconf run at the right step in
the build process, and then I ran out of time. (I did contact Ricardo
off-list about this, but he's probably as busy as me, and I haven't heard back
It's also entirely possible that my patch sucks, or some other failure is
involved once the multiarch search is fixed.
In any case, see below for the patch. Maybe upstream CM can incorporate this
for a 3.9.2 release?
@@ -1226,6 +1226,7 @@
if test x"$HAVE_PYTHON" = xyes; then
+ MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
if test -f "$PYTHON_PREFIX/lib/$PYTHON_SO_FILE"; then
@@ -1235,6 +1236,10 @@
PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/lib64/$PYTHON_SO_FILE\"))"`
+ if test -f "$PYTHON_PREFIX/$MULTIARCH/$PYTHON_SO_FILE"; then
+ PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/$MULTIARCH/$PYTHON_SO_FILE\"))"`
if test x"$found_libpython_so" != x"yes"; then
AC_MSG_WARN(Could not find Python shared libary: $PYTHON_SO_FILE does not exist. Maybe you need to install development packages for Python.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Users