GithubHelp home page GithubHelp logo

Build is failing about laravel-docker HOT 10 CLOSED

fgilio avatar fgilio commented on August 22, 2024
Build is failing

from laravel-docker.

Comments (10)

lorisleiva avatar lorisleiva commented on August 22, 2024 1

All builds are passing. 🍺

screenshot 2019-02-09 at 09 57 10

screenshot 2019-02-09 at 11 48 38

from laravel-docker.

lorisleiva avatar lorisleiva commented on August 22, 2024

Hi, yeah I'm not sure why I'm the only one allowed to see the build log since the image is open source.

It looks like it's an issue with the PECL extensions.

/tmp/pear/temp/xdebug/xdebug_compat.c:194:2: error: too few arguments to function 'php_setcookie'
php_setcookie(name_s, value_s, expires, path_s, domain_s, secure, url_encode, httponly);
^~~~~~~~~~~~~
In file included from /tmp/pear/temp/xdebug/xdebug_compat.h:25,
from /tmp/pear/temp/xdebug/xdebug_compat.c:45:
/usr/local/include/php/ext/standard/head.h:40:12: note: declared here
PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
^~~~~~~~~~~~~
make: *** [Makefile:234: xdebug_compat.lo] Error 1
ERROR: `make' failed
Removing intermediate container bf7ee7ed2c1e
The command '/bin/sh -c pecl install imagick xdebug' returned a non-zero code: 1

Did you have to deal with an issue like that before? Thanks for your help in this 🙂

The full build log

Explore
Repositories
Organizations
Repositories
lorisleiva / laravel-docker
Builds
Using 0 of 1 private repositories. Get more
FAILED

Build in 'master' (ceefe79f)
latest
lorisleiva/laravel-docker
CREATED
9 hours ago
DURATION
4 min
USER
lorisleiva
LOCATION
unknown
IP
192.30.252.34
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Reset branch 'master'
Your branch is up-to-date with 'origin/master'.
Pulling cache layers for index.docker.io/lorisleiva/laravel-docker:latest...
Done!
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/lorisleiva/laravel-docker:latest...
Step 1/13 : FROM php:alpine
---> 05bf5fbc37ac
Step 2/13 : RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev imagemagick-dev libtool libxml2-dev postgresql-dev sqlite-dev
---> Running in 429a4b481bcf
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/58) Installing m4 (1.4.18-r1)
(2/58) Installing libbz2 (1.0.6-r6)
(3/58) Installing perl (5.26.3-r0)
(4/58) Installing autoconf (2.69-r2)
(5/58) Installing pkgconf (1.6.0-r0)
(6/58) Installing dpkg-dev (1.19.2-r0)
(7/58) Installing dpkg (1.19.2-r0)
(8/58) Installing libmagic (5.35-r0)
(9/58) Installing file (5.35-r0)
(10/58) Installing libgcc (8.2.0-r2)
(11/58) Installing libstdc++ (8.2.0-r2)
(12/58) Installing binutils (2.31.1-r2)
(13/58) Installing gmp (6.1.2-r1)
(14/58) Installing isl (0.18-r0)
(15/58) Installing libgomp (8.2.0-r2)
(16/58) Installing libatomic (8.2.0-r2)
(17/58) Installing mpfr3 (3.1.5-r1)
(18/58) Installing mpc1 (1.0.3-r1)
(19/58) Installing gcc (8.2.0-r2)
(20/58) Installing musl-dev (1.1.20-r3)
(21/58) Installing libc-dev (0.7.1-r0)
(22/58) Installing g++ (8.2.0-r2)
(23/58) Installing make (4.2.1-r2)
(24/58) Installing re2c (1.1.1-r0)
(25/58) Installing openssl-dev (1.1.1a-r1)
(26/58) Installing zlib-dev (1.2.11-r1)
(27/58) Installing libssh2-dev (1.8.0-r4)
(28/58) Installing nghttp2-dev (1.35.1-r0)
(29/58) Installing curl-dev (7.63.0-r0)
(30/58) Installing libxau (1.0.8-r3)
(31/58) Installing libbsd (0.8.6-r2)
(32/58) Installing libxdmcp (1.1.2-r5)
(33/58) Installing libxcb (1.13-r2)
(34/58) Installing libx11 (1.6.7-r0)
(35/58) Installing libxext (1.3.3-r3)
(36/58) Installing expat (2.2.6-r0)
(37/58) Installing libpng (1.6.35-r0)
(38/58) Installing freetype (2.9.1-r2)
(39/58) Installing libuuid (2.33-r0)
(40/58) Installing fontconfig (2.13.1-r0)
(41/58) Installing lcms2 (2.9-r1)
(42/58) Installing libltdl (2.4.6-r5)
(43/58) Installing imagemagick-libs (7.0.8.23-r0)
(44/58) Installing imagemagick-c++ (7.0.8.23-r0)
(45/58) Installing imagemagick-dev (7.0.8.23-r0)
(46/58) Installing readline (7.0.003-r1)
(47/58) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(48/58) Installing libtool (2.4.6-r5)
(49/58) Installing libxml2-dev (2.9.9-r0)
(50/58) Installing db (5.3.28-r1)
(51/58) Installing libsasl (2.1.27-r0)
(52/58) Installing libldap (2.4.47-r2)
(53/58) Installing libpq (11.1-r0)
(54/58) Installing postgresql-libs (11.1-r0)
(55/58) Installing postgresql-dev (11.1-r0)
(56/58) Installing sqlite-libs (3.26.0-r3)
(57/58) Installing sqlite-dev (3.26.0-r3)
(58/58) Installing .build-deps (0)
Executing busybox-1.29.3-r10.trigger
OK: 274 MiB in 90 packages
Removing intermediate container 429a4b481bcf
---> 6c704c96282c
Step 3/13 : RUN apk add --no-cache bash curl g++ gcc git imagemagick libc-dev libpng-dev make mysql-client nodejs nodejs-npm yarn openssh-client postgresql-libs rsync zlib-dev libzip-dev
---> Running in 29ec630a2e92
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/52) Installing pcre2 (10.32-r1)
(2/52) Installing git (2.20.1-r0)
(3/52) Installing libxrender (0.9.10-r3)
(4/52) Installing pixman (0.34.0-r6)
(5/52) Installing cairo (1.16.0-r1)
(6/52) Installing libffi (3.2.1-r6)
(7/52) Installing libintl (0.19.8.1-r4)
(8/52) Installing libblkid (2.33-r0)
(9/52) Installing libmount (2.33-r0)
(10/52) Installing pcre (8.42-r1)
(11/52) Installing glib (2.58.1-r2)
(12/52) Installing dbus-libs (1.10.24-r1)
(13/52) Installing avahi-libs (0.7-r1)
(14/52) Installing nettle (3.4.1-r0)
(15/52) Installing p11-kit (0.23.14-r0)
(16/52) Installing libtasn1 (4.13-r0)
(17/52) Installing libunistring (0.9.10-r0)
(18/52) Installing gnutls (3.6.4-r0)
(19/52) Installing cups-libs (2.2.10-r0)
(20/52) Installing jbig2dec (0.15-r0)
(21/52) Installing libjpeg-turbo (1.5.3-r4)
(22/52) Installing tiff (4.0.10-r0)
(23/52) Installing ghostscript (9.26-r1)
(24/52) Installing libxft (2.3.2-r3)
(25/52) Installing fribidi (1.0.5-r0)
(26/52) Installing graphite2 (1.3.12-r1)
(27/52) Installing harfbuzz (2.2.0-r0)
(28/52) Installing pango (1.42.4-r0)
(29/52) Installing libcroco (0.6.12-r1)
(30/52) Installing shared-mime-info (1.10-r0)
(31/52) Installing gdk-pixbuf (2.36.11-r2)
(32/52) Installing librsvg (2.40.20-r0)
(33/52) Installing libwebp (1.0.1-r0)
(34/52) Installing imagemagick (7.0.8.23-r0)
(35/52) Installing libpng-dev (1.6.35-r0)
(36/52) Installing libzip (1.5.1-r2)
(37/52) Installing libzip-dev (1.5.1-r2)
(38/52) Installing mariadb-common (10.3.12-r2)
(39/52) Installing mariadb-client (10.3.12-r2)
(40/52) Installing mysql-client (10.3.12-r2)
(41/52) Installing c-ares (1.15.0-r0)
(42/52) Installing http-parser (2.8.1-r0)
(43/52) Installing libuv (1.23.2-r0)
(44/52) Installing nodejs (10.14.2-r0)
(45/52) Installing npm (10.14.2-r0)
(46/52) Installing openssh-keygen (7.9_p1-r2)
(47/52) Installing openssh-client (7.9_p1-r2)
(48/52) Installing libattr (2.4.47-r7)
(49/52) Installing libacl (2.2.52-r5)
(50/52) Installing popt (1.16-r7)
(51/52) Installing rsync (3.1.3-r1)
(52/52) Installing yarn (1.12.3-r0)
Executing busybox-1.29.3-r10.trigger
Executing fontconfig-2.13.1-r0.trigger
Executing glib-2.58.1-r2.trigger
Executing shared-mime-info-1.10-r0.trigger
Executing gdk-pixbuf-2.36.11-r2.trigger
OK: 447 MiB in 142 packages
Removing intermediate container 29ec630a2e92
---> db0f24b57071
Step 4/13 : RUN pecl install imagick xdebug
---> Running in bf7ee7ed2c1e
downloading imagick-3.4.3.tgz ...
Starting to download imagick-3.4.3.tgz (245,410 bytes)
..
..
.....
..........
.......
.........................done: 245,410 bytes
downloading xdebug-2.6.1.tgz ...
Starting to download xdebug-2.6.1.tgz (283,961 bytes)
...done: 283,961 bytes
19 source files, building
running: phpize
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
Please provide the prefix of Imagemagick installation [autodetect] : building in /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3
running: /tmp/pear/temp/imagick/configure --with-php-config=/usr/local/bin/php-config --with-imagick
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20180731
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 1.1.1 (ok)
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... It exists
found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 7.0.8 Q16 HDRI
checking for MagickWand.h or magick-wand.h header... /usr/include/ImageMagick-7/MagickWand/MagickWand.h
checking PHP version is at least 5.1.3... yes. found 7.3.1
libs
-lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
checking for MagickGetVersion... yes
checking for MagickSetImageInterpolateMethod... yes
checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -o imagick_file.lo
mkdir .libs
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -o imagickdraw_class.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -fPIC -DPIC -o .libs/imagickdraw_class.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -o imagickpixel_class.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -fPIC -DPIC -o .libs/imagickpixel_class.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -o imagickpixeliterator_class.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -fPIC -DPIC -o .libs/imagickpixeliterator_class.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -o imagick_helpers.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -fPIC -DPIC -o .libs/imagick_helpers.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -o imagick.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -fPIC -DPIC -o .libs/imagick.o
/tmp/pear/temp/imagick/imagick.c: In function 'php_imagick_read_property':
/tmp/pear/temp/imagick/imagick.c:3262:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
std_hnd = zend_get_std_object_handlers();
^
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -o imagickkernel_class.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -fPIC -DPIC -o .libs/imagickkernel_class.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -o shim_im6_to_im7.lo
cc -I/usr/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -fPIC -DPIC -o .libs/shim_im6_to_im7.o
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-7 -DHAVE_CONFIG_H -g -O2 -o imagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules imagick_file.lo imagick_class.lo imagickdraw_class.lo imagickpixel_class.lo imagickpixeliterator_class.lo imagick_helpers.lo imagick.lo imagickkernel_class.lo shim_im6_to_im7.lo -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
cc -shared .libs/imagick_file.o .libs/imagick_class.o .libs/imagickdraw_class.o .libs/imagickpixel_class.o .libs/imagickpixeliterator_class.o .libs/imagick_helpers.o .libs/imagick.o .libs/imagickkernel_class.o .libs/shim_im6_to_im7.o -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -Wl,-soname -Wl,imagick.so -o .libs/imagick.so
creating imagick.la
(cd .libs && rm -f imagick.la && ln -s ../imagick.la imagick.la)
/bin/sh /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/libtool --mode=install cp ./imagick.la /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules
cp ./.libs/imagick.so /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules/imagick.so
cp ./.libs/imagick.lai /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules/imagick.la
PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/pear/temp/pear-build-defaultusergIJbBm/imagick-3.4.3/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3" install
Installing shared extensions: /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20180731/
Installing header files: /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include/php/
running: find "/tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3" | xargs ls -dils
1280691 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3
1280728 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr
1280729 4 drwxr-xr-x 4 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local
1280734 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include
1280735 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include/php
1280736 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include/php/ext
1280737 4 drwxr-xr-x 2 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include/php/ext/imagick
1280738 4 -rw-r--r-- 1 root root 1828 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/include/php/ext/imagick/php_imagick_shared.h
1280730 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib
1280731 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib/php
1280732 4 drwxr-xr-x 3 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib/php/extensions
1280733 4 drwxr-xr-x 2 root root 4096 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20180731
1280726 1580 -rwxr-xr-x 1 root root 1613872 Feb 6 22:52 /tmp/pear/temp/pear-build-defaultusergIJbBm/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so
Build process completed successfully
Installing '/usr/local/include/php/ext/imagick/php_imagick_shared.h'
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so'
install ok: channel://pecl.php.net/imagick-3.4.3
79 source files, building
running: phpize
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
building in /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1
running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20180731
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 1.1.1 (ok)
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable Xdebug support... yes, shared
checking whether to enable Xdebug developer build flags... no
checking Check for supported PHP versions... supported (7.3.1)
checking for gettimeofday... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for cos in -lm... yes
checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug.c -o xdebug.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/bin/sh /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_branch_info.c -o xdebug_branch_info.lo
cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_branch_info.c -fPIC -DPIC -o .libs/xdebug_branch_info.o
/bin/sh /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_code_coverage.c -o xdebug_code_coverage.lo
cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_code_coverage.c -fPIC -DPIC -o .libs/xdebug_code_coverage.o
/tmp/pear/temp/xdebug/xdebug_code_coverage.c: In function 'xdebug_find_jumps':
/tmp/pear/temp/xdebug/xdebug_code_coverage.c:624:17: warning: implicit declaration of function 'RT_CONSTANT_EX'; did you mean 'CT_CONSTANT_EX'? [-Wimplicit-function-declaration]
array_value = RT_CONSTANT_EX(opa->literals, opcode.op2);
^~~~~~~~~~~~~~
CT_CONSTANT_EX
/tmp/pear/temp/xdebug/xdebug_code_coverage.c:624:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
array_value = RT_CONSTANT_EX(opa->literals, opcode.op2);
^
/tmp/pear/temp/xdebug/xdebug_code_coverage.c: In function 'prefill_from_class_table':
/tmp/pear/temp/xdebug/xdebug_code_coverage.c:882:4: warning: implicit declaration of function 'ZEND_HASH_INC_APPLY_COUNT'; did you mean 'ZEND_HASH_APPLY_KEEP'? [-Wimplicit-function-declaration]
ZEND_HASH_INC_APPLY_COUNT(&ce->function_table);
^~~~~~~~~~~~~~~~~~~~~~~~~
ZEND_HASH_APPLY_KEEP
/tmp/pear/temp/xdebug/xdebug_code_coverage.c:886:4: warning: implicit declaration of function 'ZEND_HASH_DEC_APPLY_COUNT'; did you mean 'ZEND_HASH_APPLY_KEEP'? [-Wimplicit-function-declaration]
ZEND_HASH_DEC_APPLY_COUNT(&ce->function_table);
^~~~~~~~~~~~~~~~~~~~~~~~~
ZEND_HASH_APPLY_KEEP
/bin/sh /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_com.c -o xdebug_com.lo
cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_com.c -fPIC -DPIC -o .libs/xdebug_com.o
/bin/sh /tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_compat.c -o xdebug_compat.lo
cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/include -I/tmp/pear/temp/pear-build-defaultuserLLdmbG/xdebug-2.6.1/main -I/tmp/pear/temp/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/xdebug/xdebug_compat.c -fPIC -DPIC -o .libs/xdebug_compat.o
/tmp/pear/temp/xdebug/xdebug_compat.c: In function 'xdebug_zval_ptr':
/tmp/pear/temp/xdebug/xdebug_compat.c:56:27: warning: passing argument 1 of 'zend_get_zval_ptr' makes pointer from integer without a cast [-Wint-conversion]
return zend_get_zval_ptr(op_type, node, zdata, &should_free, BP_VAR_R);
^~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/xdebug/xdebug_compat.c:43:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: expected 'const zend_op *' {aka 'const struct _zend_op *'} but argument is of type 'int'
ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *should_free, int type);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c:56:36: warning: passing argument 2 of 'zend_get_zval_ptr' makes integer from pointer without a cast [-Wint-conversion]
return zend_get_zval_ptr(op_type, node, zdata, &should_free, BP_VAR_R);
^~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/xdebug/xdebug_compat.c:43:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: expected 'int' but argument is of type 'const znode_op *' {aka 'const union _znode_op *'}
ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *should_free, int type);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c:56:42: warning: passing argument 3 of 'zend_get_zval_ptr' from incompatible pointer type [-Wincompatible-pointer-types]
return zend_get_zval_ptr(op_type, node, zdata, &should_free, BP_VAR_R);
^~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/xdebug/xdebug_compat.c:43:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: expected 'const znode_op *' {aka 'const union _znode_op *'} but argument is of type 'zend_execute_data *' {aka 'struct _zend_execute_data *'}
ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *should_free, int type);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c:56:49: warning: passing argument 4 of 'zend_get_zval_ptr' from incompatible pointer type [-Wincompatible-pointer-types]
return zend_get_zval_ptr(op_type, node, zdata, &should_free, BP_VAR_R);
^~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/xdebug/xdebug_compat.c:43:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: expected 'const zend_execute_data *' {aka 'const struct _zend_execute_data *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *should_free, int type);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c:56:9: error: too few arguments to function 'zend_get_zval_ptr'
return zend_get_zval_ptr(op_type, node, zdata, &should_free, BP_VAR_R);
^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/xdebug/xdebug_compat.c:43:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: declared here
ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *should_free, int type);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c: In function 'xdebug_setcookie':
/tmp/pear/temp/xdebug/xdebug_compat.c:194:80: warning: passing argument 8 of 'php_setcookie' makes pointer from integer without a cast [-Wint-conversion]
php_setcookie(name_s, value_s, expires, path_s, domain_s, secure, url_encode, httponly);
^~~~~~~~
In file included from /tmp/pear/temp/xdebug/xdebug_compat.h:25,
from /tmp/pear/temp/xdebug/xdebug_compat.c:45:
/usr/local/include/php/ext/standard/head.h:40:160: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'int'
PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
~~~~~~~~~~~~~^~~~~~~~
/tmp/pear/temp/xdebug/xdebug_compat.c:194:2: error: too few arguments to function 'php_setcookie'
php_setcookie(name_s, value_s, expires, path_s, domain_s, secure, url_encode, httponly);
^~~~~~~~~~~~~
In file included from /tmp/pear/temp/xdebug/xdebug_compat.h:25,
from /tmp/pear/temp/xdebug/xdebug_compat.c:45:
/usr/local/include/php/ext/standard/head.h:40:12: note: declared here
PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
^~~~~~~~~~~~~
make: *** [Makefile:234: xdebug_compat.lo] Error 1
ERROR: `make' failed
Removing intermediate container bf7ee7ed2c1e
The command '/bin/sh -c pecl install imagick xdebug' returned a non-zero code: 1

from laravel-docker.

fgilio avatar fgilio commented on August 22, 2024

Hmm crap, I have no idea. I guess the only reason my fork build is passing is because it does not have xdebug, it's the only difference.

UPDATE: I'm almost certain is an incompatibility issue between PHP and Xdebug, but Xdebug 2.7 with PHP 7.3 compatibility is still in RC phase.
Some references:

from laravel-docker.

lorisleiva avatar lorisleiva commented on August 22, 2024

Okay thanks for sharing this! I’m up for removing xdebug so that the build passes. Could you basically PR what you have haha? I’ll try to re-add it later when it will be more stable.

On that subject, do you feel the need to have several images that support multiple versions of PHP? I like the idea of supporting the last 3 versions or something but I’m not sure that the benefits are worth the added complexity.

from laravel-docker.

fgilio avatar fgilio commented on August 22, 2024

I was thinking about the exact same thing. It'd actually be useful for me, I have a big project that's currently using PHP 7.1 but using this image, which I guess could be really dangerous and could have already bite us.
That said, I've no idea how that could be done. Maybe just having 3 dockerfiles in the repo? Would Docker Cloud automatically pick that up?

So, summarizing... I'm in on supporting the latests 3 versions of PHP. I think it'd be really useful and won't add that much maintenance work.

PR in place: #18

from laravel-docker.

lorisleiva avatar lorisleiva commented on August 22, 2024

Yeah I'd need to see what other repos are doing to organize this but it's basically multiple Dockerfile with some tags defined in Docker hub. I'll investigate that now.

from laravel-docker.

lorisleiva avatar lorisleiva commented on August 22, 2024

Okay so the build is still failing but this time because it cannot find composer.

Step 8/13 : RUN composer global require "squizlabs/php_codesniffer=*"
---> Running in 115273d77025
/bin/sh: composer: not found
Removing intermediate container 115273d77025
The command '/bin/sh -c composer global require "squizlabs/php_codesniffer=*"' returned a non-zero code: 127

I had a look at the Dockerfile and we are trying to composer require right before we install it. I'll fix that now and hopefully we should have green. 🤞

from laravel-docker.

fgilio avatar fgilio commented on August 22, 2024

Oh I put it before Install composer, sry about that 🤦‍♂️

So the build rules have to be specified in Docker Cloud... would have been nice to have them here in the repo. But we have multiple PHP versions working 🍻

from laravel-docker.

lorisleiva avatar lorisleiva commented on August 22, 2024

Haha don't worry about it 😉

Yeah I know, it's a shame that I'm the only one who can see those settings. We can provide some regex expressions with tags (e.g. a commit tagged v0.1.3 will created a docker tag image:0.1.3) but that's not very useful for us.

from laravel-docker.

fgilio avatar fgilio commented on August 22, 2024

Yep, that's not very useful. I think is fine like this.

from laravel-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.