ansible-nginx-uwsgi-supervisor icon indicating copy to clipboard operation
ansible-nginx-uwsgi-supervisor copied to clipboard

install uwsgi server ERROR - open with O_CREAT or O_TMPFILE in second argument needs 3 arguments

Open yan0s opened this issue 7 years ago • 0 comments

This step was failing: install uwsgi server with this error:

*** uWSGI compiling server core ***\n [x86_64-linux-gnu-gcc -pthread] core/utils.o\n In file included from /usr/include/fcntl.h:289:0,\n from /usr/include/x86_64-linux-gnu/sys/file.h:24,\n from ./uwsgi.h:263,\n from core/utils.c:1:\n In function ‘open’,\n inlined from ‘uwsgi_tmpfd’ at core/utils.c:3472:5:\n /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\n __open_missing_mode ();

It gets fixed it by specifing the following uwsgi version.

  • name: install uwsgi server pip: name=uwsgi virtualenv={{ uwsgi_venv }} version=2.0.13.1 sudo: yes

yan0s avatar Aug 23 '16 12:08 yan0s