Date: Fri, 03 Jul 2020 10:26:23 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 247689] www/uwsgi: has the plugin embedded but doesn't work Message-ID: <bug-247689-21822-a4qvbvOma9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-247689-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-247689-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247689 Newton Terry <newton.ja.terry@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |newton.ja.terry@gmail.com --- Comment #6 from Newton Terry <newton.ja.terry@gmail.com> --- I can reproduce the error. Current www/uwsgi, version 2.0.18, having set plugins in configuration file, returns plugin error message when starting service: service uwsgi onestart [uWSGI] getting INI configuration from /usr/local/etc/uwsgi/uwsgi.ini !!! UNABLE to load uWSGI plugin: Cannot open "./router_redirect_plugin.so" = !!! /usr/local/etc/uwsgi/uwsgi.ini [uwsgi] plugins=3Drouter_redirect In ports work-py37 directory no router_redirect_plugin.so is present. Recor= ding the build process with less verbosity (Makefile: #PYDISTUTILS_BUILDARGS=3D --verbose) demonstrates the plugins are build embedded into the binary. From the build log: ... using profile: buildconf/default.ini cut --------------------- work-py37/uwsgi-2.0.18/buildconf/default.ini [uwsgi] main_plugin =3D python,gevent inherit =3D base work-py37/uwsgi-2.0.18/buildconf/base.ini [uwsgi] ... embedded_plugins =3D %(main_plugin)s, ..., router_redirect,... continue ---------------- *** uWSGI compiling embedded plugins *** ... [thread 4][cc] plugins/router_redirect/router_redirect.o ... Also the build binary indicates having the plugins, inclusive router_redirect_plugin, embedded: strings /usr/local/bin/uwsgi | grep router_redirect router_redirect_plugin router_redirect Updating the port to version 2.0.19.1 doesn't resolve, error message remain= s. Attached: uwsgi-2.0.18-build.log uwsgi-2.0.19.1-build.log uwsgi18-binary-embedd-plugins-list.txt uwsgi19.1-binary-embedd-plugins-list.txt --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247689-21822-a4qvbvOma9>