Your message dated Tue, 21 May 2013 21:04:28 +0000
with message-id <e1uetjq-00043m...@franck.debian.org>
and subject line Bug#692390: fixed in mod-wsgi 3.4-2
has caused the Debian Bug report #692390,
regarding mod-wsgi: FTBFS against python3.3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
692390: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692390
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mod-wsgi
Severity: normal
Version: 3.4-1
User: debian-pyt...@lists.debian.org
Usertags: python3.3
Tags: patch
Mod-wsgi fails to build from source against python3.3, because in debian
it has multiple include locations.
Please apply the proposed patch, or solve this bug in some other way.
diff -Nru mod-wsgi-3.4/debian/changelog mod-wsgi-3.4/debian/changelog
--- mod-wsgi-3.4/debian/changelog 2012-08-23 06:41:00.000000000 +0000
+++ mod-wsgi-3.4/debian/changelog 2012-10-23 15:20:47.000000000 +0000
@@ -1,3 +1,10 @@
+mod-wsgi (3.4-0ubuntu2) raring-proposed; urgency=low
+
+ * Patch configure.ac to build against pythonX.Y-config. This builds
+ python3.3 module, but default module symlink still points to 3.2.
+
+ -- Dmitrijs Ledkovs <dmitrij.led...@ubuntu.com> Tue, 23 Oct 2012 16:00:24 +0100
+
mod-wsgi (3.4-0ubuntu1) quantal; urgency=low
* New upstream release
diff -Nru mod-wsgi-3.4/debian/control mod-wsgi-3.4/debian/control
--- mod-wsgi-3.4/debian/control 2012-08-23 06:16:34.000000000 +0000
+++ mod-wsgi-3.4/debian/control 2012-10-23 15:08:43.000000000 +0000
@@ -4,7 +4,7 @@
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
Uploaders: Bernd Zeimetz <b...@debian.org>, Piotr Ożarowski <pi...@debian.org>
-Build-Depends: debhelper (>= 5), python-all-dev, python3-all-dev, apache2-threaded-dev
+Build-Depends: debhelper (>= 5), python-all-dev, python3-all-dev, apache2-threaded-dev, dh-autoreconf
Homepage: http://www.modwsgi.org/
Standards-Version: 3.9.2
Vcs-Svn: svn://svn.debian.org/python-modules/packages/mod-wsgi/trunk/
diff -Nru mod-wsgi-3.4/debian/patches/python-config.patch mod-wsgi-3.4/debian/patches/python-config.patch
--- mod-wsgi-3.4/debian/patches/python-config.patch 1970-01-01 00:00:00.000000000 +0000
+++ mod-wsgi-3.4/debian/patches/python-config.patch 2012-10-23 15:10:10.000000000 +0000
@@ -0,0 +1,74 @@
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,14 +77,7 @@
+ from distutils import sysconfig; \
+ stdout.write((sysconfig.get_config_var("VERSION")))'`
+
+-CPPFLAGS1=`${PYTHON} -c 'from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write("-I" + sysconfig.get_config_var("INCLUDEPY"))'`
+-
+-CPPFLAGS2=`${PYTHON} -c 'from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write(" ".join(filter(lambda x: x.startswith("-D"), \
+- sysconfig.get_config_var("CFLAGS").split())))'`
++CPPFLAGS1=`${PYTHON}-config --includes`
+
+ if test "${ENABLE_EMBEDDED}" != "yes"; then
+ CPPFLAGS3="-DMOD_WSGI_DISABLE_EMBEDDED"
+@@ -92,7 +85,7 @@
+ CPPFLAGS3=""
+ fi
+
+-CPPFLAGS="${CPPFLAGS} ${CPPFLAGS1} ${CPPFLAGS2} ${CPPFLAGS3}"
++CPPFLAGS="${CPPFLAGS} ${CPPFLAGS1} ${CPPFLAGS3}"
+
+ AC_SUBST(CPPFLAGS)
+
+@@ -113,32 +106,7 @@
+ from distutils import sysconfig; \
+ stdout.write(sysconfig.get_config_var("PYTHONFRAMEWORK"))'`
+
+-if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \
+- "${ENABLE_FRAMEWORK}" != "yes"; then
+- LDFLAGS1="-L${PYTHONLIBDIR}"
+- LDFLAGS2="-L${PYTHONCFGDIR}"
+-
+- LDLIBS1="-lpython${PYTHON_VERSION}"
+- LDLIBS2=`${PYTHON} -c 'from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write(sysconfig.get_config_var("LIBS"))'`
+- LDLIBS3=`${PYTHON} -c 'from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write(sysconfig.get_config_var("SYSLIBS"))'`
+-else
+- LDFLAGS1="-Wl,-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}"
+-
+- VERSION="${PYTHON_VERSION}"
+- STRING="${PYTHONFRAMEWORKDIR}/Versions/${VERSION}/${PYTHONFRAMEWORK}"
+- LDFLAGS2=`${PYTHON} -c "from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write(sysconfig.get_config_var(
+- \"LINKFORSHARED\").replace(\"${STRING}\", ''))"`
+-
+- LDLIBS1=`${PYTHON} -c 'from sys import stdout; \
+- from distutils import sysconfig; \
+- stdout.write(sysconfig.get_config_var("LIBS"))'`
+-fi
++LDFLAGS1=`${PYTHON}-config --ldflags`
+
+ CFLAGS1=""
+ for arg in ${CFLAGS}
+@@ -157,8 +125,8 @@
+ fi
+
+ CFLAGS="${CFLAGS1} ${CFLAGS2}"
+-LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
+-LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"
++LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS3}"
++LDLIBS="${LDLIBS}"
+
+ AC_SUBST(CFLAGS)
+ AC_SUBST(LDFLAGS)
diff -Nru mod-wsgi-3.4/debian/patches/series mod-wsgi-3.4/debian/patches/series
--- mod-wsgi-3.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ mod-wsgi-3.4/debian/patches/series 2012-10-23 14:31:32.000000000 +0000
@@ -0,0 +1 @@
+python-config.patch
diff -Nru mod-wsgi-3.4/debian/rules mod-wsgi-3.4/debian/rules
--- mod-wsgi-3.4/debian/rules 2011-10-06 19:52:09.000000000 +0000
+++ mod-wsgi-3.4/debian/rules 2012-10-23 15:13:16.000000000 +0000
@@ -16,6 +16,10 @@
PY3MAX=$(shell echo $(PY3VERS) | LANG=C awk '{print $$NF+0.1}')
pkgdir = $(CURDIR)/debian/$(PACKAGE)$(if $(patsubst 3.%,,$(1)),,-py3)
+autoreconf-stamp:
+ dh_autoreconf
+ touch $@
+
build-%/config.status:
dh_testdir
mkdir -p build-$*
@@ -29,13 +33,14 @@
touch $@
build: build-arch
-build-arch: $(PYVERS:%=build-%/build-stamp) $(PY3VERS:%=build-%/build-stamp)
+build-arch: autoreconf-stamp $(PYVERS:%=build-%/build-stamp) $(PY3VERS:%=build-%/build-stamp)
build-indep:
clean:
dh_testdir
dh_testroot
rm -rf build-*
+ dh_autoreconf_clean
dh_clean
install-clean:
Regards,
Dmitrijs.
--- End Message ---
--- Begin Message ---
Source: mod-wsgi
Source-Version: 3.4-2
We believe that the bug you reported is fixed in the latest version of
mod-wsgi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 692...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Piotr Ożarowski <pi...@debian.org> (supplier of updated mod-wsgi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 21 May 2013 22:03:58 +0200
Source: mod-wsgi
Binary: libapache2-mod-wsgi libapache2-mod-wsgi-py3
Architecture: source amd64
Version: 3.4-2
Distribution: experimental
Urgency: low
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Piotr Ożarowski <pi...@debian.org>
Description:
libapache2-mod-wsgi - Python WSGI adapter module for Apache
libapache2-mod-wsgi-py3 - Python 3 WSGI adapter module for Apache
Closes: 666818 692390
Changes:
mod-wsgi (3.4-2) experimental; urgency=low
.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
.
[ Felix Geyer ]
* Fix building against python3.3. Thanks to Dmitrijs Ledkovs for the
initial patch. (Closes: #692390)
- Add python-config.patch to make configure.ac query pythonX.Y-config
instead of python-distutils.
* Add support for Apache 2.4. Thanks to Ondřej Surý for the patch.
(Closes: #666818)
* Export build flags using /usr/share/dpkg/buildflags.mk.
* Bump Standards-Version to 3.9.4, no changes needed.
.
[ Piotr Ożarowski ]
* Add temporary python (>= 3.3) build dependency to make sure
python3-defaults from experimental is used during build
Checksums-Sha1:
da83282ffaf8e3f0618c0e5ca6f918c693982a45 2164 mod-wsgi_3.4-2.dsc
68334166eca0ece61a98ff1b5454e234ffb29977 10404 mod-wsgi_3.4-2.debian.tar.gz
d7d9082dacd9755c7adc269ed287cda3cf19a93b 84242
libapache2-mod-wsgi_3.4-2_amd64.deb
859986a435d22e8d366dd1ef0967f1e31cc8d5b4 154800
libapache2-mod-wsgi-py3_3.4-2_amd64.deb
Checksums-Sha256:
e0e1ae41475218f07dad3d5a4e58bfcd2522294e1cf0e6d6c797acaae149f968 2164
mod-wsgi_3.4-2.dsc
339cf7ba1221cfb87a70eeec148f064af1ec1684f98db046e5d22337bcf27330 10404
mod-wsgi_3.4-2.debian.tar.gz
c40326cfd39c35b4fd138d299a419d05118255b5fbadb25832e665ba6436ccfc 84242
libapache2-mod-wsgi_3.4-2_amd64.deb
0bce7857ab193f7b004cdb9045badf60a1045d0b925d8dd315c9ae0274187a55 154800
libapache2-mod-wsgi-py3_3.4-2_amd64.deb
Files:
4c2e77848a8967da49c373249e264367 2164 httpd optional mod-wsgi_3.4-2.dsc
8e6c34f552d51a95460004e94a96b642 10404 httpd optional
mod-wsgi_3.4-2.debian.tar.gz
cd31b0807b4ae5cccb256894648952c4 84242 httpd optional
libapache2-mod-wsgi_3.4-2_amd64.deb
f9d35361ad9c80b5cb7c86c0d56f0949 154800 httpd optional
libapache2-mod-wsgi-py3_3.4-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJRm9cHAAoJEK728aKnRXZFdocQAMvUdjCL6TGev/eKfIA2f3RQ
hptYGV1Yd4Vu+V0LmmMB/Bm70KwGzySwMrjmX/k7eHXS/ovJiMIc/NDxTDxALlC+
30TMkuXc5gCRJqvsqh0rjbsiOZ0MbGKG1oFwDlzk/aXQMUxBhm6+gc744U55a+lr
Ua1+Riv6xWBvqU6RhU4iZW7VfIPD5JRYdz5Y3ARFUjsAdQK8M520/81CLsvlk24I
AajERZLjgKMobAz96XZlyf4qiDjhfV+4jmHCvbBzm4Q4tcT3lq/Wx344Io1b0p9V
mNlydL/zGNvM5uo2PTpGSoKKflIsmESbhA5SM/Dp3tOf9BteXPcxw0ganZEm8phk
zXGwbTqXRitIfiLaN/4XvXZVhYWxSzvrzzT771wml3BGeSOwLGONLm9QRNA0YdnW
5Xach/KVhhZFo4cPr8zvnWeGJxP2lj9u2807VInR94r5YfGfEbVCJ+io9nA1uyNH
cd/i5ULXx50d43W1c+tnst/SIDmQFhY0VMNZ75aCdoAmLywu8Pc7w5r9vTAZQpcg
jWpYtmUTD/MLO6cjKIHt+9K8T8yUd0e46z/DFpFWOjZ9MFRTxqds4/qAiGqStfzN
RiLPAC/N129qb0MlnXvYbrrh75c2pQKEA5kvLGU5xRfB8v9Bu5IbE/BInnDKTUdz
btB6vBfyyX9Kru/b84rv
=3MKj
-----END PGP SIGNATURE-----
--- End Message ---