[Users] Schedule for Ubuntu PPA Update

Barry Warsaw 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
yet. ;)

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?

-Barry

--- a/configure.ac
+++ b/configure.ac
@@ -1226,6 +1226,7 @@
 	if test x"$HAVE_PYTHON" = xyes; then
 		# libpython.so
 		PYTHON_SO_FILE="libpython${PYTHON_VERSION}.so"
+                MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
 		found_libpython_so="no"
 		if test -f "$PYTHON_PREFIX/lib/$PYTHON_SO_FILE"; then
 			found_libpython_so="yes"
@@ -1235,6 +1236,10 @@
 			found_libpython_so="yes"
 			PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/lib64/$PYTHON_SO_FILE\"))"`
 		fi
+		if test -f "$PYTHON_PREFIX/$MULTIARCH/$PYTHON_SO_FILE"; then
+			found_libpython_so="yes"
+			PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/$MULTIARCH/$PYTHON_SO_FILE\"))"`
+		fi
 		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.)
 			HAVE_PYTHON=no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20130514/ed8f8088/attachment.sig>


More information about the Users mailing list