Solved Upgrade issue to PHP 8.3.7 using CustomBuild

PeterVeldhuis

Verified User
Joined
Jan 18, 2024
Messages
31
Location
Apeldoorn
Hi, receiving below error while upgrading PHP to 8.3.7 using CustomBuild.
Anyone any suggestions?

Current PHP-version 8.3.6
DA 1.664 using linux_amd64 on rhel7_amd64

/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/comment.c -o ext/dom/comment.lo -MMD -MF ext/dom/comment.dep -MT ext/dom/comment.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/entityreference.c -o ext/dom/entityreference.lo -MMD -MF ext/dom/entityreference.dep -MT ext/dom/entityreference.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/notation.c -o ext/dom/notation.lo -MMD -MF ext/dom/notation.dep -MT ext/dom/notation.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/xpath.c -o ext/dom/xpath.lo -MMD -MF ext/dom/xpath.dep -MT ext/dom/xpath.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/dom_iterators.c -o ext/dom/dom_iterators.lo -MMD -MF ext/dom/dom_iterators.dep -MT ext/dom/dom_iterators.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/dom/namednodemap.c -o ext/dom/namednodemap.lo -MMD -MF ext/dom/namednodemap.dep -MT ext/dom/namednodemap.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/exif/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/exif/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/exif/exif.c -o ext/exif/exif.lo -MMD -MF ext/exif/exif.dep -MT ext/exif/exif.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/libmagic -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo -MMD -MF ext/fileinfo/fileinfo.dep -MT ext/fileinfo/fileinfo.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/libmagic -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/php_libmagic.c -o ext/fileinfo/php_libmagic.lo -MMD -MF ext/fileinfo/php_libmagic.dep -MT ext/fileinfo/php_libmagic.lo
/bin/sh /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/ -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/main -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/mbstring/libmbfl/mbfl -I/usr/lib64/libzip/include -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/TSRM -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fstack-protector-strong -D_FORTIFY_SOURCE=1 -O1 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/libmagic -c /usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo -MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1173: ext/fileinfo/libmagic/apprentice.lo] Error 1
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.3.7.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.ZSwTwQFeb5.php-8.3.7.tar.gz'
 
Do you have enough free memory? On some systems with 2GB ram compilation sometimes also stops at apprentice.lo is my experience
 
Back
Top