Hi all,
I've a new vanilla setup based on debian 9 and imscp 1.5.3, all the setup went straightforward! Now I've a small problem compiling php version for the phpswitcher plugin. I'm thinking that the problem is caused by my LVM setup with these mount point:
Code
- Filesystem Size Used Avail Use% Mounted on
- udev 3.9G 0 3.9G 0% /dev
- tmpfs 799M 8.7M 791M 2% /run
- /dev/mapper/peta--vg-root 4.1G 3.0G 912M 77% /
- tmpfs 4.0G 0 4.0G 0% /dev/shm
- tmpfs 5.0M 0 5.0M 0% /run/lock
- tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
- /dev/mapper/peta--vg-www 1.8G 255M 1.5G 15% /var/www
- /dev/sda1 232M 37M 179M 18% /boot
- /dev/mapper/peta--vg-log 453M 22M 404M 6% /var/log
- /dev/mapper/peta--vg-mail 453M 2.3M 423M 1% /var/mail
- /dev/mapper/peta--vg-mysql 1.8G 192M 1.6G 12% /var/lib/mysql
- /dev/mapper/peta--vg-tmp 976M 2.6M 907M 1% /tmp
- /dev/mapper/peta--vg-chroot 976M 559M 350M 62% /var/chroot
- /dev/mapper/peta--vg-opt 453M 145M 281M 34% /opt
- /dev/mapper/peta--vg-pbuilder 976M 701M 209M 78% /var/cache/pbuilder
- tmpfs 4.0G 0 4.0G 0% /var/chroot/CronJobs/jail/dev/shm
- tmpfs 4.0G 0 4.0G 0% /var/chroot/InstantSSH/shared_jail/dev/shm
- //SMB/SMB-sub6 2.0T 1.6T 415G 80% /mnt/backup
- tmpfs 799M 0 799M 0% /run/user/0
then, when I launch the php_compiler.pl:
it stops with this error:
Code
- root@peta:/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler# perl php_compiler.pl --zts --packaged --register 7.3
- [INFO] Scanning PHP site for the PHP 7.3 sources...
- [INFO] Found PHP 7.3 sources at http://php.net/distributions/php-7.3.11.tar.gz
- [INFO] The PHP 7.3.11 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
- [INFO] Extracting the PHP 7.3.11 archive into /usr/local/src/phpswitcher/php-7.3.11 ...
- [INFO] Setup PHP build environment...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.31684
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.31684
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.31684/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder update --override-config --configfile ./pbuilder/Debian/.pbuilderrc --hookdir ./pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.31684 --mirror http://deb.debian.org/debian --distribution stretch --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget' --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.31684'
- I: Running in no-targz mode
- I: Upgrading for distribution stretch
- I: Current time: Wed Dec 4 07:47:29 CET 2019
- I: pbuilder-time-stamp: 1575442049
- I: copying local configuration
- I: Installing apt-lines
- 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: policy-rc.d already exists
- I: using eatmydata during job
- I: Refreshing the base.tgz
- I: upgrading packages
- Hit:1 http://cdn-fastly.deb.debian.org/debian-security stretch/updates InRelease
- Get:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
- Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
- Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
- Fetched 91.0 kB in 0s (103 kB/s)
- Reading package lists...
- I: Obtaining the cached apt archive contents
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.9).
- apt-utils is already the newest version (1.4.9).
- wget is already the newest version (1.18-5+deb9u3).
- aptitude is already the newest version (0.8.7-1).
- build-essential is already the newest version (12.3).
- ca-certificates is already the newest version (20161130+nmu1+deb9u1).
- devscripts is already the newest version (2.17.6+deb9u2).
- dpkg-dev is already the newest version (1.18.25).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: Copying back the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.31684/tmp/hooks/E10psw-install-extra-packages starting
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.9).
- apt-utils is already the newest version (1.4.9).
- wget is already the newest version (1.18-5+deb9u3).
- ca-certificates is already the newest version (20161130+nmu1+deb9u1).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- libfile-fcntllock-perl is already the newest version (0.22-3+b2).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.31684/tmp/hooks/E10psw-install-extra-packages finished
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: removing cowbuilder working copy
- I: Moving work directory [/var/cache/pbuilder/build/cow.31684] to final location [/var/cache/pbuilder/psw-debian-stretch.cow] and cleaning up old copy
- I: forking: rm -rf /var/cache/pbuilder/build/cow.31684-31684-tmp
- [INFO] Executing the clean, install MAKE(1) target(s) for PHP 7.3.11...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.32457
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.32457
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.32457/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder execute --autocleanaptcache --configfile ./pbuilder/Debian/.pbuilderrc --bindmounts '. /usr/local/src/phpswitcher/php-7.3.11 /opt/phpswitcher/20191204' --hookdir ./pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.32457 --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.32457 cow-shell' ./pbuilder/make_wrapper.sh --directory /usr/local/src/phpswitcher/php-7.3.11 --makefile ./Makefile PREFIX=/opt/phpswitcher/20191204 PHP_QUILT_PATCH_DIR=./patches/7.3 'BUILD_OPTIONS=parallel=9 zts' 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/20191204
- I: Mounting /usr/local/src/phpswitcher/php-7.3.11
- I: installing dummy policy-rc.d
- I: Cleaning COW directory
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 7.3.11: /usr/lib/pbuilder/pbuilder-modules: line 487: /var/cache/pbuilder/build/cow.32457/usr/sbin/policy-rc.d: No such file or directory
- E: Something (/var/cache/pbuilder/build/cow.32457/proc) is still mounted under /var/cache/pbuilder/build/cow.32457; unmount and remove /var/cache/pbuilder/build/cow.32457 manually
So i edited the file adding the creation of /usr/sbin on line 473
and now it stop suddenly after complaining about /tmp. The same thing happens with packaged versions and with every versions php (7.2, 7.3, ...)
Code
- [INFO] Scanning PHP site for the PHP 7.2 sources...
- [INFO] Found PHP 7.2 sources at http://php.net/distributions/php-7.2.24.tar.gz
- [INFO] The PHP 7.2.24 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
- [INFO] Extracting the PHP 7.2.24 archive into /usr/local/src/phpswitcher/php-7.2.24 ...
- [INFO] Setup PHP build environment...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.4194
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.4194
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.4194/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder update --override-config --configfile ./pbuilder/Debian/.pbuilderrc --hookdir ./pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.4194 --mirror http://deb.debian.org/debian --distribution stretch --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget' --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.4194'
- I: Running in no-targz mode
- I: Upgrading for distribution stretch
- I: Current time: Thu Dec 5 16:56:20 CET 2019
- I: pbuilder-time-stamp: 1575561380
- I: copying local configuration
- I: Installing apt-lines
- 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: policy-rc.d already exists
- I: using eatmydata during job
- I: Refreshing the base.tgz
- I: upgrading packages
- Get:1 http://cdn-fastly.deb.debian.org/debian-security stretch/updates InRelease [94.3 kB]
- Get:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
- Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
- Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
- Fetched 185 kB in 0s (212 kB/s)
- Reading package lists...
- I: Obtaining the cached apt archive contents
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.9).
- apt-utils is already the newest version (1.4.9).
- wget is already the newest version (1.18-5+deb9u3).
- aptitude is already the newest version (0.8.7-1).
- build-essential is already the newest version (12.3).
- ca-certificates is already the newest version (20161130+nmu1+deb9u1).
- devscripts is already the newest version (2.17.6+deb9u2).
- dpkg-dev is already the newest version (1.18.25).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: Copying back the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.4194/tmp/hooks/E10psw-install-extra-packages starting
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.9).
- apt-utils is already the newest version (1.4.9).
- wget is already the newest version (1.18-5+deb9u3).
- ca-certificates is already the newest version (20161130+nmu1+deb9u1).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- libfile-fcntllock-perl is already the newest version (0.22-3+b2).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.4194/tmp/hooks/E10psw-install-extra-packages finished
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: removing cowbuilder working copy
- I: Moving work directory [/var/cache/pbuilder/build/cow.4194] to final location [/var/cache/pbuilder/psw-debian-stretch.cow] and cleaning up old copy
- I: forking: rm -rf /var/cache/pbuilder/build/cow.4194-4194-tmp
- [INFO] Executing the clean, install MAKE(1) target(s) for PHP 7.2.24...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.4967
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.4967
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.4967/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder execute --autocleanaptcache --configfile ./pbuilder/Debian/.pbuilderrc --bindmounts '. /usr/local/src/phpswitcher/php-7.2.24 /opt/phpswitcher/20191205' --hookdir ./pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.4967 --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.4967 cow-shell' ./pbuilder/make_wrapper.sh --directory /usr/local/src/phpswitcher/php-7.2.24 --makefile ./Makefile PREFIX=/opt/phpswitcher/20191205 PHP_QUILT_PATCH_DIR=./patches/7.2 'BUILD_OPTIONS=parallel=9 zts' 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/20191205
- I: Mounting /usr/local/src/phpswitcher/php-7.2.24
- I: policy-rc.d already exists
- I: Cleaning COW directory
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 7.2.24: ln: failed to create symbolic link '/var/cache/pbuilder/build/cow.4967/tmp/buildd': No such file or directory
- E: Something (/var/cache/pbuilder/build/cow.4967/proc) is still mounted under /var/cache/pbuilder/build/cow.4967; unmount and remove /var/cache/pbuilder/build/cow.4967 manually
- root@peta:/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler#
Do you have any idea?
thank you in advance!