Bubblewrap & Composer not updated with ./build all

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
912
Location
🇳🇱
As the title says it all: when executing ./build all Bubblewrap and Composer are not updated and are still at the old versions.

Also when executing ./build all I receive this error when installing imagick:

Trying to make imagick-3.4.4 PHP extension...


/bin/sh /usr/local/directadmin/custombuild/imagick-3.4.4/libtool --mode=compile cc -I. -I/usr/local/directadmin/custombuild/imagick-3.4.4 -I/usr/local/directadmin/custombuild/imagick-3.4.4/include -I/usr/local/directadmin/custombuild/imagick-3.4.4/main -I/usr/local/directadmin/custombuild/imagick-3.4.4 -I/usr/local/php80/include/php -I/usr/local/php80/include/php/main -I/usr/local/php80/include/php/TSRM -I/usr/local/php80/include/php/Zend -I/usr/local/php80/include/php/ext -I/usr/local/php80/include/php/ext/date/lib -I/usr/local/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -I/usr/local/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c -o imagick_file.lo


mkdir .libs


cc -I. -I/usr/local/directadmin/custombuild/imagick-3.4.4 -I/usr/local/directadmin/custombuild/imagick-3.4.4/include -I/usr/local/directadmin/custombuild/imagick-3.4.4/main -I/usr/local/directadmin/custombuild/imagick-3.4.4 -I/usr/local/php80/include/php -I/usr/local/php80/include/php/main -I/usr/local/php80/include/php/TSRM -I/usr/local/php80/include/php/Zend -I/usr/local/php80/include/php/ext -I/usr/local/php80/include/php/ext/date/lib -I/usr/local/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -I/usr/local/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o


In file included from /usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:22:


/usr/local/directadmin/custombuild/imagick-3.4.4/php_imagick_file.h:61:108: error: expected ';', ',' or ')' before 'TSRMLS_DC'


zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC);


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/php_imagick_file.h:65:54: error: expected ';', ',' or ')' before 'TSRMLS_DC'


int php_imagick_safe_mode_check(const char *filename TSRMLS_DC);


^~~~~~~~~


In file included from /usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:22:


/usr/local/directadmin/custombuild/imagick-3.4.4/php_imagick_file.h:68:134: error: expected ';', ',' or ')' before 'TSRMLS_DC'


php_imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC);


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/php_imagick_file.h:71:153: error: expected ';', ',' or ')' before 'TSRMLS_DC'


_result_t php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC);


^~~~~~~~~





/usr/local/directadmin/custombuild/imagick-3.4.4/php_imagick_file.h:74:112: error: expected ';', ',' or ')' before 'TSRMLS_DC'


zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC);


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:81:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'


zend_bool php_imagick_is_url(const char *filename TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:91:108: error: expected ';', ',' or ')' before 'TSRMLS_DC'


zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:160:133: error: expected ';', ',' or ')' before 'TSRMLS_DC'


int php_imagick_read_image_using_imagemagick(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:201:133: error: expected ';', ',' or ')' before 'TSRMLS_DC'


int php_imagick_read_image_using_php_streams(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:255:54: error: expected ';', ',' or ')' before 'TSRMLS_DC'


int php_imagick_safe_mode_check(const char *filename TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:269:134: error: expected ';', ',' or ')' before 'TSRMLS_DC'


php_imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC)


^~~~~~~~~


/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:288:153: error: expected ';', ',' or ')' before 'TSRMLS_DC'


w_result_t php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC)


^~~~~~~~~





/usr/local/directadmin/custombuild/imagick-3.4.4/imagick_file.c:313:112: error: expected ';', ',' or ')' before 'TSRMLS_DC'


zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC)


^~~~~~~~~


make: *** [Makefile:209: imagick_file.lo] Error 1

When I disable imagick and run ./build all again it completes without issues. Manually enabling and installing imagick works, but not when I run ./build all.
 
Yes if you view source in "/custombuild/build"
"Bubblewrap" and "Composer" not include in ./build all

PHP8 still have too many bug, Don't use in product, is the best option.
 
bubblewrap has been added there. Composer has no options.conf option, some prefer to have 1.x version of it as well. Would you like to always get it installed on every system?
 
Composer has no options.conf option, some prefer to have 1.x version of it as well. Would you like to always get it installed on every system?
Composer is such an essential tool for PHP these days, i always install it. But ofcourse i can’t speak for everyone, maybe some don’t need it.

Maybe an option in options.conf would be nice?

If people would prefer v1 that’s also possible ofcourse with a change of the installation script:

To programmatically install specific major versions you can use the --1 or --2 flag. Example:

php composer-setup.php --preview
This way if you install composer with composer-setup.php you always install the latest version.
 
Back
Top