FS#56566 - [php] 7.2.0-1 needs pkgrel bump to propagate changes removing 'php-mcrypt<=7.1' conflict.

Attached to Project: Arch Linux
Opened by David C. Rankin (drankinatty) - Monday, 04 December 2017, 14:36 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 05 December 2017, 18:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

php 7.2.0-1 needs pkgrel bump to propagate changes removing 'php-mcrypt<=7.1' conflict.

Addition of 'php-mcrypt<=7.1' conflict breaks php56 package. E.g.

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: php and php56-mcrypt are in conflict (php-mcrypt). Remove
php56-mcrypt? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: php and php56-mcrypt are in conflict (php-mcrypt<=7.1)

It is already fixed under the title "Remove useless conflict"

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/php&id=e1c14f1569f7da2fd0acf4738771be1eb1096f1d

But the $pkgrel was never changed from 1 - 2, meaning the fix isn't being propagated to the mirrors.

Pierre -- please help :)

This task depends upon

Closed by  Pierre Schmitz (Pierre)
Tuesday, 05 December 2017, 18:06 GMT
Reason for closing:  Fixed
Comment by Kevin Andrews (caffe1neadd1ct) - Tuesday, 05 December 2017, 15:40 GMT
Also hit this issue today while setting up a new development env.

wget https://git.archlinux.org/svntogit/packages.git/snapshot/packages-e1c14f1569f7da2fd0acf4738771be1eb1096f1d.tar.xz
tar -Jxf packages-e1c14f1569f7da2fd0acf4738771be1eb1096f1d.tar.xz
cd packages-e1c14f1569f7da2fd0acf4738771be1eb1096f1d/trunk/
makepkg -si --skippgpcheck

Successfully builds without pacman being aware of the mcrypt dep restriction. This now allows successful install of both php 7.2 and php 5.6 (from aur) again, waiting on the $pkgrel bump :)

Just wanted to leave these instructions here for others to be able to install for now.

From PHP.net: The mcrypt extension has been abandonware for nearly a decade now, and was also fairly complex to use. It has therefore been deprecated in favour of OpenSSL, where it will be removed from the core and into PECL in PHP 7.2.

So i can see why the restriction, however applications running on older versions of php still require this extension to be available.

Loading...