Bug 256687

Summary: x11/lightdm CONFLICTS_INSTALL = x11/sddm
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: Closed FIXED    
Severity: Affects Some People CC: adridg, desktop, kde, lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://forums.FreeBSD.org/threads/80561/post-517908
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256688

Description Graham Perrin freebsd_committer freebsd_triage 2021-06-18 08:33:17 UTC
From <https://forums.FreeBSD.org/threads/80561/post-517908>: 

root@mowa219-gjp4-8570p:~ # pkg install -n lightdm
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (3 conflicting)
  - lightdm-1.30.0_2 [FreeBSD] conflicts with sddm-0.19.0_1 [installed] on /usr/local/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
  - libglvnd-1.3.2 [FreeBSD] conflicts with mesa-libs-20.2.3 [installed] on /usr/local/include/EGL/egl.h
  - libglvnd-1.3.2 [poudriere] conflicts with mesa-libs-20.2.3 [installed] on /usr/local/include/EGL/egl.h
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        sddm: 0.19.0_1

New packages to be INSTALLED:
        lightdm: 1.30.0_2 [FreeBSD]

Number of packages to be removed: 1
Number of packages to be installed: 1

The operation will free 3 MiB.
root@mowa219-gjp4-8570p:~ # uname -KrU
14.0-CURRENT 1400021 1400021
root@mowa219-gjp4-8570p:~ #
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-06-28 08:01:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9399e65be9a94c93365d8f6f059ac9d4e097ce69

commit 9399e65be9a94c93365d8f6f059ac9d4e097ce69
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-06-28 07:57:38 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-06-28 08:00:24 +0000

    x11/{lightdm,sddm}: add CONFLICTS

    Both lightdm and sddm install the DBus file for DisplayManager,
            etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
    It doesn't really make sense to install multiple DMs on one
    machine, but for completeness in the ports framework, mark
    them as conflicting.

    PR:             256688 256687
    Reported by:    Graham Perrin

 x11/lightdm/Makefile | 4 +++-
 x11/sddm/Makefile    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)