Le 13/06/2026 19:36, Moin Rahman a écrit :

On Jun 13, 2026, at 19:28, Xavier Humbert <[email protected]> wrote:

Le 13/06/2026 18:33, Moin Rahman a écrit :
On Jun 13, 2026, at 18:09, Xavier Humbert <[email protected]> wrote:

Hi,

Trying to upgrade PHP from 8.2 to 8.4 (forced since Nextcloud does not build 
anymore with 8.2 ) but php84 won't build with ZTS enabled, fails with this 
error :

--- sapi/cli/php ---
ld: error: Zend/zend_dtrace.d.o: requires an executable stack, but -z execstack 
is not specified
--- sapi/fpm/php-fpm ---
ld: error: Zend/zend_dtrace.d.o: requires an executable stack, but -z execstack 
is not specified
--- sapi/phpdbg/phpdbg ---
ld: error: Zend/zend_dtrace.d.o: requires an executable stack, but -z execstack 
is not specified

Any idea ?

Regards,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr


1. Where are you building?
Directly from ports (no poudriere)
2. How are you building?
portupgrade -vf -o lang/php84 php82-8.2.31
but make clean all in ports directory leads to the same issue
3. With which exact version of php84 you are building?
8.4.22
4. With which exact version of FreeBSD you are building?
FreeBSD STABLE-14.4
Kind regards,
Moin
Thanks

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr

Can you share your make.conf?

Kind regards,
Moin


CPUTYPE?=core2
CFLAGS+=        -g
CXXFLAGS+=      -g

MAKEFLAGS= -j 8
MASTER_SITE_BACKUP?=    \
http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}
MASTER_SITE_APACHE_HTTPD?= http://apache.fastorama.com/dist/httpd/ http://mir2.ovh.net/ftp.apache.org/dist/httpd/ http://apache.crihan.fr/dist/httpd/ ftp://mir1.ovh.net/ftp.apache.org/dist/httpd/ ftp://ftp.fastorama.com/mirrors/ftp.apache.org/dist/httpd/ ftp://ftp.inria.fr/pub/Apache/httpd/
MASTER_SORT_REGEX?=     ://[^/]*\.fr[/.]
PACKAGES=/usr/ports/packages

DEFAULT_VERSIONS+=ssl=openssl
DEFAULT_VERSIONS+=python=3.11 python3=3.11
DEFAULT_VERSIONS+=perl5=5.40
DEFAULT_VERSIONS+=llvm=20
DEFAULT_VERSIONS+=mono=5.20
DEFAULT_VERSIONS+=php=8.4
DEFAULT_VERSIONS+=bdb=18

OPTIONS_UNSET= GSSAPI_BASE
OPTIONS_SET=   GSSAPI_MIT

.if ${.CURDIR:M*/ports/net/librsync}
  LDFLAGS += -L/usr/local/lib
.endif


.if !defined(NO_CCACHE)
.endif

.if ${.CURDIR:M*/ports/devel/ccache}
  NO_CCACHE=yes
.endif

.if ${.CURDIR:M*/ports/java/openjdk17}
  NO_CCACHE=yes
.endif

WITH_CTF=yes
MK_CTF=yes


TMPFS_BLACKLIST='rust gcc* llvm* texlive-texmf'
TMPFS_BLACKLIST_TMPDIR=/var/tmp
USE_TMPFS=yes
TMPFS_LIMIT=4

databases_memcached_UNSET+=DOCS

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr


Reply via email to