Bug 258803 - www/mod_php74 should conflict with mod_php80
Summary: www/mod_php74 should conflict with mod_php80
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Torsten Zuehlsdorff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 09:54 UTC by Einar Bjarni Halldórsson
Modified: 2022-12-25 20:10 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (tz)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Bjarni Halldórsson 2021-09-30 09:54:31 UTC
Currently mod_php74 has:

Conflicts:
    CONFLICTS:

        php71-*
        php72-*
        php73-*

It doesn't conflict with php80.

$ pkg info|grep php
mod_php74-7.4.24               PHP Scripting Language
mod_php80-8.0.11               PHP Scripting Language
php80-8.0.11                   PHP Scripting Language

$ sudo service apache24 start
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
Segmentation fault (core dumped)
/usr/local/etc/rc.d/apache24: WARNING: failed to start apache24
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-09-30 19:37:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1eeec1bd06b608d58ef7ee52471883e0c49fa96a

commit 1eeec1bd06b608d58ef7ee52471883e0c49fa96a
Author:     Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2021-09-30 19:32:17 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2021-09-30 19:36:22 +0000

    lang/php7*: adjust CONFLICTS to new versions

    PHP 7.3 conflicted with versions no longer in the ports-tree. Remove this conflicts.
    PHP 7.3 and 7.4 did not conflict with PHP 8.0. Add the missing conflict.

    PR:             258803
    Reported by:    Einar Bjarni Halldórsson <einar@isnic.is>
    Sponsored by:   Bounce Experts

 lang/php73/Makefile | 2 +-
 lang/php74/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 2 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2021-09-30 19:39:49 UTC
I added the missing CONFLICTS to PHP 7.3 and 7.4. But it seems that you can install the mod_php* ports anyway, because they do not pull PHP itself in. Which is at least as intended when the port was created. Maybe we need additional CONFLICTS for the mod_php* ports here. But as far as i know it is fine to have multiple modules in parallel.
Comment 3 mark burdett 2021-12-06 19:20:46 UTC
Currently www/mod_php80 is installed as libphp.so so presumably it would conflict with www/mod_php81 when that is created.