Source: php8.0 Version: 8.0.8-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, Currently php8.0 FTBFS on GNU/Hurd due to the option --with-fpm- apparmor while apparmor is no longer built on non-linux. The patch, debian_rules.diff, fixes this problem. This patch has been used to successfully build php8.0 on GNU/Hurd and GNU/Linux. Thanks!
--- a/debian/rules 2021-07-01 17:25:46.000000000 +0200 +++ b/debian/rules 2021-10-22 23:28:17.000000000 +0200 @@ -124,6 +124,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_SYSTEMD := --with-fpm-systemd + CONFIGURE_APPARMOR := --with-fpm-apparmor endif # specify some options to our patch system @@ -231,7 +232,7 @@ --prefix=/usr --enable-fpm --enable-cli --disable-cgi --disable-phpdbg \ --sysconfdir=/etc/php/$(PHP_NAME_VERSION)/fpm \ --with-fpm-user=www-data --with-fpm-group=www-data \ - --with-fpm-acl --with-fpm-apparmor \ + --with-fpm-acl $(CONFIGURE_APPARMOR) \ --with-config-file-path=/etc/php/$(PHP_NAME_VERSION)/fpm \ --with-config-file-scan-dir=/etc/php/$(PHP_NAME_VERSION)/fpm/conf.d \ $(COMMON_CONFIG) \