Bug 266323 - devel/cmake-core: conflicts with cmake-3.23.3 (installs files into the same place)
Summary: devel/cmake-core: conflicts with cmake-3.23.3 (installs files into the same p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-09 16:45 UTC by dougs@dawnsign.com
Modified: 2022-09-10 07:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dougs@dawnsign.com 2022-09-09 16:45:52 UTC
When attempting to update ports using portmaster this morning, ran into this:


-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/vim/vimfiles/syntax/cmake.vim
-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/emacs/site-lisp/cmake-mode.el
-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/aclocal/cmake.m4
-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/bash-completion/completions/cmake
-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/bash-completion/completions/cpack
-- Installing: /usr/ports/devel/cmake-core/work/stage/usr/local/share/bash-completion/completions/ctest
install  -m 0644 /usr/ports/devel/cmake-core/work/cmake-3.23.3/Auxiliary/cmake-mode.el /usr/ports/devel/cmake-core/work/stage/usr/local/share/emacs/site-lisp
====> Compressing man pages (compress-man)
===>  Installing for cmake-core-3.23.3
===>  Checking if cmake-core is already installed
===>   Registering installation for cmake-core-3.23.3
Installing cmake-core-3.23.3...
pkg-static: cmake-core-3.23.3 conflicts with cmake-3.23.3 (installs files into the same place).  Problematic file: /usr/local/bin/ccmake
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/cmake-core
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cmake-core
[root@example 09.Sep 9:29am /usr/ports/devel/cmake-core]# 


Running FreeBSD example.example.com 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC amd64

There's no recent entries in /usr/ports/UPDATING related to this.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-09-10 05:38:48 UTC
Hi,

Please see https://reviews.freebsd.org/D36512

Best regards,
Daniel
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-09-10 07:05:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e9119f80d1c56b93aab218dab49f6a4eead6843

commit 6e9119f80d1c56b93aab218dab49f6a4eead6843
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-09-10 06:58:01 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-09-10 07:04:34 +0000

    UPDATING: Add entry for devel/cmake

    Installing devel/cmake-core or devel/cmake-man results in conflicts
    if system already have devel/cmake installed prior to this change

    PR:             266323
    Reported by:    se, dougs@dawnsign.com
    Approved by:    kde (tcberner)
    Differential Revision:  https://reviews.freebsd.org/D36512

 UPDATING | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-09-10 07:05:57 UTC
Entry added, thanks for reporting!