Your message dated Sat, 6 Feb 2021 16:26:06 +0100
with message-id <[email protected]>
and subject line Re: #951834: php7.4: FTBFS on !linux archs
has caused the Debian Bug report #951834,
regarding php7.4: FTBFS on !linux archs
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 [email protected]
immediately.)


-- 
951834: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951834
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php7.4
Version: 7.4.3-3
Severity: important
Tags: patch

Hi,

php7.4 does not compile anymore on non-Linux architectures.
The issue is the systemd integration unconditionally enabled, as
obviously does not work on non-Linux architectures (as systemd is
specific to Linux).

The fix is to enable the systemd integration only on Linux; patch
attached for it.

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -128,6 +128,10 @@ else
   CONFIGURE_DTRACE_ARGS := --disable-dtrace
 endif
 
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+  CONFIGURE_SYSTEMD := --with-fpm-systemd
+endif
+
 # specify some options to our patch system
 QUILT_DIFF_OPTS := -p
 QUILT_NO_DIFF_TIMESTAMPS := 1
@@ -237,7 +241,7 @@ export fpm_config = \
                
--with-config-file-scan-dir=/etc/php/$(PHP_NAME_VERSION)/fpm/conf.d \
                $(COMMON_CONFIG) \
                --with-libevent-dir=/usr \
-               --with-fpm-systemd
+               $(CONFIGURE_SYSTEMD)
 
 export phpdbg_config = \
                --prefix=/usr --enable-phpdbg --enable-cli --disable-cgi \

--- End Message ---
--- Begin Message ---
Version: 7.4.11-3

[ Pino Toscano ]
* Enable systemd integration only on Linux archs (Closes: #951834)

--- End Message ---

Reply via email to