Hello,
When trying to compile any php version on PhpSwitcher 5.0.2 on newest i-MSCP version installed within Ubuntu 16.04 or 18.04, I'm getting this kind of error:
Code
- I: forking: pbuilder execute --autocleanaptcache --configfile ./pbuilder/Ubuntu/.pbuilderrc --bindmounts '. /usr/local/src/phpswitcher/php-5.6.40 /opt/phpswitcher/20191001' --hookdir ./pbuilder/Ubuntu/hook.d --buildplace /var/cache/pbuilder/build/cow.21312 --mirror http://archive.ubuntu.com/ubuntu --distribution bionic --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.21312 cow-shell' ./pbuilder/make_wrapper.sh --directory /usr/local/src/phpswitcher/php-5.6.40 --makefile ./Makefile PREFIX=/opt/phpswitcher/20191001 PHP_QUILT_PATCH_DIR=./patches/5.6 BUILD_OPTIONS=parallel=5 clean install
- I: Running in no-targz mode
- I: copying local configuration
- I: mounting /proc filesystem
- I: mounting /sys filesystem
- I: creating /{dev,run}/shm
- I: mounting /dev/pts filesystem
- I: redirecting /dev/ptmx to /dev/pts/ptmx
- I: Mounting .
- I: Mounting /opt/phpswitcher/20191001
- I: Mounting /usr/local/src/phpswitcher/php-5.6.40
- I: installing dummy policy-rc.d
- I: Cleaning COW directory
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 5.6.40: W: --override-config is not set; not updating apt.conf Read the manpage for details.
- /usr/lib/pbuilder/pbuilder-modules: line 499: /var/cache/pbuilder/build/cow.21312/usr/sbin/policy-rc.d: No such file or directory
- E: Something (/var/cache/pbuilder/build/cow.21312/proc) is still mounted under /var/cache/pbuilder/build/cow.21312; unmount and remove /var/cache/pbuilder/build/cow.21312 manually
When I'm trying to install with --no-chroot:
Code
- [INFO] Executing the clean, install MAKE(1) target(s) for PHP 7.2.23...
- make: Entering directory '/usr/local/src/phpswitcher/php-7.2.23'
- make: Leaving directory '/usr/local/src/phpswitcher/php-7.2.23'
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 7.2.23: make: Makefile: No such file or directory
- make: *** No rule to make target 'Makefile'. Stop.
Those errors happens regardless of php version I'm trying to install.
What can be significant, both of installations where I've tried to run that, are proxmox hosted containers.
Can we do anything to pass that errors?