Solved Weirdness with cmake/cmake-modules post upgrade to 11.1

Long time listener, first time caller.

Anyhow, just upgraded a system from 10.2 to 11.1. While updating installed ports after the upgrade I've run into an issue that seems to have something to do with the now deprecated cmake-modules.

When I run postmaster -a I get:


Code:
===>>> Working on:

    cmake-3.8.2
    cmake-modules-3.8.2


===>>> Gathering distinfo list for installed ports

===>>> cmake-3.8.2 1/2

===>>> Currently installed version: cmake-3.8.2
===>>> Port directory: /usr/ports/devel/cmake

===>>> Launching 'make checksum' for devel/cmake in background
===>>> Gathering dependency list for devel/cmake from ports
===>>> Initial dependency check complete for devel/cmake

===>>> cmake-modules-3.8.2 2/2

===>>> The devel/cmake-modules port has been deleted: Merged with devel/cmake
===>>> Aborting update

===>>> Update for cmake-modules-3.8.2 failed
===>>> Aborting update

When I was attempting to update MariaDB I was getting a similar error:

Code:
===>>> Currently installed version: mariadb100-server-10.0.32
===>>> Port directory: /usr/ports/databases/mariadb100-server

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for databases/mariadb100-server in background
===>>> Gathering dependency list for databases/mariadb100-server from ports

===>>> The dependency for devel/cmake
      seems to be handled by cmake-modules-3.8.2

===>>> The devel/cmake-modules port has been deleted: Merged with devel/cmake
===>>> Aborting update

So I deinstalled it and installed a newer version (databases/mariadb102-server)from the port tree which worked fine.

Running postmaster -l indicates that cmake-modules-3.8.2 is installed and depended upon.

So, any thoughts on how to clean this up?
 
Running portsnap fetch update did not update devel/cmake.

Running portmaster cmake yields this:

Code:
===>>> Working on:
    cmake-3.8.2
    cmake-modules-3.8.2

===>>> Gathering distinfo list for installed ports

===>>> cmake-3.8.2 1/2

===>>> Currently installed version: cmake-3.8.2
===>>> Port directory: /usr/ports/devel/cmake

===>>> Launching 'make checksum' for devel/cmake in background
===>>> Gathering dependency list for devel/cmake from ports
===>>> Initial dependency check complete for devel/cmake

===>>> cmake-modules-3.8.2 2/2

===>>> The devel/cmake-modules port has been deleted: Merged with devel/cmake
===>>> Aborting update

===>>> Update for cmake-modules-3.8.2 failed
===>>> Aborting update
 
d'oh it was updated 72 minutes ago in SVN. My bad.

I just saw this in UPDATING and I think portsnap is out of step with SVN at this moment in time. Unfortunately I don't know how they relate to each other. I'd suggest trying again after a few hours.

20170914:
AFFECTS: users of CMake
AUTHOR: adridg@freebsd.org

The ports devel/cmake and devel/cmake-modules have been merged into
devel/cmake. The benefit of being able to update the modules without
the binary is outweighed by the issues caused by having the binary
out-of-sync with the modules.

All ports have been updated to depend only on CMake.
 
Wow, bad timing on my part to get caught in the middle of this. It's been driving me crazy for the last couple of hours.
 
I guess it's why I use SVN to checkout the ports tree and not portsnap, although it can still happen.

I also like the ability to lock onto a particular revision or even rollback a single port to a previous revision, while keeping the rest of the tree current (dangerous yes indeed).
 
Back
Top