Your message dated Wed, 08 Feb 2017 20:00:26 +0100
with message-id <148658042659.2725.11281956955559561...@auryn.jones.dk>
and subject line Re: [pkg-uWSGI-devel] Bug#854535: uwsgi: dpkg-buildpackage 
fails due to open with O_TMPFILE
has caused the Debian Bug report #854535,
regarding uwsgi: dpkg-buildpackage fails due to open with O_TMPFILE
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.)


-- 
854535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854535
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: uwsgi
Version: 2.0.7-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

When I run dpkg-buildpackage for uwsgi, it fails with the following error.

 $ sudo apt-get source uwsgi
 $ cd uwsgi-2.0.7
 $ sudo dpkg-buildpackage -us -uc
...
...
...
"08 February 2017 13:16:43\"" -o core/sendfile.o core/sendfile.c
In file included from /usr/include/fcntl.h:289:0,
                 from /usr/include/x86_64-linux-gnu/sys/file.h:24,
                 from ./uwsgi.h:265,
                 from core/utils.c:1:
In function ‘open’,
    inlined from ‘uwsgi_tmpfd’ at core/utils.c:3501:5:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to 
‘__open_missing_mode’ declared with attribute error: open with O_CREAT or 
O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
    ^

This error is caused by updated libc6.
The changelog in libc6(2.19-18+deb8u6) says as follows.

    - Fix open and openat functions with O_TMPFILE.  Closes: #832521.

I found a fix to this issue in upstream.

https://github.com/unbit/uwsgi/commit/f6e5db93d8344d7f09ee5304394136d6f5cd7a38

Thank you and Best Regards,

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages uwsgi depends on:
ii  initscripts  2.88dsf-59
ii  lsb-base     4.1+Debian13+nmu1
ii  uwsgi-core   2.0.7-1

uwsgi recommends no packages.

uwsgi suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2.0.10-1

Quoting Masahiro Yamada (2017-02-08 06:05:50)
> When I run dpkg-buildpackage for uwsgi, it fails with the following error.
> 
>  $ sudo apt-get source uwsgi
>  $ cd uwsgi-2.0.7
>  $ sudo dpkg-buildpackage -us -uc
> ...
> ...
> ...
> "08 February 2017 13:16:43\"" -o core/sendfile.o core/sendfile.c
> In file included from /usr/include/fcntl.h:289:0,
>                  from /usr/include/x86_64-linux-gnu/sys/file.h:24,
>                  from ./uwsgi.h:265,
>                  from core/utils.c:1:
> In function ‘open’,
>     inlined from ‘uwsgi_tmpfd’ at core/utils.c:3501:5:
> /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to 
> ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or 
> O_TMPFILE in second argument needs 3 arguments
>     __open_missing_mode ();
>     ^
> 
> This error is caused by updated libc6.
> The changelog in libc6(2.19-18+deb8u6) says as follows.
> 
>     - Fix open and openat functions with O_TMPFILE.  Closes: #832521.
> 
> I found a fix to this issue in upstream.
> 
> https://github.com/unbit/uwsgi/commit/f6e5db93d8344d7f09ee5304394136d6f5cd7a38

Thanks a lot both for reporting this and locating upstream fix for it.

This was fixed in Debian with the release of 2.0.10-1.  Closing 
accordingly.

 - Jonas

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

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

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to