Bug 240159 - mail/postfixadmin: Use PHP flavours, not explicitly/directly on php72
Summary: mail/postfixadmin: Use PHP flavours, not explicitly/directly on php72
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 06:48 UTC by Benoit SAGE
Modified: 2019-08-29 09:58 UTC (History)
2 users (show)

See Also:
ports.maintainer: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit SAGE 2019-08-28 06:48:37 UTC
Hello,

An verry annoying problem, when installed from port collection postfix admin depend explicitly from php72 and not the flavour, the result is a complete desinstallation of all the other port/pkg depending of php73 and the extentions :
[...]
Checking integrity... done (9 conflicting)

php72-session-7.2.21 [Synth] conflicts with php73-session-7.3.8 [installed] on /usr/local/include/php/ext/session/php_session.h
php72-7.2.21 [Synth] conflicts with php73-7.3.8 [installed] on /usr/local/bin/php
php72-openssl-7.2.21 [Synth] conflicts with php73-openssl-7.3.8 [installed] on /usr/local/include/php/ext/openssl/config.h
php72-xmlrpc-7.2.21 [Synth] conflicts with php73-xmlrpc-7.3.8 [installed] on /usr/local/include/php/ext/xmlrpc/libxmlrpc/xmlrpc_private.h
php72-xml-7.2.21 [Synth] conflicts with php73-xml-7.3.8 [installed] on /usr/local/include/php/ext/xml/php_xml.h
php72-pgsql-7.2.21 [Synth] conflicts with php73-pgsql-7.3.8 [installed] on /usr/local/include/php/ext/pgsql/php_pgsql.h
php72-mbstring-7.2.21 [Synth] conflicts with php73-mbstring-7.3.8 [installed] on /usr/local/include/php/ext/mbstring/php_mbregex.h
php72-phar-7.2.21 [Synth] conflicts with php73-phar-7.3.8 [installed] on /usr/local/include/php/ext/phar/func_interceptors.h
php72-hash-7.2.21 [Synth] conflicts with php73-hash-7.3.8 [installed] on /usr/local/include/php/ext/hash/php_hash_crc32_tables.h
Checking integrity... done (0 conflicting)
The following 106 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
php73-xmlrpc-7.3.8
php73-xml-7.3.8
php73-7.3.8
php73-gettext-7.3.8
php73-extensions-1.0
php73-tidy-7.3.8
php73-session-7.3.8
php73-wddx-7.3.8
roundcube-php73-1.3.9,1
php73-dom-7.3.8
php73-xmlreader-7.3.8
[...]

postfixadmin installed from git working fine with php73 can you please honor flavours in the future release.

Regards
Comment 1 Mel Pilgrim 2019-08-29 01:50:45 UTC
This is a consequence of Ports Collection's default versions system.  Ports like postfixadmin don't hardcode a version, but instead have Ports system itself to determine the version to use.  If you don't want to use the current system-wide default of PHP 7.2, you'll need to set DEFAULT_VERSIONS in make.conf and rebuild every port you have installed that uses PHP.