[pkg-uWSGI-devel] Bug#854621: jessie-pu: package uwsgi/2.0.7-1

Jonas Smedegaard dr at jones.dk
Wed Feb 8 19:10:58 UTC 2017


Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org at packages.debian.org
Usertags: pu

a FTBFS was discovered which affects uwsgi in stable (and only that): Bug#854535

Attached is a debdiff of a prepared package update.


 - Jonas
-------------- next part --------------
diff -Nru uwsgi-2.0.7/debian/changelog uwsgi-2.0.7/debian/changelog
--- uwsgi-2.0.7/debian/changelog	2014-10-25 21:07:28.000000000 +0200
+++ uwsgi-2.0.7/debian/changelog	2017-02-08 16:19:43.000000000 +0100
@@ -1,3 +1,10 @@
+uwsgi (2.0.7-1+deb8u1) jessie; urgency=medium
+
+  * Add patch cherry-picked upstream to fix compilation with recent GCC.
+    Closes: Bug#854535. Thanks to Masahiro Yamada.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 08 Feb 2017 16:19:43 +0100
+
 uwsgi (2.0.7-1) unstable; urgency=medium
 
   [ upstream ]
diff -Nru uwsgi-2.0.7/debian/patches/020150415~f6e5db9.patch uwsgi-2.0.7/debian/patches/020150415~f6e5db9.patch
--- uwsgi-2.0.7/debian/patches/020150415~f6e5db9.patch	1970-01-01 01:00:00.000000000 +0100
+++ uwsgi-2.0.7/debian/patches/020150415~f6e5db9.patch	2017-02-08 10:40:53.000000000 +0100
@@ -0,0 +1,21 @@
+Description: Fix compilation with recent GCC
+Origin: upstream, https://github.com/unbit/uwsgi/commit/f6e5db9
+Author: Unbit <info at unbit.it>
+Forwarded: yes
+Bug: https://github.com/unbit/uwsgi/issues/883
+Bug-Debian: https://bugs.debian.org/854535
+Last-Update: 2017-02-08
+
+diff --git a/core/utils.c b/core/utils.c
+index 0715b5b3..d900caaa 100755
+--- a/core/utils.c
++++ b/core/utils.c
+@@ -3515,7 +3515,7 @@ int uwsgi_tmpfd() {
+ 		tmpdir = "/tmp";
+ 	}
+ #ifdef O_TMPFILE
+-	fd = open(tmpdir, O_TMPFILE | O_RDWR);
++	fd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);
+ 	if (fd >= 0) {
+ 		return fd;
+ 	}
diff -Nru uwsgi-2.0.7/debian/patches/series uwsgi-2.0.7/debian/patches/series
--- uwsgi-2.0.7/debian/patches/series	2014-10-25 21:06:53.000000000 +0200
+++ uwsgi-2.0.7/debian/patches/series	2017-02-08 10:43:09.000000000 +0100
@@ -1,3 +1,4 @@
+020150415~f6e5db9.patch
 1001_avoid_setting_RPATH.patch
 1002_fix-reload-process-name.patch
 1003_remove-php-libs.patch


More information about the pkg-uWSGI-devel mailing list