Package: uwsgi
Version: 0.9.8.3-1
Followup-For: Bug #640347

Hello,

This FTBFS bug appears to be related to invalid include and lib paths
for OpenJDK 6. I am sending a patch against debian/rules from Git repo's
master HEAD. I was able to successfully build packages on amd64
architecture with pbuilder.

I am using uWSGI and it would be nice to see it again in wheezy.

Best,
Janos

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sr_RS.UTF-8@latin (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 56907f82e56e78464676679fc81222bb90c9b04f Mon Sep 17 00:00:00 2001
From: Janos Guljas <ja...@resenje.org>
Date: Sun, 11 Dec 2011 23:12:08 +0100
Subject: [PATCH] Change UWSGICONFIG_JVM_INCPATH and UWSGICONFIG_JVM_LIBPATH.

(Closes: #640347)
---
 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4700042..aad40cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -303,8 +303,8 @@ debian/stamp-plugin-jvm-openjdk-6 debian/stamp-plugin-jwsgi-openjdk-6:
 	))
 	$(eval PLUGIN_SRC_SUBDIR = $(firstword $(subst _, ,$(PLUGIN_NAME))))
 	$(eval JAVA_ARCH := $(shell /usr/share/javahelper/java-arch.sh))
-	UWSGICONFIG_JVM_INCPATH='/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java-6-openjdk/include/linux' \
-	UWSGICONFIG_JVM_LIBPATH='/usr/lib/jvm/java-6-openjdk/jre/lib/$(JAVA_ARCH)/server/' \
+	UWSGICONFIG_JVM_INCPATH='/usr/lib/jvm/java-6-openjdk-$(JAVA_ARCH)/include/ -I/usr/lib/jvm/java-6-openjdk-$(JAVA_ARCH)/include/linux' \
+	UWSGICONFIG_JVM_LIBPATH='/usr/lib/jvm/java-6-openjdk-$(JAVA_ARCH)/jre/lib/$(JAVA_ARCH)/server/' \
 	$(PYTHON) $(UWSGI_BUILDER) \
 		--plugin $(CURDIR)/$(UWSGI_PLUGINS_SRC_DIR)/$(PLUGIN_SRC_SUBDIR) \
 		         $(CURDIR)/debian/buildconf/uwsgi-plugin.ini \
-- 
1.7.7.3

Reply via email to