Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.0.15 failing to build sockets extension #1245

Closed
devsibwarra opened this issue Jan 21, 2022 · 27 comments
Closed

PHP 8.0.15 failing to build sockets extension #1245

devsibwarra opened this issue Jan 21, 2022 · 27 comments

Comments

@devsibwarra
Copy link

devsibwarra commented Jan 21, 2022

I am trying to build the PHP sockets extension with the php:8.0-fpm tag. This tag updated to PHP 8.0.15 today and is failing with the output below. Using the php:8.0.14-fpm works as expected

Checked the following tags and all fail with the same error

  • 8.0.15-fpm-bullseye
  • 8.0.15-fpm-buster
  • 8.0.15-fpm-alpine3.15
  • 8.0.15-fpm-alpine3.14
  • 8.0.15-cli-bullseye: not FPM, but wanted to confirm it also fails
$ docker run --rm --name fpmtest php:8.0.15-fpm docker-php-ext-install sockets
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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 for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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-20200930
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable sockets support... yes, shared
checking for hstrerror... yes
checking for if_nametoindex... yes
checking for if_indextoname... 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/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking if getaddrinfo supports AI_V4MAPPED... yes
checking if getaddrinfo supports AI_ALL... yes
checking if getaddrinfo supports AI_IDN... no
checking if ancillary credentials uses ucred... no
checking if ancillary credentials uses cmsgcred... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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... 1572864
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/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: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sockets.c -o sockets.lo
mkdir .libs
 cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sockets.c  -fPIC -DPIC -o .libs/sockets.o
/bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/multicast.c -o multicast.lo
 cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/multicast.c  -fPIC -DPIC -o .libs/multicast.o
/bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/conversions.c -o conversions.lo
 cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/conversions.c  -fPIC -DPIC -o .libs/conversions.o
/bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sockaddr_conv.c -o sockaddr_conv.lo
 cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sockaddr_conv.c  -fPIC -DPIC -o .libs/sockaddr_conv.o
/bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sendrecvmsg.c -o sendrecvmsg.lo
 cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sendrecvmsg.c  -fPIC -DPIC -o .libs/sendrecvmsg.o
/usr/src/php/ext/sockets/sendrecvmsg.c: In function 'init_ancillary_registry':
/usr/src/php/ext/sockets/sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
  128 |  PUT_ENTRY(sizeof(struct cmsgcred), 0, 0, from_zval_write_ucred,
      |                   ^~~~~~
/usr/src/php/ext/sockets/sendrecvmsg.c:99:17: note: in definition of macro 'PUT_ENTRY'
   99 |  entry.size   = sizev; \
      |                 ^~~~~
/usr/src/php/ext/sockets/sendrecvmsg.c:129:36: error: 'SCM_CREDS' undeclared (first use in this function)
  129 |    to_zval_read_ucred, SOL_SOCKET, SCM_CREDS);
      |                                    ^~~~~~~~~
/usr/src/php/ext/sockets/sendrecvmsg.c:105:19: note: in definition of macro 'PUT_ENTRY'
  105 |  key.cmsg_type  = type; \
      |                   ^~~~
/usr/src/php/ext/sockets/sendrecvmsg.c:129:36: note: each undeclared identifier is reported only once for each function it appears in
  129 |    to_zval_read_ucred, SOL_SOCKET, SCM_CREDS);
      |                                    ^~~~~~~~~
/usr/src/php/ext/sockets/sendrecvmsg.c:105:19: note: in definition of macro 'PUT_ENTRY'
  105 |  key.cmsg_type  = type; \
      |                   ^~~~
make: *** [Makefile:216: sendrecvmsg.lo] Error 1
@yosifkit
Copy link
Member

Looks like this is likely an upstream PHP bug in php/php-src@51647eb.

And the relevant configure lines where both ANC_CREDS_UCRED and ANC_CREDS_CMSGCRED are both undefined. It seems to be detecting ucred incorrectly?

checking if ancillary credentials uses ucred... no
checking if ancillary credentials uses cmsgcred... no

@devnexen
Copy link

Hello, what would be the config.log content at the ucred detection part ? I have my suspicions but just to check.

@devsibwarra
Copy link
Author

Confirmed this also fails for the newly released PHP 8.1.2

@tianon
Copy link
Member

tianon commented Jan 21, 2022

There was more discussion on this over in php/php-src#7978 which has led to php/php-src#7981 -- I think it could probably benefit from some users testing it. 😄 👀

@devsibwarra
Copy link
Author

@tianon Tested that PR with the following and all built PHP with sockets

docker run --rm PHP_TAG sh -ec 'docker-php-source extract ; curl -fsSL https://raw.githubusercontent.com/php/php-src/6a6c8a60965c6fc3f145870a49b13b719ebd4a72/ext/sockets/config.m4 -o /usr/src/php/ext/sockets/config.m4 ; docker-php-ext-install sockets ; php -m'

where PHP_TAG was one of

  • php:8.0.15-fpm-bullseye
  • php:8.0.15-fpm-buster
  • php:8.0.15-fpm-alpine3.15
  • php:8.0.15-cli-bullseye

Will make this modification to my Dockerfile and run in staging for a bit

@joseluisq
Copy link

One more user build affected because of sockets on latest 8.0.15
php:8.0.15-fpm-alpine3.14 https://github.com/joseluisq/alpine-php-fpm/runs/4902079905?check_suite_focus=true#step:4:9028

@OneEyedSpaceFish
Copy link

Unfortunately this issue is also present in the latest 8.1.2 builds. (For further information please see the mention above)

@litan1106
Copy link

Same issue with php8.0-apache

@ve3
Copy link

ve3 commented Jan 23, 2022

Same with php8.1-apache

@MastaG
Copy link

MastaG commented Jan 24, 2022

As a workaround you can put something like:

ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"

In your Dockerfile.

@jakubboucek
Copy link

ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"

@MastaG your workaround tested, but not works for me:

#10 5.125 /bin/bash /usr/src/php/ext/sockets/libtool --mode=compile cc -I. -I/usr/src/php/ext/sockets -I/usr/src/php/ext/sockets/include -I/usr/src/php/ext/sockets/main -I/usr/src/php/ext/sockets -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  -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H  -D_GNU_SOURCE;   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/ext/sockets/sendrecvmsg.c -o sendrecvmsg.lo
#10 5.223 libtool: compile: cannot determine name of library object from `-D_GNU_SOURCE'
#10 5.224 /bin/bash: line 1: -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
#10 5.225 make: *** [Makefile:210: multicast.lo] Error 127
#10 5.225 make: *** Waiting for unfinished jobs....
#10 5.226 libtool: compile: cannot determine name of library object from `-D_GNU_SOURCE'
#10 5.227 /bin/bash: line 1: -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
#10 5.227 libtool: compile: cannot determine name of library object from `-D_GNU_SOURCE'
#10 5.228 /bin/bash: line 1: -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
#10 5.228 make: *** [Makefile:214: sockaddr_conv.lo] Error 127
#10 5.229 make: *** [Makefile:208: sockets.lo] Error 127
#10 5.231 libtool: compile: cannot determine name of library object from `-D_GNU_SOURCE'
#10 5.232 /bin/bash: line 1: -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
#10 5.232 make: *** [Makefile:212: conversions.lo] Error 127
#10 5.235 libtool: compile: cannot determine name of library object from `-D_GNU_SOURCE'
#10 5.235 /bin/bash: line 1: -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
#10 5.236 make: *** [Makefile:216: sendrecvmsg.lo] Error 127
#10 ERROR: executor failed running [/bin/sh -c set -eux;     DEBIAN_FRONTEND=noninteractive;     docker-php-ext-install -j$(nproc)         sockets;]: exit code: 2
------
 > [ 6/11] RUN set -eux;     DEBIAN_FRONTEND=noninteractive;     docker-php-ext-install -j$(nproc)         sockets;:
------
executor failed running [/bin/sh -c set -eux;     DEBIAN_FRONTEND=noninteractive;     docker-php-ext-install -j$(nproc)         sockets;]: exit code: 2

@devnexen
Copy link

The _GNU_SOURCE constant was not meant to be used so widely.

@MastaG
Copy link

MastaG commented Jan 24, 2022

Yes, it's a nasty workaround.
In our case we're using php:8.0-cli-buster and php:8.0-apache-buster.
We just set it right before building the module and re-arranged the Dockerfile so nothing builds afterwards.
Something like:

ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ && \
    docker-php-ext-install gd intl bcmath bz2 mysqli pdo_mysql opcache sockets

And make sure we don't build or compile anything after this.

@thirsch
Copy link

thirsch commented Jan 24, 2022

Another workaround is to set the CFLAGS variable just for the sockets install step in your Dockerfile:

RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install sockets

This will produce another layer but uses the fix only for the socket install.

@MastaG
Copy link

MastaG commented Jan 24, 2022 via email

@rgerovski
Copy link

rgerovski commented Jan 24, 2022

Another workaround is to set the CFLAGS variable just for the sockets install step in your Dockerfile:

RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install sockets

This will produce another layer but uses the fix only for the socket install.

Unfortunately this didn't work for me (using 8.0.15-fpm-alpine3.15 as base image)

@litan1106
Copy link

@rgerovski thanks for the workaround

@thirsch
Copy link

thirsch commented Jan 24, 2022

Another workaround is to set the CFLAGS variable just for the sockets install step in your Dockerfile:
RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install sockets
This will produce another layer but uses the fix only for the socket install.

Unfortunately this didn't work for me (using 8.0.15-fpm-alpine3.15 as base image)

I'm sorry to hear, the following minimal example is running fine for me:

FROM php:8.0.15-fpm-alpine3.15

RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install sockets

djalal added a commit to artifakt-io/artifakt-docker-images that referenced this issue Feb 1, 2022
* php 8.0.15 failing

docker-library/php#1245

* Update Dockerfile
jakubboucek added a commit to jakubboucek/docker-lamp-devstack that referenced this issue Feb 2, 2022
jakubboucek added a commit to jakubboucek/docker-lamp-devstack that referenced this issue Feb 2, 2022
@ujwaldhakal
Copy link

ENV CFLAGS="$CFLAGS -D_GNU_SOURCE" worked for me as I was using php:8.1-fpm-alpine image. Thanks @MastaG

@tianon
Copy link
Member

tianon commented Feb 4, 2022

The official fixes for this are part of 8.0.16RC1 and 8.1.3RC1, one of which is in docker-library/official-images#11805 already and the other of which will be there shortly (thanks to #1249). 👍

@tianon tianon closed this as completed Feb 4, 2022
@mtovmassian
Copy link

The official fixes for this are part of 8.0.16RC1 and 8.1.3RC1, one of which is in docker-library/official-images#11805 already and the other of which will be there shortly (thanks to #1249). +1

Thank you @tianon! How long it takes for the image to be published on Docker Hub?

@tianon
Copy link
Member

tianon commented Feb 4, 2022

https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what 👀

Usually the build/push takes something like a few hours after the official images PR is merged, but depends heavily on the existing build queue.

@waghanza
Copy link

waghanza commented Feb 5, 2022

@tianon Will this fix be backported in 8.0 images ?

@tianon
Copy link
Member

tianon commented Feb 7, 2022

Yes, 8.0.16 will eventually be released (upstream), and will contain this fix (the "RC" in that version number stands for "Release Candidate").

@spfroc

This comment was marked as duplicate.

@sscotti
Copy link

sscotti commented Feb 12, 2022

@jakubboucek
Copy link

Must be a similar issue for me ?

Yep, it's relevant for that your question. Look at my Image Dockerfile with applied workaround for inspiration.

jakubboucek added a commit to jakubboucek/docker-lamp-devstack that referenced this issue Feb 12, 2022
macbre added a commit to elecena/python-php that referenced this issue Feb 12, 2022
jakubboucek added a commit to jakubboucek/docker-lamp-devstack that referenced this issue Feb 12, 2022
Kingdutch added a commit to goalgorilla/open_social_docker that referenced this issue Mar 22, 2022
The sockets extension is used by the current version of 
drupal/rabbitmq 3.x which is required by the social_real_time
module on which the social_chat extension is built.

Enabling the extension this way should be enough to make the CI
for the mentioned modules work again. There is a known issue in
some specific PHP docker image versions but that seems to have
been fixed, see docker-library/php#1245
khs1994 added a commit to khs1994-docker/lnmp that referenced this issue May 28, 2022
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests