zolweb / docker-php7

A docker image with php 7 and extensions (apc, apcu, intl, mcrypt,...)
15 stars 4 forks source link

exited with code 1: setfacl Operation not supported #9

Open elcolie opened 4 years ago

elcolie commented 4 years ago

Directory: 5.0 commit: 1038e51467a9eb26222999a47651deeff4627c7f build success, but when I run I got setfacl Operation not supported

php74  | setfacl: /var/www/html/vendor/kenjis/ci-phpunit-test/composer.json: Operation not supported
php74  | setfacl: /var/www/html/.htaccess: Operation not supported
php74  | setfacl: /var/www/html/.idea: Operation not supported
php74  | setfacl: /var/www/html/.idea/inspectionProfiles: Operation not supported
php74  | setfacl: /var/www/html/.idea/inspectionProfiles/profiles_settings.xml: Operation not supported
php74  | setfacl: /var/www/html/.idea/futuready-id-mainwebsite.iml: Operation not supported
php74  | setfacl: /var/www/html/.idea/vcs.xml: Operation not supported
php74  | setfacl: /var/www/html/.idea/.gitignore: Operation not supported
php74  | setfacl: /var/www/html/.idea/workspace.xml: Operation not supported
php74  | setfacl: /var/www/html/.idea/modules.xml: Operation not supported
php74  | setfacl: /var/www/html/.idea/jsLinters: Operation not supported
php74  | setfacl: /var/www/html/.idea/jsLinters/jshint.xml: Operation not supported
php74  | setfacl: /var/www/html/.idea/misc.xml: Operation not supported
php74 exited with code 1

How to solve this?

ChristopheZOL commented 4 years ago

I assume you work on MacOS ? You can either override start.sh script to remove both instructions that appear to be useless after all, or used the 5.2 version

elcolie commented 4 years ago

5.2 has an installation problem

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la      modules/* libs/*
Could not download from "https://pecl.php.net/get/xdebug-2.9.4.tgz", cannot download "pecl/xdebug" (Connection to `ssl://pecl.php.net:443' failed: Connection timed out)
Error: cannot download "pecl/xdebug"
Download failed
install failed
find: '/proc/62111/task/62111/fd/6': No such file or directory
find: '/proc/62111/task/62111/fdinfo/6': No such file or directory
find: '/proc/62111/fd/5': No such file or directory
find: '/proc/62111/fdinfo/5': No such file or directory
usermod: group '1000' does not exist
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get update -qq && apt-get install -qqy     sudo     wget     git     apt-utils     acl     openssl     nano     htop     unzip     tzdata     netcat     iproute2     cron     libicu-dev     libzip-dev     libonig-dev     libmcrypt-dev     mariadb-client     libfreetype6-dev libjpeg-dev     apt-transport-https lsb-release ca-certificates     software-properties-common     libbz2-dev     && echo "Europe/Paris" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata     && echo 'alias ll="ls -lah --color=auto"' >> /etc/bash.bashrc     && docker-php-ext-configure intl     && docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/     && docker-php-ext-install        iconv        intl        pdo        pdo_mysql        mbstring        opcache        zip        gd        exif        bz2     && pecl install xdebug     && docker-php-ext-enable xdebug     && usermod -u 1000 www-data     && groupmod -g 1000 www-data     && find / -user 33 -exec chown -h 1000 {} \; || true     && find / -group 33 -exec chgrp -h 1000 {} \; || true     && usermod -g 1000 www-data' returned a non-zero code: 6

Yes, you are correct. I am using OSX 10.15.3

elcolie commented 4 years ago

@ChristopheZOL I can't build it again 5.0 I got the error since build ing process

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la      modules/* libs/*
No releases available for package "pecl.php.net/xdebug"
install failed
find: '/proc/62108/task/62108/fd/6': No such file or directory
find: '/proc/62108/task/62108/fdinfo/6': No such file or directory
find: '/proc/62108/fd/5': No such file or directory
find: '/proc/62108/fdinfo/5': No such file or directory
usermod: group '1000' does not exist
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get update -qq && apt-get install -qqy     sudo     wget     git     apt-utils     acl     openssl     nano     htop     unzip     tzdata     netcat     iproute2     cron     libicu-dev     libzip-dev     libonig-dev     libmcrypt-dev     mariadb-client     libfreetype6-dev libjpeg-dev     apt-transport-https lsb-release ca-certificates     software-properties-common     libbz2-dev     && echo "Europe/Paris" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata     && echo 'alias ll="ls -lah --color=auto"' >> /etc/bash.bashrc     && docker-php-ext-configure intl     && docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/     && docker-php-ext-install        iconv        intl        pdo        pdo_mysql        mbstring        opcache        zip        gd        exif        bz2     && pecl install xdebug     && docker-php-ext-enable xdebug     && usermod -u 1000 www-data     && groupmod -g 1000 www-data     && find / -user 33 -exec chown -h 1000 {} \; || true     && find / -group 33 -exec chgrp -h 1000 {} \; || true     && usermod -g 1000 www-data' returned a non-zero code: 6
ChristopheZOL commented 4 years ago

All of your building problems comes from the fact that xdebug is not available. I fail to reproduce this bug locally on both 5.0 and 5.2. Maybe it was only temporary.