Source: xdebug
Version: 3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: php8.4
Hi,
During a test rebuild, xdebug was found to fail to build with
php8.4 8.4.0~beta4-1 available in experimental.
There are intentions to transition to php8.4 for trixie, please see #1074180.
To reproduce this locally, you need to install php8.4 and php-defaults from
experimental on an unstable system or build chroot.
Relevant part (hopefully):
> gcc version 14.2.0 (Debian 14.2.0-5)
> ... rest of stderr output deleted ...
> configure:3397: $? = 0
> configure:3386: cc -V >&5
> cc: error: unrecognized command-line option '-V'
> cc: fatal error: no input files
> compilation terminated.
> configure:3397: $? = 1
> configure:3386: cc -qversion >&5
> cc: error: unrecognized command-line option '-qversion'; did you mean
> '--version'?
> cc: fatal error: no input files
> compilation terminated.
> configure:3397: $? = 1
> configure:3386: cc -version >&5
> cc: error: unrecognized command-line option '-version'
> cc: fatal error: no input files
> compilation terminated.
> configure:3397: $? = 1
> configure:3417: checking whether the C compiler works
> configure:3439: cc -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
> -Wl,--as-needed conftest.c >&5
> configure:3443: $? = 0
> configure:3494: result: yes
> configure:3498: checking for C compiler default output file name
> configure:3500: result: a.out
> configure:3506: checking for suffix of executables
> configure:3513: cc -o conftest -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
> -Wl,--as-needed conftest.c >&5
> configure:3517: $? = 0
> configure:3541: result:
> configure:3565: checking whether we are cross compiling
> configure:3573: cc -o conftest -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
> -Wl,--as-needed conftest.c >&5
> configure:3577: $? = 0
> configure:3584: ./conftest
> configure:3588: $? = 0
> configure:3603: result: no
> configure:3609: checking for suffix of object files
> configure:3632: cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3636: $? = 0
> configure:3660: result: o
> configure:3664: checking whether the compiler supports GNU C
> configure:3684: cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3684: $? = 0
> configure:3696: result: yes
> configure:3707: checking whether cc accepts -g
> configure:3728: cc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3728: $? = 0
> configure:3775: result: yes
> configure:3795: checking for cc option to enable C11 features
> configure:3810: cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3810: $? = 0
> configure:3829: result: none needed
> configure:3953: checking how to run the C preprocessor
> configure:3979: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
> configure:3979: $? = 0
> configure:3995: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
> conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
> 9 | #include <ac_nonexistent.h>
> | ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> configure:3995: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:4024: result: cc -E
> configure:4038: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
> configure:4038: $? = 0
> configure:4054: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
> conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
> 9 | #include <ac_nonexistent.h>
> | ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> configure:4054: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:4087: checking for egrep -e
> configure:4217: result: /usr/bin/grep -E
> configure:4223: checking for icc
> configure:4233: result: no
> configure:4248: checking for suncc
> configure:4258: result: no
> configure:4277: checking for system library directory
> configure:4294: result: lib
> configure:4301: checking if compiler supports -Wl,-rpath,
> configure:4321: cc -o conftest -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
> -Wl,--as-needed conftest.c -Wl,-rpath,/usr/lib >&5
> configure:4321: $? = 0
> configure:4334: result: yes
> configure:4447: checking for PHP prefix
> configure:4449: result: /usr
> configure:4451: checking for PHP includes
> configure:4453: result: -I/usr/include/php/20230901
> -I/usr/include/php/20230901/main -I/usr/include/php/20230901/TSRM
> -I/usr/include/php/20230901/Zend -I/usr/include/php/20230901/ext
> -I/usr/include/php/20230901/ext/date/lib
> configure:4455: checking for PHP extension directory
> configure:4457: result: /usr/lib/php/20230901
> configure:4459: checking for PHP installed headers prefix
> configure:4461: result: /usr/include/php/20230901
> configure:4464: checking if debugging is enabled
> configure:4488: result: no
> configure:4491: checking if PHP is built with thread safety (ZTS)
> configure:4515: result: no
> configure:4591: result:
> configure:4593: result: Configuring extension
> configure:4601: checking whether to enable Xdebug support
> configure:4642: result: yes, shared
> configure:4651: checking whether to enable Xdebug developer build flags
> configure:4667: result: no
> configure:4676: checking whether to compress profiler files (requires zlib)
> configure:4693: result: yes
> configure:4723: checking Check for supported PHP versions
> configure:4731: error: not supported. Need a PHP version >= 8.0.0 and < 8.3.0
> (found 8.4.0beta4)
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=x86_64-pc-linux-gnu
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic'
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed'
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_LT_SYS_LIBRARY_PATH_set=
> ac_cv_env_LT_SYS_LIBRARY_PATH_value=
> ac_cv_env_PKG_CONFIG_LIBDIR_set=
> ac_cv_env_PKG_CONFIG_LIBDIR_value=
> ac_cv_env_PKG_CONFIG_PATH_set=
> ac_cv_env_PKG_CONFIG_PATH_value=
> ac_cv_env_PKG_CONFIG_set=
> ac_cv_env_PKG_CONFIG_value=
> ac_cv_env_ZLIB_CFLAGS_set=
> ac_cv_env_ZLIB_CFLAGS_value=
> ac_cv_env_ZLIB_LIBS_set=
> ac_cv_env_ZLIB_LIBS_value=
> ac_cv_env_build_alias_set=set
> ac_cv_env_build_alias_value=x86_64-linux-gnu
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_host=x86_64-pc-linux-gnu
> ac_cv_objext=o
> ac_cv_path_EGREP='/usr/bin/grep -E'
> ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E'
> ac_cv_path_GREP=/usr/bin/grep
> ac_cv_path_SED=/usr/bin/sed
> ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
> ac_cv_prog_AWK=nawk
> ac_cv_prog_CPP='cc -E'
> ac_cv_prog_ac_ct_CC=cc
> ac_cv_prog_cc_c11=
> ac_cv_prog_cc_g=yes
> ac_cv_prog_cc_stdc=
> ac_cv_target=x86_64-pc-linux-gnu
> php_cv_cc_rpath=yes
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> AR=''
> AWK='nawk'
> BUILD_CC=''
> CC='cc'
> CFLAGS='-g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wall -pedantic'
> CONFIGURE_COMMAND=' '\''./configure'\'' '\''--build=x86_64-linux-gnu'\''
> '\''--prefix=/usr'\'' '\''--includedir=${prefix}/include'\''
> '\''--mandir=${prefix}/share/man'\'' '\''--infodir=${prefix}/share/info'\''
> '\''--sysconfdir=/etc'\'' '\''--localstatedir=/var'\''
> '\''--disable-option-checking'\'' '\''--disable-silent-rules'\''
> '\''--libdir=${prefix}/lib/x86_64-linux-gnu'\''
> '\''--libexecdir=${prefix}/lib/x86_64-linux-gnu'\''
> '\''--disable-maintainer-mode'\'' '\''--disable-dependency-tracking'\''
> '\''--enable-xdebug'\'' '\''--with-php-config=/usr/bin/php-config8.4'\''
> '\''build_alias=x86_64-linux-gnu'\'''
> CONFIGURE_OPTIONS=' '\''--build=x86_64-linux-gnu'\'' '\''--prefix=/usr'\''
> '\''--includedir=${prefix}/include'\'' '\''--mandir=${prefix}/share/man'\''
> '\''--infodir=${prefix}/share/info'\'' '\''--sysconfdir=/etc'\''
> '\''--localstatedir=/var'\'' '\''--disable-option-checking'\''
> '\''--disable-silent-rules'\''
> '\''--libdir=${prefix}/lib/x86_64-linux-gnu'\''
> '\''--libexecdir=${prefix}/lib/x86_64-linux-gnu'\''
> '\''--disable-maintainer-mode'\'' '\''--disable-dependency-tracking'\''
> '\''--enable-xdebug'\'' '\''--with-php-config=/usr/bin/php-config8.4'\''
> '\''build_alias=x86_64-linux-gnu'\'''
> CPP='cc -E'
> CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
> DEFS=''
> DLLTOOL=''
> DSYMUTIL=''
> DUMPBIN=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP='/usr/bin/grep -E'
> EXEEXT=''
> FGREP=''
> FILECMD=''
> GREP='/usr/bin/grep'
> LD=''
> LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed'
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LIPO=''
> LN_S=''
> LTLIBOBJS=''
> LT_SYS_LIBRARY_PATH=''
> MANIFEST_TOOL=''
> NM=''
> NMEDIT=''
> OBJDUMP=''
> OBJEXT='o'
> OTOOL64=''
> OTOOL=''
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_URL=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> PKG_CONFIG='/usr/bin/pkg-config'
> PKG_CONFIG_LIBDIR=''
> PKG_CONFIG_PATH=''
> RANLIB=''
> SED='/usr/bin/sed'
> SHELL='/bin/bash'
> SHLIB_DL_SUFFIX_NAME='so'
> SHLIB_SUFFIX_NAME='so'
> STRIP=''
> ZLIB_CFLAGS=''
> ZLIB_LIBS=''
> ac_ct_AR=''
> ac_ct_CC='cc'
> ac_ct_DUMPBIN=''
> bindir='${exec_prefix}/bin'
> build='x86_64-pc-linux-gnu'
> build_alias='x86_64-linux-gnu'
> build_cpu='x86_64'
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host='x86_64-pc-linux-gnu'
> host_alias='x86_64-pc-linux-gnu'
> host_cpu='x86_64'
> host_os='linux-gnu'
> host_vendor='pc'
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${prefix}/share/info'
> libdir='${prefix}/lib/x86_64-linux-gnu'
> libexecdir='${prefix}/lib/x86_64-linux-gnu'
> localedir='${datarootdir}/locale'
> localstatedir='/var'
> mandir='${prefix}/share/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> runstatedir='${localstatedir}/run'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='/etc'
> target='x86_64-pc-linux-gnu'
> target_alias=''
> target_cpu='x86_64'
> target_os='linux-gnu'
> target_vendor='pc'
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> /* confdefs.h */
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
>
> configure: exit 1
> dh_auto_configure: error: cd build-8.4 && ./configure
> --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include
> --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
> --sysconfdir=/etc --localstatedir=/var --disable-option-checking
> --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu
> --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
> --disable-dependency-tracking --enable-xdebug
> --with-php-config=/usr/bin/php-config8.4 returned exit code 1
> make[1]: *** [/usr/share/dh-php/pkg-pecl.mk:103: configure-8.4-stamp] Error 25
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/xdebug/xdebug_3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3+rebuild1726681899_amd64-2024-09-18T17:51:40Z.build