Bug#854621: jessie-pu: package uwsgi/2.0.7-1

2017-02-25 Thread Adam D. Barratt
Control: tags -1 + pending

On Sun, 2017-02-19 at 22:15 +0100, Jonas Smedegaard wrote:
> Quoting Adam D. Barratt (2017-02-19 21:43:08)
> > On Wed, 2017-02-08 at 20:10 +0100, Jonas Smedegaard wrote:
> >> a FTBFS was discovered which affects uwsgi in stable (and only that): 
> >> Bug#854535
> >
> > + * Add patch cherry-picked upstream to fix compilation with recent GCC.
> >
> > My understanding was that the change was in glibc, not gcc; is that
> > incorrect?
> 
> Indeed it was glibc, not gcc.  Thanks for catching my mistake!
> 
> 
> > Please go ahead.
> 
> Thanks.
> 
> I will now upload with changelog entry adjusted, targeted "jessie", and 
> closing bug#854535 - but not mention nor close this bug#854621.  Hope 
> that is correct procedure - if not please do correct me.

It was correct; flagged for acceptance. Thanks.

Regards,

Adam



Bug#854621: jessie-pu: package uwsgi/2.0.7-1

2017-02-19 Thread Jonas Smedegaard
Quoting Adam D. Barratt (2017-02-19 21:43:08)
> On Wed, 2017-02-08 at 20:10 +0100, Jonas Smedegaard wrote:
>> a FTBFS was discovered which affects uwsgi in stable (and only that): 
>> Bug#854535
>
> + * Add patch cherry-picked upstream to fix compilation with recent GCC.
>
> My understanding was that the change was in glibc, not gcc; is that
> incorrect?

Indeed it was glibc, not gcc.  Thanks for catching my mistake!


> Please go ahead.

Thanks.

I will now upload with changelog entry adjusted, targeted "jessie", and 
closing bug#854535 - but not mention nor close this bug#854621.  Hope 
that is correct procedure - if not please do correct me.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#854621: jessie-pu: package uwsgi/2.0.7-1

2017-02-19 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Wed, 2017-02-08 at 20:10 +0100, Jonas Smedegaard wrote:
> a FTBFS was discovered which affects uwsgi in stable (and only that): 
> Bug#854535

+  * Add patch cherry-picked upstream to fix compilation with recent GCC.

My understanding was that the change was in glibc, not gcc; is that
incorrect?

Please go ahead.

Regards,

Adam



Bug#854621: jessie-pu: package uwsgi/2.0.7-1

2017-02-08 Thread Jonas Smedegaard
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@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
diff -Nru uwsgi-2.0.7/debian/changelog uwsgi-2.0.7/debian/changelog
--- uwsgi-2.0.7/debian/changelog2014-10-25 21:07:28.0 +0200
+++ uwsgi-2.0.7/debian/changelog2017-02-08 16:19:43.0 +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   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.0 +0100
+++ uwsgi-2.0.7/debian/patches/020150415~f6e5db9.patch  2017-02-08 
10:40:53.0 +0100
@@ -0,0 +1,21 @@
+Description: Fix compilation with recent GCC
+Origin: upstream, https://github.com/unbit/uwsgi/commit/f6e5db9
+Author: Unbit 
+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.0 +0200
+++ uwsgi-2.0.7/debian/patches/series   2017-02-08 10:43:09.0 +0100
@@ -1,3 +1,4 @@
+020150415~f6e5db9.patch
 1001_avoid_setting_RPATH.patch
 1002_fix-reload-process-name.patch
 1003_remove-php-libs.patch