[pkg-uWSGI-devel] Bug#959577: Bug#959577: uwsgi-plugin-php: FTBFS: make[1]: *** [debian/rules:29: override_dh_auto_build] Error 1

Jonas Smedegaard jonas at jones.dk
Mon May 25 12:01:14 BST 2020


Quoting Alexandre Rossi (2020-05-25 12:40:44)
> The following patch fixes the problem.

> --- a/debian/control
> +++ b/debian/control
> @@ -10,6 +10,7 @@ Build-Depends:
>   libphp-embed | libphp5-embed,
>   uwsgi-dev,
>   uwsgi-src,
> + python3-distutils,


> --- a/debian/rules
> +++ b/debian/rules
> @@ -26,7 +26,7 @@ OUR_BINARY_VERSION = $(subst -,+,$(UWSGI_VERSION))+$(DEB_VERSION)
>         dh $@ --with uwsgi
> 
>  override_dh_auto_build:
> -       uwsgi --build-plugin /usr/src/uwsgi/plugins/php
> +       PYTHON=python3 uwsgi --build-plugin /usr/src/uwsgi/plugins/php


Thanks, Alex!

Better to fix this centrally in uwsgi, however, so I will do that. Quite 
helpful to be clued in on the cause of the problem.  Thanks again!


 - Jonas

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

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20200525/fe93b45d/attachment.sig>


More information about the pkg-uWSGI-devel mailing list