Source: php-solr Version: 2.7.0-1 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: php8.4
Hi, During a test rebuild, php-solr 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:3354: $? = 0 > configure:3343: cc -V >&5 > cc: error: unrecognized command-line option '-V' > cc: fatal error: no input files > compilation terminated. > configure:3354: $? = 1 > configure:3343: cc -qversion >&5 > cc: error: unrecognized command-line option '-qversion'; did you mean > '--version'? > cc: fatal error: no input files > compilation terminated. > configure:3354: $? = 1 > configure:3343: cc -version >&5 > cc: error: unrecognized command-line option '-version' > cc: fatal error: no input files > compilation terminated. > configure:3354: $? = 1 > configure:3374: checking whether the C compiler works > configure:3396: 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:3400: $? = 0 > configure:3451: result: yes > configure:3455: checking for C compiler default output file name > configure:3457: result: a.out > configure:3463: checking for suffix of executables > configure:3470: 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:3474: $? = 0 > configure:3498: result: > configure:3522: checking whether we are cross compiling > configure:3530: 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:3534: $? = 0 > configure:3541: ./conftest > configure:3545: $? = 0 > configure:3560: result: no > configure:3566: checking for suffix of object files > configure:3589: 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:3593: $? = 0 > configure:3617: result: o > configure:3621: checking whether the compiler supports GNU C > configure:3641: 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:3641: $? = 0 > configure:3653: result: yes > configure:3664: checking whether cc accepts -g > configure:3685: cc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 > configure:3685: $? = 0 > configure:3732: result: yes > configure:3752: checking for cc option to enable C11 features > configure:3767: 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:3767: $? = 0 > configure:3786: result: none needed > configure:3910: checking how to run the C preprocessor > configure:3936: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c > configure:3936: $? = 0 > configure:3952: 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:3952: $? = 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:3981: result: cc -E > configure:3995: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c > configure:3995: $? = 0 > configure:4011: 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:4011: $? = 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:4044: checking for egrep -e > configure:4174: result: /usr/bin/grep -E > configure:4180: checking for icc > configure:4190: result: no > configure:4205: checking for suncc > configure:4215: result: no > configure:4234: checking for system library directory > configure:4251: result: lib > configure:4258: checking if compiler supports -Wl,-rpath, > configure:4278: 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:4278: $? = 0 > configure:4291: result: yes > configure:4404: checking for PHP prefix > configure:4406: result: /usr > configure:4408: checking for PHP includes > configure:4410: 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:4412: checking for PHP extension directory > configure:4414: result: /usr/lib/php/20230901 > configure:4416: checking for PHP installed headers prefix > configure:4418: result: /usr/include/php/20230901 > configure:4421: checking if debugging is enabled > configure:4445: result: no > configure:4448: checking if PHP is built with thread safety (ZTS) > configure:4472: result: no > configure:4548: result: > configure:4550: result: Configuring extension > configure:4558: checking whether to enable the Solr extension > configure:4599: result: yes, shared > configure:4608: checking whether to compile with solr in verbose mode > configure:4624: result: no > configure:4633: checking whether to enable code coverage > configure:4649: result: no > > ## ---------------- ## > ## 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_LIBXML_CFLAGS_set= > ac_cv_env_LIBXML_CFLAGS_value= > ac_cv_env_LIBXML_LIBS_set= > ac_cv_env_LIBXML_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_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-solr'\'' '\''--with-php-config=/usr/bin/php-config8.4'\'' > '\''--with-libxml-dir=shared,/usr'\'' '\''--with-curl=shared,/usr'\'' > '\''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-solr'\'' '\''--with-php-config=/usr/bin/php-config8.4'\'' > '\''--with-libxml-dir=shared,/usr'\'' '\''--with-curl=shared,/usr'\'' > '\''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='' > LIBXML_CFLAGS='' > LIBXML_LIBS='' > 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='' > 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 2 > 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-solr > --with-php-config=/usr/bin/php-config8.4 --with-libxml-dir=shared,/usr > --with-curl=shared,/usr returned exit code 2 > 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/php-solr/php-solr_2.7.0-1+rebuild1726681240_amd64-2024-09-18T17:40:41Z.build